The Payment API uses the conventional HTTP status codes to indicate success or failure of an API request.
HTTP STATUS CODES | DESCRIPTION |
---|---|
200-299 | The request was processed successfully. |
400-499 | The request was not valid (e.g. a required parameter was missing). |
500-599 | The request could not be processed for an unexpected reason. |
The endpoints can return the following errors
HTTP STATUS CODES | DESCRIPTION |
---|---|
200 OK | The request succeeded. |
201 Created | A POST request successfully created an object. |
400 Bad Request | The request is invalid. |
401 Unauthorized | Invalid client credentials were passed in the Authorization header. |
404 Not Found | The resource with given identifier could not be found. |
500 Internal Server Error | We had a problem with our server. Try again later. |
503 Service Unavailable | We're temporarily offline for maintenance. Please try again later. |