Finrax API
HomeChangelogIntegration GuideResources
HomeChangelogIntegration GuideResources
  1. Payments and Withdrawals
  • Getting Started
    • Introduction
    • Environments
    • Errors
    • Authorization
      • API Key Management
      • Signature
      • Code Snippets
  • Payments and Withdrawals
    • Crypto Payments
      • Fetch payment by ID
      • 🔒Fetch payments
      • Submit crypto payment
      • Request crypto payment
    • Fetch withdrawals
      GET
    • Fetch withdrawal metadata
      GET
    • Request crypto withdrawal
      POST
    • Fetch whitelisted addresses
      GET
    • Whitelist an address
      POST
    • Fetch crypto withdrawal approval by ID
      GET
    • Fetch business by ID
      GET
    • Fetch business balance
      GET
    • Unwhitelist an address
      DELETE
  • Callbacks
    • Deposit received notification
    • Withdrawal broadcast notification
    • Withdrawal approved/rejected notification
  • Address validation
    • Validate address
      GET
    • Validate address and destination tag
      GET
  • Rates and metadata
    • Fetch market rates
      GET
    • Fetch fiat rates
      GET
    • Fetch deposit rates
      GET
    • Fetch all currencies
      GET
  1. Payments and Withdrawals

Fetch business by ID

GET
/api/v1/businesses/{businessId}
Fetch business by ID. You can locate the BusinessID in your organisation account.
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
The business ID to search by.

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
Business ID.
name
string 
required
Business name.
depositReceivedCallbackUrl
string 
optional
URL endpoint to receive callback notifications at broadcast/receive time.
depositExchangedCallbackUrl
string 
deprecated
URL endpoint to receive callback notifications at exchange time.
withdrawalCallbackUrl
string 
optional
URL endpoint to receive callbacks at withdrawal completion time.
withdrawalApprovalCallbackUrl
string 
optional
URL endpoint to receive callbacks at withdrawal approval/rejection time.
theme
string 
deprecated
Theme of the checkout page.
supportedDisplayCurrencies
array[string]
required
All supported fiat currencies.
Allowed values:
AEDARSAUDBDTBGNBRLCADCHFCLPCNYCZKDKKEURGBPHKDHRKHUFIDRILSINRISKJPYKESKRWMXNMYRNGNNOKNZDPENPHPPLNQARRONRUBSEKSGDTHBTRYUSDVNDZAR
supportedDepositCurrencies
array[string]
required
All supported cryptocurrencies.
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
settlementCryptoRatio
string 
required
Crypto settlement balance to whole balance ratio used for deposit allocation.
settlementCryptoCurrency
enum<string> 
required
Cryptocurrency for settlements.
Allowed values:
BTCUSDCUSDT
settlementFiatCurrency
enum<string> 
required
Fiat currency for settlements.
Allowed values:
EURGBPUSD
overpaymentPolicy
enum<string> 
required
The policy to be applied in case of overpayment.
Allowed values:
PROCESSEXCESS_REFUND
refundFollowUpDepositsForOneTimePayments
boolean 
required
Payment configuration if follow-up deposits should be refunded.
userServiceFeeDistributionPercentage
string 
required
The service fee percentage that is taken from the user.
createdAt
integer <int64>
required
UNIX seconds at which the business got created.
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
Previous
Fetch crypto withdrawal approval by ID
Next
Fetch business balance
Built with