Errors

Paymagic APIs uses conventional HTTP response codes to indicate the success or failure of an API request.
As a general rule:
  • Codes in the 2xx range indicate success
  • Codes in the 4xx range indicate incorrect or incomplete requests, like invalid paths, incorrect auth, or incorrect parameters for the request.
  • Codes in the 5xx range indicate an error in the WaaS server.