Ir al contenido
CoinsSendDesarrolladores
Documentación de Payments

Merchant API

Ver MarkdownConfigurar agente

Esta página aún no está disponible en tu idioma.

This document describes endpoints related to merchant account management, balances, and statistics.

Retrieves the current cryptocurrency balances for a merchant, including available and frozen amounts with USD conversions.

GET /v1/merchants/balances
NameRequiredDescription
Content-TypeYesMust be application/json
MerchantYesYour merchant ID
SignYesRequest signature (see Authentication)
{
"status": "success",
"data": {
"total_balance_usd": "62.2798",
"total_frozen_balance_usd": "0.0000",
"total_available_balance_usd": "62.2798",
"balances": [
{
"network": "tron",
"coin": "usdt",
"balance": "7.85938000",
"available_balance": "7.85938000",
"frozen_balance": "0.00000000",
"coin_exchange_frozen_balance": "0.00000000",
"usd_rate": "1.0003677165865",
"usd_value": "7.8623",
"frozen_usd_value": "0.0000",
"coin_exchange_frozen_usd_value": "0.0000",
"available_usd_value": "7.8623"
},
{
"network": "bsc",
"coin": "usdt",
"balance": "4.45500000",
"available_balance": "4.45500000",
"frozen_balance": "0.00000000",
"coin_exchange_frozen_balance": "0.00000000",
"usd_rate": "1.0003677165865",
"usd_value": "4.4566",
"frozen_usd_value": "0.0000",
"coin_exchange_frozen_usd_value": "0.0000",
"available_usd_value": "4.4566"
}
]
}
}
FieldTypeDescription
total_balance_usdstringTotal balance across all coins and networks converted to USD
total_frozen_balance_usdstringTotal frozen balance across all coins and networks converted to USD
total_available_balance_usdstringTotal available balance (total - frozen) across all coins and networks converted to USD
balancesarrayArray of balance objects for each coin/network combination
balances[].networkstringBlockchain network (e.g., “tron”, “bsc”)
balances[].coinstringCryptocurrency symbol (e.g., “usdt”, “usdc”)
balances[].balancestringTotal balance in human-readable format
balances[].available_balancestringAvailable balance in human-readable format (total - frozen)
balances[].frozen_balancestringFrozen balance in human-readable format (funds that cannot be withdrawn yet)
balances[].coin_exchange_frozen_balancestringAmount reserved for in-progress exchanges
balances[].usd_ratestringCurrent USD exchange rate for this coin
balances[].usd_valuestringTotal balance converted to USD
balances[].frozen_usd_valuestringFrozen balance converted to USD
balances[].coin_exchange_frozen_usd_valuestringExchange-reserved balance converted to USD
balances[].available_usd_valuestringAvailable balance converted to USD
  • Frozen balances represent funds from recently received deposits that are on hold for 24 hours. This hold period is necessary for Anti-Money Laundering (AML) compliance checks and to prevent fraudulent transactions.
  • coin_exchange_frozen_balance reflects funds currently locked by automatic exchange jobs. They are excluded from available_balance until processing completes.
  • Available balance is the portion that can be withdrawn immediately (balance - frozen_balance - coin_exchange_frozen_balance).
  • USD values are calculated using current exchange rates.
  • The response may include zeroed entries for supported coins/networks even when no historical balance exists, allowing frontends to render consistent tables.

Returns the current fee settings for your merchant account.

GET /v1/merchants/fees
NameRequiredDescription
Content-TypeYesMust be application/json
MerchantYesYour merchant ID
SignYesRequest signature (see Authentication)
{
"status": "success",
"data": {
"service_fee_percent": "2.5",
"static_wallet_fee_percent": "1.0",
"withdrawal_fee_percent": "1.5",
"pay_withdrawal_service_fee": true,
"pay_withdrawal_network_fee": true,
"is_auto_exchange": false,
"auto_exchange_coin": null,
"auto_exchange_network": null,
"auto_exchange_min_usd_amount": null,
"invoice_underpayment_percent": "1.0000",
"invoice_underpayment_max_amount": null,
"invoice_underpayment_max_currency": null,
"network_fees": [
{
"network": "tron",
"coin": "usdt",
"network_fee": "1"
}
]
}
}
FieldTypeDescription
service_fee_percentstringFee percentage applied to invoice payments
static_wallet_fee_percentstringFee percentage for static wallet deposits
withdrawal_fee_percentstringFee percentage for withdrawals
pay_withdrawal_service_feebooleanWhether merchant pays the service fee when withdrawing
pay_withdrawal_network_feebooleanWhether merchant pays the network fee when withdrawing
is_auto_exchangebooleanWhether automatic exchange is enabled for new deposits
auto_exchange_coinstringnullTarget coin used for automatic exchanges when enabled
auto_exchange_networkstringnullTarget network for automatic exchanges when enabled
auto_exchange_min_usd_amountstringnullMinimum USD amount required to trigger an automatic exchange
invoice_underpayment_percentstringAllowed underpayment percentage between 0 and 90 as a decimal. Both 12.2 and 12,2 mean 12.2%
invoice_underpayment_max_amountstringMaximum underpayment amount in USD (e.g., 1.1 or 1,1 means 1.1 USD)
invoice_underpayment_max_currencystringCurrency of the maximum underpayment amount. Only USD is allowed and it defaults to this value when omitted.
network_feesarrayList of supported coins and their network fees

invoice_underpayment_max_amount may only be provided when invoice_underpayment_percent is included in the request. The currency is always USD and defaults to this value if omitted.