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
| Parameter | Type | Description |
|---|---|---|
| currency required | string | The cryptocurrency code (e.g., "USDTTRC20", "BTC", "ETH") |
Example Request
GET /payments/min-amount/?currency=USDTTRC20
Authorization: Bearer your_oauth_token_here
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| currency | string | The cryptocurrency code |
| min_amount | number | Minimum amount allowed for this currency |
| max_amount | number | Maximum amount allowed for this currency |
| blockchain | string | The blockchain network |
| token | string | The token symbol |
Example Response
{
"currency": "USDTTRC20",
"min_amount": 10.0,
"max_amount": 10000.0,
"blockchain": "TRX",
"token": "USDT"
}
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 400 | invalid_request | Missing required currency parameter |
| 400 | invalid_currency | The specified currency is not supported or limits not configured |
| 401 | authentication_failed | Authentication failed |
| 500 | internal_error | Server 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.