Errors

The SecretPay API uses the following error codes:


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

Updated over 0 months Ago