API Responses
HTTP Status Code
200 -
OK
- Request processed as expected.400 -
INVALID_REQUEST
- Request is not well-formed, violates schema or incorrect fields.401 -
NOT_AUTHORIZED
- The API key doesn't match the signature or doesn't have permissions to perform the request.403 -
FORBIDDEN
- The API key's permissions doesn't match the needed permission to complete the request.404 -
RESOURCE_NOT_FOUND
- The requested resource doesn't exist.429 -
RATE_LIMIT_REACHED
- Too many requests. Blocked due to rate limiting.5XX - Something went wrong on ToPay's end
API Error Codes
Error Code | Constant | Desc |
---|---|---|
406 | SIGN_ERROR | |
412 | WRONG_TIMESTAMP_OR_NONCE | |
5004 | USER_STATUS_INVALID | |
7000 | ORDER_NOT_EXIST | |
7002 | CURRENCY_NOT_SUPPORT | |
202206 | QUOTA_MIN_CHECK_FAIL | |
202211 | UNSUPPORTED_CURRENCY | |
202224 | DOUBLE_PAYMENT | |
202203 | INSUFFICIENT_BALANCE | |
202212 | ORDER_AMOUNT_MUST_MORE_THAN_SERVICE_FEE | |
2204002 | NO_SPECIFIED_FEE_RULE | |
206003 | PAYOUT_METHOD_INVALID | Please check your request parameters: country, payout_method, bankcode, walletcode |
Last updated