Skip to main content
A transaction’s error_code value can be null (for successful transactions) or one of the following for failed and declined transactions.

Core failures

The system can decline or fail a transaction, in contrast to a connector or payment service rejecting the transaction. When this happens, one of the following error codes can be set as the error_code value.

Connector declines

When a payment service declines or fails the transaction the following error_code values can be set based on the response received from the payment service. The original values received from the payment service are available in the raw_response_* fields of a transaction record.
The amount column in the tables below specifies the amount that can be used to simulate the error_code when using the Card simulator connector.

Connector failures

Connector capture / void / refund / payout tests