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
| Parameter | Type | Required | Description |
|---|---|---|---|
currency required | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
currency | string | The combined currency code |
min_amount | float | Minimum payment amount for this currency |
max_amount | float | Maximum payment amount for this currency |
blockchain | string | The blockchain network |
token | string | The 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.