- Getting Started
- Payments and Withdrawals
- Callbacks
- Address validation
- Rates and metadata
Fetch business by ID
GET
/api/v1/businesses/{businessId}
Click on Businesses > Expand Business > Top left corner.
Request
Authorization
Add parameter in header
FRX-API
Example:
FRX-API: ********************
Path Params
businessId
string <uuid>
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://payments.finrax.com/api/v1/businesses/' \
--header 'FRX-API;'
Responses
🟢200Returns the business with the specified ID.
application/json
Body
id
string <uuid>
required
name
stringÂ
required
depositReceivedCallbackUrl
stringÂ
optional
depositExchangedCallbackUrl
stringÂ
deprecated
withdrawalCallbackUrl
stringÂ
optional
withdrawalApprovalCallbackUrl
stringÂ
optional
theme
stringÂ
deprecated
supportedDisplayCurrencies
array[string]
required
Allowed values:
AEDARSAUDBDTBGNBRLCADCHFCLPCNYCZKDKKEURGBPHKDHRKHUFIDRILSINRISKJPYKESKRWMXNMYRNGNNOKNZDPENPHPPLNQARRONRUBSEKSGDTHBTRYUSDVNDZAR
supportedDepositCurrencies
array[string]
required
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
settlementCryptoRatio
stringÂ
required
settlementCryptoCurrency
enum<string>Â
required
Allowed values:
BTCUSDCUSDT
settlementFiatCurrency
enum<string>Â
required
Allowed values:
EURGBPUSD
overpaymentPolicy
enum<string>Â
required
Allowed values:
PROCESSEXCESS_REFUND
refundFollowUpDepositsForOneTimePayments
booleanÂ
required
userServiceFeeDistributionPercentage
stringÂ
required
createdAt
integer <int64>
required
Example
{
"id": "c95fc88b-5aba-4fec-a4df-c6834f304464",
"name": "Test Business",
"depositReceivedCallbackUrl": "https://example.com/test",
"depositExchangedCallbackUrl": "https://example.com/test",
"withdrawalCallbackUrl": "https://example.com/test",
"theme": "LIGHT",
"supportedDepositCurrencies": [
"XRP",
"BTC",
"ETH",
"XLM",
"LTC",
"BCH"
],
"supportedDisplayCurrencies": [
"EUR",
"USD",
"TRY"
],
"settlementCryptoRatio": "0.25",
"settlementCryptoCurrency": "USDT",
"settlementFiatCurrency": "EUR",
"overpaymentPolicy": "EXCESS_REFUND",
"refundFollowUpDepositsForOneTimePayments": true,
"userServiceFeeDistributionPercentage": "0.00",
"createdAt": 1692879143
}
🟠404Business with the specified ID doesn't exist.
Modified at 2024-07-24 14:04:47