HTTP Status Codes

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 codeDescription
200 OKStandard response for successful HTTP requests. The actual response will depend on the request method used.
201 CreatedA new resource was created, and a response body containing a representation of the new resource is being returned.
400 Bad RequestThe request could not be processed because it contains missing or invalid information.
401 UnauthorizedAuthentication has failed or not provided.
403 ForbiddenThe server recognized your credentials, but you are not authorized to perform the request.
404 Not FoundThe requested resource could not be found.
405 Method Not AllowedA request was made for a resource using a request method not supported by that resource.
406 Not AcceptableThe requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.