Error
- Type: object · API Errordeprecated
Deprecated alias for the current error response schema.
- messageType: stringmax length:40000required
A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
- typeType: stringenumrequired
The type of error returned.
values- api
_error The request could not be processed because of an internal Paypercut or upstream issue.
- card
_error A payment attempt failed because of card, issuer, network, or authentication behavior.
- idempotency
_error The request conflicts with an earlier request made with the same idempotency key.
- invalid
_request _error The request is malformed, contains invalid parameters, or cannot be processed in its current state.
- adviceType: string
_code max length:5000For card errors resulting from an issuer decline, a short string indicating how to proceed if advice is available.
- checkout
_session - codeType: string | nullmax length:5000
For some errors that can be handled programmatically, a short string indicating the error reported.
- declineType: string
_code max length:5000For card errors resulting from an issuer decline, a short string indicating the issuer's reason if one is available.
- networkType: string
_advice _code max length:5000For card errors resulting from an issuer decline, a network-provided advice code when available.
- networkType: string
_decline _code max length:5000For payments declined by the network, an alphanumeric code indicating the reason the payment failed.
- nextType: object
_action Describes a recoverable action the client can take after receiving this error. The exact fields depend on the action type.
- paramType: stringmax length:5000
If the error is parameter-specific, the parameter related to the error.
- traceType: string
_id max length:5000Trace ID of the request, which can be used to reference the failed request in support conversations.
- violationType: string
_code max length:5000For some validation errors, a short string indicating the specific rule violation.

