PayZuDocs

Transaction status and reasons

The states a charge moves through and the reason behind each outcome.

Build your logic on the numeric codes and stable values on this page. Descriptions and human-readable messages may change.

Transaction status

The creditCardPayment.status field indicates the current state of the payment. List of possible statuses returned by the API:

CodePayment statusDescription
0NotFinishedFailed to process the payment. Possible causes: incorrect data, request error, timeout, processing instability.
1AuthorizedPayment method eligible for capture. The issuing bank approved the transaction, but this does not mean the transaction is complete.
2PaymentConfirmedPayment confirmed and finalized.
3DeniedPayment denied by an authorizer. Possible causes: insufficient limit, card payment overdue, brand unavailable, fraud block, among others.
10VoidedPayment canceled.
11RefundedPayment canceled/refunded. It means a cancellation of the transaction was requested.
12PendingWaiting for a response from the financial institution. It means the transaction was sent for pre-authorization and is waiting for a response from the bank to validate it.
13AbortedPayment canceled due to a processing failure. The transaction was canceled because of a processing failure, or the anti-fraud system denied the transaction before authorization.

Status 1 (Authorized) only indicates that the issuer approved the transaction. Payment completion is confirmed by status 2 (PaymentConfirmed).

ReasonCode and ReasonMessage

The reasonCode and reasonMessage fields detail the reason for the transaction result, including when the result comes from the antifraud analysis, as in AbortedByFraud and CouldNotAntifraud.

reasonCodereasonMessage
0Successful
1AffiliationNotFound
2InsufficientFunds
3CouldNotGetCreditCard
4ConnectionWithAcquirerFailed
5InvalidTransactionType
6InvalidPaymentPlan
7Denied
8Scheduled
9Waiting
10Authenticated
11NotAuthenticated
12ProblemsWithCreditCard
13CardCanceled
14BlockedCreditCard
15CardExpired
16AbortedByFraud
17CouldNotAntifraud
18TryAgain
19InvalidAmount
20ProblemsWithIssuer
21InvalidCardNumber
22TimeOut
23CartaoProtegidoIsNotEnabled
24PaymentMethodIsNotEnabled
98InvalidRequest
99InternalError

Chargeback status

The chargebacks[].status field indicates the state of each chargeback associated with the charge:

ValueDescription
RECEIVEDChargeback received.
ACCEPTEDChargeback accepted by the merchant.
DEFENDEDChargeback disputed by the merchant.

On this page