Skip to main content
The Failure object contains failure codes which indicate why a payment has failed.

Properties

FieldTypeDescription
failureCodestringPaymend-defined code indicating the reason for failure.
providerFailureCodestringOptional provider-defined code indicating the reason for failure.
Details provided in the failure object can help you optimise your retrial strategy. The failureCode field aggregates provider responses so that you can base your internal logic on a single field. For card payments, we will pass the ISO-format code in providerFailureCode whenever it is received from our providers.