Response Codes

HTTP Status Codes

CodeMessage
200Ok
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Internal Server Error
502Bad Gateway
503Service Unavailable

Successful responses

  • 200 Ok: status informing that the transaction was successfully completed, such as the completion of a payment transaction, for example.

  • 201 Created: status informing that the creation of the transaction occurred correctly for the methods that require the creation before the commit.

Client error responses

  • 400 Bad Request: indicates some failure in executing the transaction, such as a transaction denied by the issuer, for example.

  • 401 Unauthorized: indicates authentication error.

  • 404 Not Found: the server did not find the requested resource. It may be a wrong endpoint or, in case of querying transactions, the transaction may not exist or may have been created in a different store than the one requesting it.

  • 405 Method Not Allowed: the HTTP method is incorrect for the resource called (POST, PUT, GET, PATCH, DELETE), check the corresponding documents and verify that the method is the right one.

Server error responses

  • 500 Internal Server Error, 502 Bad Gateway ou 503 Service Unavailable: may be returned in some internal failure or brief unavailability of the Gateway, we recommend contacting support to understand the reason.

Response codes

Negative Response codes (Routing via SiTef)

In routings via SiTef, you may receive negative response codes (for example, "-211"). In cases like this, please contact our support team.

CodeDescription
-204Connection error
-207Receive error
-208Timeout
-211Connection timeout
-602Undo error

Response code structure

Transactions denied with 255 "Transaction Denied" will have the reason categorized according to their origin indicated by the "denied_transaction_origin" field.

  • denied_transaction_origin = 1 or 2 (internal denied): the search must be made in the Table Fiserv API Denied Transactions
  • denied_transaction_origin = 3 (denied issuer): the search must be mande in the Table ABECS

Response example

{                                                                                                                                                   
    "code": "255",
    "message": "Transaction Denied",
    "payment": {
        "authorizer_code": "14",
        "authorizer_message": "VERIFIQUE OS DADOS DO CARTAO",
        "status": "NEG",
        "nit": "d112022b0eef24f55325de9bfbce8ad44969cc0765de757f76ae0e330464dd0c",
        "order_id": "2223",
        "authorizer_id": "2",
        "acquirer_id": "229",
        "acquirer_name": "Bin (Via Servicos TEF)",
        "merchant_usn": "123456780",
        "esitef_usn": "250205751361530",
        "sitef_usn": "000005",
        "host_usn": "001000078",
        "amount": "100",
        "payment_type": "C",
        "terminal_id": "ES000001",
        "denied_transaction_origin": "3",
        "payment_date": "05/02/2025T10:11",
        "recurrency_tid": "MPLI583AE0205"
    }
}

Table Fiserv API Denied Transactions

Response codes with the origin field: "denied_transaction_origin = 1 or 2", are specific to transactions denied due to internal Fiserv errors and will be handled by the Fiserv team itself.

Retries: For transactions denied under response codes corresponding to denied_transaction_origin = 1 or 2, we suggest following the retry recommendation provided in the table.

Field denied_transaction_originError codeDescriptionStatusRecommendation
1003Internal communication error or error with the AuthorizerTimeoutRetry
1B2Authorizer does not allow undoing cancellationDeniedDo not retry
1B6Authorizer does not allow undoing the financial transactionDeniedDo not retry
1B7Authorizer does not allow cancel the financial transactionDeniedDo not retry
1MATransaction Denied by AuthorizerDeniedRetry
1M0Invalid FieldDeniedRetry
1M1Missing fieldDeniedRetry
1M2Invalid messageDeniedRetry
1MMMultiple invalid fieldsDeniedRetry
1M3Invalid authorizer messageDeniedRetry
1MRInvalid business ruleDeniedRetry
1MFTransaction not foundDeniedDo not retry
1MEInvalid transaction statusDeniedDo not retry
1MCConfiguration errorDeniedRetry
1MSAuxiliary service errorDeniedRetry
1MTTimeout in communication with the AuthorizerTimeout/undo transaction (PPN)Retry
1MIInternal errorTimeout/undo transaction (PPN)Retry
2001System error (internal controls)TimeoutRetry
2003Unregistered establishmentDeniedDo not retry
2005Installment Amounts Not AllowedDeniedDo not retry
2006Invalid pre-authorization typeDeniedRetry
2007Invalid number of pre-authorization installmentsDeniedDo not retry
2012Foreign Card Not AllowedDeniedDo not retry
2014Incorrect Function (Credit/Debit)DeniedDo not retry
2020Invalid CurrencyDeniedDo not retry
2022Number of invalid installmentsDeniedDo not retry
2023Installments not allowedDeniedDo not retry
2024Typed transaction not allowedDeniedDo not retry
2067Excessive retryingDeniedDo not retry
2070Call the switchboardDeniedDo not retry
2073Daily total not foundDeniedRetry
2082Pre-authorization not foundDeniedRetry
2093Original transaction not foundDeniedRetry
2094Duplicate sequence numberDeniedDo not retry
2095Login deniedDeniedDo not retry
2098Login deniedDeniedDo not retry
2099Storekeeper suspendedDeniedDo not retry

