Skip to main content

Get Minimum Amount

GET
/payments/min-amount/

Returns the minimum and maximum payment amounts for a specific cryptocurrency.

Authentication

Requires OAuth 2.0 authentication with read and write scopes.

Query Parameters

ParameterTypeRequiredDescription
currency requiredstringYesThe combined currency code (e.g., "USDTTRC20", "BTC", "ETH")

Example Request

curl -X GET "{{BASE_URL}}/payments/min-amount/?currency=USDTTRC20" \
-H "Authorization: Bearer your_access_token"

Response

Success Response (200 OK)

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

Response Fields

FieldTypeDescription
currencystringThe combined currency code
min_amountfloatMinimum payment amount for this currency
max_amountfloatMaximum payment amount for this currency
blockchainstringThe blockchain network
tokenstringThe token symbol

Error Responses

400 Bad Request

{
"error": {
"code": "invalid_request",
"message": "Missing required currency parameter"
}
}

400 Invalid Currency

{
"error": {
"code": "invalid_currency",
"message": "The specified currency is not supported or limits not configured"
}
}

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.

Related Endpoints