PayNow

PayNowError

Represents a PayNow error

codestringRequired
The PayNow parseable error code.
messagestringRequired
The human-readable error message.
statusintegerRequired
The HTTP status code.
errorsValidationError[]Optional
An array of multiple errors. Only used by some API services.
codestringRequired
The parseable error code.
messagestringRequired
The human-readable error message.
pathstringRequired
The path leading to the validation error.
validationstringRequired
Type of the validation that failed.
trace_idstringOptional
A distributed trace ID used for debugging.
Example
{
  "code": "bad-request",
  "message": "Bad Request Example",
  "status": 400,
  "trace_id": "234a5bcd543ef3fa53ce929d0e0e4736",
  "errors": [
    {
      "code": "string",
      "message": "string",
      "path": "string",
      "validation": "string"
    }
  ]
}