ABECS Table

Response codes with origin "denied_transaction_origin = 3" are specific to issuer denials. The ABECS table provides specific details about the error codes related to this origin.

Retries: For transactions denied under response codes corresponding to "denied_transaction_origin = 3", we suggest following the retry recommendation provided in the ABECS response codes table

  • Reversible: a new attempt is recommended
  • Irreversible: a new attempt is not recommended
ReasonCode TypeEloVisaMastercard/HiperAmexPOS/Ecommerce Messaging
GENERICREVERSIBLE555100CONTACT YOUR CARD CENTER
INSUFFICIENT BALANCE/LIMITREVERSIBLE515151116UNAUTHORIZED
INVALID PASSWORDREVERSIBLE5555 or 8655 or 86117INVALID PASSWORD
TRANSACTION NOT ALLOWED FOR THE CARDIRREVERSIBLE
(EXCEPT MASTERCARD)
575757200VISA AND ELO:
NOT ALLOWED FOR CART - DO NOT RETRY

MASTERCARD:
NOT ALLOWED FOR THE CARD
CARD NUMBER DOES NOT BELONG TO THE ISSUER / INVALID CARD NUMBERIRREVERSIBLE14 or 561414 or 01122VERIFY CARD DETAILS
SECURITY VIOLATION
INVALID OR NOT PRESENT
IRREVERSIBLE
(EXCEPT MASTERCARD)
63N763122VERIFY CARD DETAILS
SUSPECTED FRAUD /
TRAVEL WARNING
REVERSIBLE595963100CONTACT YOUR CARD CENTER
INVALID MERCHANTIRREVERSIBLE5833109TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN
REDO THE TRANSACTION (ISSUER REQUESTS RETRY)REVERSIBLE4NO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEREDO THE TRANSACTION
CONSULT ACCREDITEDREVERSIBLE6NO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEDEALER, CONTACT THE BUYER
BUYER PROBLEMIRREVERSIBLE191930NO CORRESPONDING CODECARD ERROR – DO NOT TRY AGAIN
CARD ERRORIRREVERSIBLE1206NO CORRESPONDING CODE115VERIFY CARD DETAILS
FORMAT ERROR (MESSAGE)IRREVERSIBLE301230181CARD ERROR - DO NOT TRY AGAIN
INVALID TRANSACTION AMOUNTIRREVERSIBLE131313110TRANSACTION AMOUNT NOT ALLOWED - DO NOT TRY AGAIN
AMOUNT OF INVALID INSTALLMENTIRREVERSIBLE23NO CORRESPONDING CODE12115INVALID INSTALLMENT - DO NOT TRY AGAIN
EXCEEDED PASSWORD ATTEMPTS / SHOPPINGREVERSIBLE387575106PASSWORD ATTEMPTS EXCEEDED. CONTACT YOUR CARD CENTER
LOST CARDIRREVERSIBLE414141200TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN
STOLEN CARDIRREVERSIBLE434343200TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN
EXPIRED CARD / INVALID EXPIRATION DTIRREVERSIBLE545454101VERIFY CARD DETAILS
TRANSACTION NOT ALLOWED / TERMINAL CAPACITYIRREVERSIBLE575858116TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN
EXCESS VALUE / WITHDRAWALREVERSIBLE6161 or N461NO CORRESPONDING CODEVALUE EXCEEDED. CONTACT YOUR CARD CENTER
TEMPORARY BLOCK
(EX: DEFAULT"
REVERSIBLE626257WITHOUT CORRESPONDING CODECARD DOES NOT ALLOW INTERNATIONAL TRANSACTIONS
INVALID MINIMUM TRANSACTION AMOUNTIRREVERSIBLE64NO CORRESPONDING CODE13NO CORRESPONDING CODETRANSACTION AMOUNT NOT ALLOWED - DO NOT TRY AGAIN
AMOUNT WITHDRAWALS EXCEEDEDREVERSIBLE656565NO CORRESPONDING CODEQUANTITY OF WITHDRAWALS EXCEEDED. CONTACT YOUR CARD CENTER
EXPIRED PASSWORD / PASSWORD ENCRYPTION ERRORIRREVERSIBLE7474 or 8188180INVALID PASSWORD - DO NOT TRY AGAIN
EXCEEDED PASSWORD ATTEMPTS / WITHDRAWALIRREVERSIBLE757575106PASSWORD ATTEMPTS EXCEEDED. CONTACT YOUR CARD CENTER
INVALID OR NON-EXISTENT DESTINATION ACCOUNTIRREVERSIBLE76NO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEINVALID DESTINATION ACCOUNT - DO NOT TRY AGAIN
INVALID OR NON-EXISTENT SOURCE ACCOUNTIRREVERSIBLE77NO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEINVALID SOURCE ACCOUNT - DO NOT TRY AGAIN
NEW CARD WITHOUT UNLOCKING
INCLUDES CARD
LOCKED
BY THE CUSTOMER IN THE APPLICATION (ECOM, NFC)
REVERSIBLE787857NO CORRESPONDING CODEUNLOCK THE CARD
INVALID CARD
(cryptogram)
IRREVERSIBLE828288180CARD ERROR - DO NOT TRY AGAIN
OUT OF AIR TRANSMITTERREVERSIBLE919191912COMMUNICATION FAILURE - TRY LATER
SYSTEM FAILUREREVERSIBLE969696911COMMUNICATION FAILURE - TRY LATER
DIFFERENCE - PRE AUTHORIZATIONIRREVERSIBLENO CORRESPONDING CODEN8NO CORRESPONDING CODENO CORRESPONDING CODEDIFFERENT PRE-AUTHORIZATION VALUE - DO NOT TRY AGAIN
INCORRECT FUNCTION (DEBIT)REVERSIBLEAB52 or 53NO CORRESPONDING CODENO CORRESPONDING CODEUSE CREDIT FUNCTION
INCORRECT FUNCTION (CREDIT)REVERSIBLEAC39NO CORRESPONDING CODENO CORRESPONDING CODEUSE DEBIT FUNCTION
TROPASSWORD CASE / UNLOCKINGIRREVERSIBLEP5NO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEINVALID PASSWORD - DO NOT TRY AGAIN
NEW PASSWORD NOT ACCEPTEDREVERSIBLEP6NO CORRESPONDING CODE55NO CORRESPONDING CODEINVALID PASSWORD USE NEW PASSWORD
COLLECT CARDIRREVERSIBLENO CORRESPONDING CODE44NO CORRESPONDING CODECONTACT YOUR CARD CENTER - DO NOT TRY AGAIN
DYNAMIC KEY CHANGE ERRORIRREVERSIBLENO CORRESPONDING CODEN7NO CORRESPONDING CODENO CORRESPONDING CODECARD ERROR - DO NOT TRY AGAIN
FRAUD CONFIRMEDIRREVERSIBLE5774200TRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN
ISSUE NOT LOCATED - INCORRECT BINIRREVERSIBLENO CORRESPONDING CODE1515NO CORRESPONDING CODEINVALID CARD DETAILS - DO NOT TRY AGAIN
NON-COMPLIANCE WITH ANTI-MONEY LAUNDERING LAWSIRREVERSIBLENO CORRESPONDING CODE64NO CORRESPONDING CODENO CORRESPONDING CODECONTACT YOUR CARD CENTER - DO NOT TRY AGAIN
INVALID REVERSEIRREVERSIBLENO CORRESPONDING CODE76NO CORRESPONDING CODENO CORRESPONDING CODECONTACT YOUR CARD CENTER - DO NOT TRY AGAIN
NOT FOUND BY ROUTERIRREVERSIBLENO CORRESPONDING CODE9292NO CORRESPONDING CODECONTACT YOUR CARD CENTER - DO NOT TRY AGAIN
TRANSACTION DENIED FOR INFRINGEMENT OF LAWIRREVERSIBLE579362NO CORRESPONDING CODETRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN
DUPLICATE TRACING DATA VALUEIRREVERSIBLENO CORRESPONDING CODE9494NO CORRESPONDING CODECONTACT YOUR CARD CENTER - DO NOT TRY AGAIN
SURCHARGE NOT SUPPORTEDREVERSIBLENO CORRESPONDING CODEB1NO CORRESPONDING CODENO CORRESPONDING CODECONTACT YOUR CARD CENTER
SURCHARGE NOT SUPPORTED BY DEBIT NETWORKREVERSIBLENO CORRESPONDING CODEB2NO CORRESPONDING CODENO CORRESPONDING CODECONTACT YOUR CARD CENTER
FORCE STIPREVERSIBLENO CORRESPONDING CODEN0NO CORRESPONDING CODENO CORRESPONDING CODECONTACT YOUR CARD CENTER
WITHDRAWAL NOT AVAILABLEIRREVERSIBLENO CORRESPONDING CODEN3NO CORRESPONDING CODENO CORRESPONDING CODEWITHDRAWAL NOT AVAILABLE - DO NOT TRY AGAIN
SUSPENSION OF RECURRING PAYMENT FOR A SERVICEIRREVERSIBLENO CORRESPONDING CODER0NO CORRESPONDING CODENO CORRESPONDING CODERECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN
RECURRING PAYMENT SUSPENSION FOR ALL SERVICESIRREVERSIBLENO CORRESPONDING CODER1NO CORRESPONDING CODENO CORRESPONDING CODERECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN
TRANSACTION NOT QUALIFIED FOR VISA PINIRREVERSIBLENO CORRESPONDING CODER2NO CORRESPONDING CODENO CORRESPONDING CODETRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN
SUSPENSION OF ALL AUTHORIZATION ORDERSIRREVERSIBLENO CORRESPONDING CODER3WITHOUT CCORRESPONDING ODENO CORRESPONDING CODERECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN
CLOSED ACCOUNTIRREVERSIBLE464662NO CORRESPONDING CODETRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN
ID VALIDATION FAILUREIRREVERSIBLENO CORRESPONDING CODE6PNO CORRESPONDING CODENO CORRESPONDING CODEID VERIFICATION FAILED
USING THE CHIPIRREVERSIBLEFMNO CORRESPONDING CODENO CORRESPONDING CODENO CORRESPONDING CODEUSING THE CHIP

Response Code Mastercard

Mastercard has implemented a new service where transaction denials submitted by issuers can be grouped by Mastercard and responded to under the following response codes:

CodeDescriptionRecommendation
79Life cycleCheck the MAC
82PolicyCheck the MAC
83Risk/SecurityCheck the MAC

Merchant Advice code (MAC)

For better authorization performance, Mastercard recommends that Acquirers and Merchants consider the MAC (Merchant Advice Code) code along with the response codes received.

The MAC provides additional details about the nature of the transaction and recommends what action should be taken in terms of retry, as indicated in the table below:

DescriptionReports that the denial is due to possibleRecommendation
1 - New account information availableChange in buyer's account information. Ex: a new expiration date for an expired card.Get updated card information.
2 - Can not approve at this time, please try again laterCredit limit or insufficient funds on the card.Retry the transaction after 72 hours
3 - Retention is not allowedAccount closed or suspected of fraud.Please do not attempt this payment again.
4 - Token requirements not met for this tokenTechnical problem with payment.Review the information provided in the transaction
21 - Plan cancelledBuyer canceled the recurring contract.Please do not attempt this payment again.
24 - Try again after 1 hourCredit limit or insufficient funds on the card.Try again after 1 hour
25 - Try again after 24 hoursCredit limit or insufficient funds on the card.Try again after 24 hours
26 - Try again after 2 daysCredit limit or insufficient funds on the card.Try again after 2 days
27 - Try again after 4 daysCredit limit or insufficient funds on the card.Try again after 4 days
28 - Try again after 6 daysCredit limit or insufficient funds on the card.Try again after 6 days
29 - Try again after 8 daysCredit limit or insufficient funds on the card.Try again after 8 days
30 - Try again after 10 daysCredit limit or insufficient funds on the card.Try again after 10 days
40 - Non-rechargeable prepaid cardBank acknowledges that a non-reloadable prepaid card was used for this transaction.-
41 - Single-use virtual card numberBank acknowledges that a single-use virtual card was used for this transaction.-

Did this page help you?