This section contains the common error codes for the i-payout APIs. i-payout uses standard HTTP response codes to indicate a request's success or error.
Codes in the 200 range indicate success, codes in the 400 range indicate some error with the information provided (e.g., missing parameter), and codes in the 500 range indicate some sort of internal error.
Example
{
"isSuccess": true,
"message": "string",
"statusCode": 0,
"logIdentifier": "string",
"data": {
"merchantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"token": "string",
"expireInMinutes": 0
}
}
Response status
HTTP status code | Description |
---|---|
200 OK | Standard response for successful HTTP requests. The actual response will depend on the request method used. |
201 Created | A new resource was created, and a response body containing a representation of the new resource is being returned. |
400 Bad Request | The request could not be processed because it contains missing or invalid information. |
401 Unauthorized | Authentication has failed or not provided. |
403 Forbidden | The server recognized your credentials, but you are not authorized to perform the request. |
404 Not Found | The requested resource could not be found. |
405 Method Not Allowed | A request was made for a resource using a request method not supported by that resource. |
406 Not Acceptable | The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request. |