Skip to main content

Get Minimum Amount

GET
/payments/min-amount/

Returns the minimum payment amount required for a specific cryptocurrency.

Authentication

This endpoint requires OAuth 2.0 authentication with read and write scopes.

Query Parameters

ParameterTypeDescription
currency requiredstringThe cryptocurrency code (e.g., "USDTTRC20", "BTC", "ETH")

Example Request

GET /payments/min-amount/?currency=USDTTRC20
Authorization: Bearer your_oauth_token_here

Response Parameters

ParameterTypeDescription
currencystringThe cryptocurrency code
min_amountnumberMinimum amount allowed for this currency
max_amountnumberMaximum amount allowed for this currency
blockchainstringThe blockchain network
tokenstringThe token symbol

Example Response

{
"currency": "USDTTRC20",
"min_amount": 10.0,
"max_amount": 10000.0,
"blockchain": "TRX",
"token": "USDT"
}

Error Codes

Status CodeError CodeDescription
400invalid_requestMissing required currency parameter
400invalid_currencyThe specified currency is not supported or limits not configured
401authentication_failedAuthentication failed
500internal_errorServer error

Notes

  • Always check the minimum amount before creating a payment to ensure the amount meets requirements.
  • The min/max amounts are configured per currency and may change.
  • If limits are not configured for a currency, an error will be returned.