Skip to main content
RexPay uses conventional HTTP response codes to indicate the success or failure of an API request. Generally,
  • 2xx Codes indicate success.
  • 4xx Codes indicate an error due to the details provided
  • 5xx Codes indicate an error with our servers, these aren’t common.

HTTPS Codes

CodeMeaningExplanationHow to Resolve
200OKSuccessful API request
400Bad RequestThe request was not accepted, often due to missing a required parameterVerify inputs details and include missing or wrong parameter
401UnauthorizedUnauthorised access to resourceCheck your authentication details for errors. Confirm your access tothe information you want to retrieve
402Request FailedThe parameters were valid but the request failed.
403ForbiddenThe API key doesn’t have permissions to perform the request.
404Not FoundThe requested resource doesn’t exist.

Next Steps