Errors
Paynetics system incorporates the API result in the following format:
HTTP Response code — is always 200 OK. This indicates that your request has successfully reached our servers.
Detailed error codes can be found in the JSON Response body. Example: { "code": 0 } = SUCCESS.
Attributes
code
integer
required
All API responses come with a code attribute in the body. 0 means success — non-zero values indicate the reason a request was declined.
message
string
In addition to the code, Paynetics provides a human-readable description of the error that occurred.
The full list of codes returned by the API is shown in the JSON general code summary on the right.