Docs
Response Codes

Response codes

Zipay uses standard HTTP response codes to show if an API request was successful or not. Generally:

  • Codes in the 2xx range mean the request was successful.
  • Codes in the 4xx range mean there was an error due to the information provided.
  • Codes in the 5xx range mean there was a problem with Zipay's servers (these are rare).

Some 4xx errors include a code that briefly explains the error, which can be handled programmatically.

Status code

CodeDescription
200, 201 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid token provided.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe token doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist.
405 - Method Not AllowedThe resource does not have the specified method. (e.g. PUT on transmissions).
409 - ConflictThe request conflicts with another request (perhaps due to using the same idempotent key).
422 - Unprocessable EntitySending unrecognized properties as well or unknown data.
429 - Too Many RequestsToo many requests hit the API too quickly. We recommend an exponential backoff of your requests.
500, 502, 503, 504 - Server ErrorsSomething went wrong on Purwantara's end. (These are rare).