The SecretPay API uses the following error codes:
ErrorCode | Meaning | Example |
---|---|---|
400 | StatusBadRequest | (Optional) -Invalid content type - Invalid authorised - Invalid auth username - Invalid auth key - Invalid API key - API token expired - Input Invalid - ... ... |
401 | StatusUnauthorized | (Optional) - Permission not allowed (IP whitelist) - Inaccessible - ... ... |
403 | StatusForbidden | (Optional) - V - Signed - Invalid authorised - Exceeded call limit (API call limitation) - Bank unavailable - Transaction amount exceeded limitation - ... ... |
404 | StatusNotFound | (Optional) - Input Invalid - Record not found - ... ... |
409 | StatusConflict | (Optional) - Refer code is duplicated please try with different refer code - ... ... |
503 | StatusServiceUnavailable | (Optional) - Bank currently unavailable -Server under maintenance - ... ... |