Response Codes
HTTP Status Codes
| Code | Message |
|---|---|
200 | Ok |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
502 | Bad Gateway |
503 | Service 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.
| Code | Description |
|---|---|
-204 | Connection error |
-207 | Receive error |
-208 | Timeout |
-211 | Connection timeout |
-602 | Undo 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_origin | Error code | Description | Status | Recommendation |
|---|---|---|---|---|
| 1 | 003 | Internal communication error or error with the Authorizer | Timeout | Retry |
| 1 | B2 | Authorizer does not allow undoing cancellation | Denied | Do not retry |
| 1 | B6 | Authorizer does not allow undoing the financial transaction | Denied | Do not retry |
| 1 | B7 | Authorizer does not allow cancel the financial transaction | Denied | Do not retry |
| 1 | MA | Transaction Denied by Authorizer | Denied | Retry |
| 1 | M0 | Invalid Field | Denied | Retry |
| 1 | M1 | Missing field | Denied | Retry |
| 1 | M2 | Invalid message | Denied | Retry |
| 1 | MM | Multiple invalid fields | Denied | Retry |
| 1 | M3 | Invalid authorizer message | Denied | Retry |
| 1 | MR | Invalid business rule | Denied | Retry |
| 1 | MF | Transaction not found | Denied | Do not retry |
| 1 | ME | Invalid transaction status | Denied | Do not retry |
| 1 | MC | Configuration error | Denied | Retry |
| 1 | MS | Auxiliary service error | Denied | Retry |
| 1 | MT | Timeout in communication with the Authorizer | Timeout/undo transaction (PPN) | Retry |
| 1 | MI | Internal error | Timeout/undo transaction (PPN) | Retry |
| 2 | 001 | System error (internal controls) | Timeout | Retry |
| 2 | 003 | Unregistered establishment | Denied | Do not retry |
| 2 | 005 | Installment Amounts Not Allowed | Denied | Do not retry |
| 2 | 006 | Invalid pre-authorization type | Denied | Retry |
| 2 | 007 | Invalid number of pre-authorization installments | Denied | Do not retry |
| 2 | 012 | Foreign Card Not Allowed | Denied | Do not retry |
| 2 | 014 | Incorrect Function (Credit/Debit) | Denied | Do not retry |
| 2 | 020 | Invalid Currency | Denied | Do not retry |
| 2 | 022 | Number of invalid installments | Denied | Do not retry |
| 2 | 023 | Installments not allowed | Denied | Do not retry |
| 2 | 024 | Typed transaction not allowed | Denied | Do not retry |
| 2 | 067 | Excessive retrying | Denied | Do not retry |
| 2 | 070 | Call the switchboard | Denied | Do not retry |
| 2 | 073 | Daily total not found | Denied | Retry |
| 2 | 082 | Pre-authorization not found | Denied | Retry |
| 2 | 093 | Original transaction not found | Denied | Retry |
| 2 | 094 | Duplicate sequence number | Denied | Do not retry |
| 2 | 095 | Login denied | Denied | Do not retry |
| 2 | 098 | Login denied | Denied | Do not retry |
| 2 | 099 | Storekeeper suspended | Denied | Do 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
| Reason | Code Type | Elo | Visa | Mastercard/Hiper | Amex | POS/Ecommerce Messaging |
|---|---|---|---|---|---|---|
| GENERIC | REVERSIBLE | 5 | 5 | 5 | 100 | CONTACT YOUR CARD CENTER |
| INSUFFICIENT BALANCE/LIMIT | REVERSIBLE | 51 | 51 | 51 | 116 | UNAUTHORIZED |
| INVALID PASSWORD | REVERSIBLE | 55 | 55 or 86 | 55 or 86 | 117 | INVALID PASSWORD |
| TRANSACTION NOT ALLOWED FOR THE CARD | IRREVERSIBLE (EXCEPT MASTERCARD) | 57 | 57 | 57 | 200 | VISA 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 NUMBER | IRREVERSIBLE | 14 or 56 | 14 | 14 or 01 | 122 | VERIFY CARD DETAILS |
| SECURITY VIOLATION INVALID OR NOT PRESENT | IRREVERSIBLE (EXCEPT MASTERCARD) | 63 | N7 | 63 | 122 | VERIFY CARD DETAILS |
| SUSPECTED FRAUD / TRAVEL WARNING | REVERSIBLE | 59 | 59 | 63 | 100 | CONTACT YOUR CARD CENTER |
| INVALID MERCHANT | IRREVERSIBLE | 58 | 3 | 3 | 109 | TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN |
| REDO THE TRANSACTION (ISSUER REQUESTS RETRY) | REVERSIBLE | 4 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | REDO THE TRANSACTION |
| CONSULT ACCREDITED | REVERSIBLE | 6 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | DEALER, CONTACT THE BUYER |
| BUYER PROBLEM | IRREVERSIBLE | 19 | 19 | 30 | NO CORRESPONDING CODE | CARD ERROR – DO NOT TRY AGAIN |
| CARD ERROR | IRREVERSIBLE | 12 | 06 | NO CORRESPONDING CODE | 115 | VERIFY CARD DETAILS |
| FORMAT ERROR (MESSAGE) | IRREVERSIBLE | 30 | 12 | 30 | 181 | CARD ERROR - DO NOT TRY AGAIN |
| INVALID TRANSACTION AMOUNT | IRREVERSIBLE | 13 | 13 | 13 | 110 | TRANSACTION AMOUNT NOT ALLOWED - DO NOT TRY AGAIN |
| AMOUNT OF INVALID INSTALLMENT | IRREVERSIBLE | 23 | NO CORRESPONDING CODE | 12 | 115 | INVALID INSTALLMENT - DO NOT TRY AGAIN |
| EXCEEDED PASSWORD ATTEMPTS / SHOPPING | REVERSIBLE | 38 | 75 | 75 | 106 | PASSWORD ATTEMPTS EXCEEDED. CONTACT YOUR CARD CENTER |
| LOST CARD | IRREVERSIBLE | 41 | 41 | 41 | 200 | TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN |
| STOLEN CARD | IRREVERSIBLE | 43 | 43 | 43 | 200 | TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN |
| EXPIRED CARD / INVALID EXPIRATION DT | IRREVERSIBLE | 54 | 54 | 54 | 101 | VERIFY CARD DETAILS |
| TRANSACTION NOT ALLOWED / TERMINAL CAPACITY | IRREVERSIBLE | 57 | 58 | 58 | 116 | TRANSACTION NOT ALLOWED - DO NOT TRY AGAIN |
| EXCESS VALUE / WITHDRAWAL | REVERSIBLE | 61 | 61 or N4 | 61 | NO CORRESPONDING CODE | VALUE EXCEEDED. CONTACT YOUR CARD CENTER |
| TEMPORARY BLOCK (EX: DEFAULT" | REVERSIBLE | 62 | 62 | 57 | WITHOUT CORRESPONDING CODE | CARD DOES NOT ALLOW INTERNATIONAL TRANSACTIONS |
| INVALID MINIMUM TRANSACTION AMOUNT | IRREVERSIBLE | 64 | NO CORRESPONDING CODE | 13 | NO CORRESPONDING CODE | TRANSACTION AMOUNT NOT ALLOWED - DO NOT TRY AGAIN |
| AMOUNT WITHDRAWALS EXCEEDED | REVERSIBLE | 65 | 65 | 65 | NO CORRESPONDING CODE | QUANTITY OF WITHDRAWALS EXCEEDED. CONTACT YOUR CARD CENTER |
| EXPIRED PASSWORD / PASSWORD ENCRYPTION ERROR | IRREVERSIBLE | 74 | 74 or 81 | 88 | 180 | INVALID PASSWORD - DO NOT TRY AGAIN |
| EXCEEDED PASSWORD ATTEMPTS / WITHDRAWAL | IRREVERSIBLE | 75 | 75 | 75 | 106 | PASSWORD ATTEMPTS EXCEEDED. CONTACT YOUR CARD CENTER |
| INVALID OR NON-EXISTENT DESTINATION ACCOUNT | IRREVERSIBLE | 76 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | INVALID DESTINATION ACCOUNT - DO NOT TRY AGAIN |
| INVALID OR NON-EXISTENT SOURCE ACCOUNT | IRREVERSIBLE | 77 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | INVALID SOURCE ACCOUNT - DO NOT TRY AGAIN |
| NEW CARD WITHOUT UNLOCKING INCLUDES CARD LOCKED BY THE CUSTOMER IN THE APPLICATION (ECOM, NFC) | REVERSIBLE | 78 | 78 | 57 | NO CORRESPONDING CODE | UNLOCK THE CARD |
| INVALID CARD (cryptogram) | IRREVERSIBLE | 82 | 82 | 88 | 180 | CARD ERROR - DO NOT TRY AGAIN |
| OUT OF AIR TRANSMITTER | REVERSIBLE | 91 | 91 | 91 | 912 | COMMUNICATION FAILURE - TRY LATER |
| SYSTEM FAILURE | REVERSIBLE | 96 | 96 | 96 | 911 | COMMUNICATION FAILURE - TRY LATER |
| DIFFERENCE - PRE AUTHORIZATION | IRREVERSIBLE | NO CORRESPONDING CODE | N8 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | DIFFERENT PRE-AUTHORIZATION VALUE - DO NOT TRY AGAIN |
| INCORRECT FUNCTION (DEBIT) | REVERSIBLE | AB | 52 or 53 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | USE CREDIT FUNCTION |
| INCORRECT FUNCTION (CREDIT) | REVERSIBLE | AC | 39 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | USE DEBIT FUNCTION |
| TROPASSWORD CASE / UNLOCKING | IRREVERSIBLE | P5 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | INVALID PASSWORD - DO NOT TRY AGAIN |
| NEW PASSWORD NOT ACCEPTED | REVERSIBLE | P6 | NO CORRESPONDING CODE | 55 | NO CORRESPONDING CODE | INVALID PASSWORD USE NEW PASSWORD |
| COLLECT CARD | IRREVERSIBLE | NO CORRESPONDING CODE | 4 | 4 | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER - DO NOT TRY AGAIN |
| DYNAMIC KEY CHANGE ERROR | IRREVERSIBLE | NO CORRESPONDING CODE | N7 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CARD ERROR - DO NOT TRY AGAIN |
| FRAUD CONFIRMED | IRREVERSIBLE | 57 | 7 | 4 | 200 | TRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN |
| ISSUE NOT LOCATED - INCORRECT BIN | IRREVERSIBLE | NO CORRESPONDING CODE | 15 | 15 | NO CORRESPONDING CODE | INVALID CARD DETAILS - DO NOT TRY AGAIN |
| NON-COMPLIANCE WITH ANTI-MONEY LAUNDERING LAWS | IRREVERSIBLE | NO CORRESPONDING CODE | 64 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER - DO NOT TRY AGAIN |
| INVALID REVERSE | IRREVERSIBLE | NO CORRESPONDING CODE | 76 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER - DO NOT TRY AGAIN |
| NOT FOUND BY ROUTER | IRREVERSIBLE | NO CORRESPONDING CODE | 92 | 92 | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER - DO NOT TRY AGAIN |
| TRANSACTION DENIED FOR INFRINGEMENT OF LAW | IRREVERSIBLE | 57 | 93 | 62 | NO CORRESPONDING CODE | TRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN |
| DUPLICATE TRACING DATA VALUE | IRREVERSIBLE | NO CORRESPONDING CODE | 94 | 94 | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER - DO NOT TRY AGAIN |
| SURCHARGE NOT SUPPORTED | REVERSIBLE | NO CORRESPONDING CODE | B1 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER |
| SURCHARGE NOT SUPPORTED BY DEBIT NETWORK | REVERSIBLE | NO CORRESPONDING CODE | B2 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER |
| FORCE STIP | REVERSIBLE | NO CORRESPONDING CODE | N0 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | CONTACT YOUR CARD CENTER |
| WITHDRAWAL NOT AVAILABLE | IRREVERSIBLE | NO CORRESPONDING CODE | N3 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | WITHDRAWAL NOT AVAILABLE - DO NOT TRY AGAIN |
| SUSPENSION OF RECURRING PAYMENT FOR A SERVICE | IRREVERSIBLE | NO CORRESPONDING CODE | R0 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | RECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN |
| RECURRING PAYMENT SUSPENSION FOR ALL SERVICES | IRREVERSIBLE | NO CORRESPONDING CODE | R1 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | RECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN |
| TRANSACTION NOT QUALIFIED FOR VISA PIN | IRREVERSIBLE | NO CORRESPONDING CODE | R2 | NO CORRESPONDING CODE | NO CORRESPONDING CODE | TRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN |
| SUSPENSION OF ALL AUTHORIZATION ORDERS | IRREVERSIBLE | NO CORRESPONDING CODE | R3 | WITHOUT CCORRESPONDING ODE | NO CORRESPONDING CODE | RECURRING PAYMENT SUSPENSION FOR SERVICE - DO NOT TRY AGAIN |
| CLOSED ACCOUNT | IRREVERSIBLE | 46 | 46 | 62 | NO CORRESPONDING CODE | TRANSACTION NOT ALLOWED FOR CARD - DO NOT TRY AGAIN |
| ID VALIDATION FAILURE | IRREVERSIBLE | NO CORRESPONDING CODE | 6P | NO CORRESPONDING CODE | NO CORRESPONDING CODE | ID VERIFICATION FAILED |
| USING THE CHIP | IRREVERSIBLE | FM | NO CORRESPONDING CODE | NO CORRESPONDING CODE | NO CORRESPONDING CODE | USING 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:
| Code | Description | Recommendation |
|---|---|---|
| 79 | Life cycle | Check the MAC |
| 82 | Policy | Check the MAC |
| 83 | Risk/Security | Check 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:
| Description | Reports that the denial is due to possible | Recommendation |
|---|---|---|
| 1 - New account information available | Change 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 later | Credit limit or insufficient funds on the card. | Retry the transaction after 72 hours |
| 3 - Retention is not allowed | Account closed or suspected of fraud. | Please do not attempt this payment again. |
| 4 - Token requirements not met for this token | Technical problem with payment. | Review the information provided in the transaction |
| 21 - Plan cancelled | Buyer canceled the recurring contract. | Please do not attempt this payment again. |
| 24 - Try again after 1 hour | Credit limit or insufficient funds on the card. | Try again after 1 hour |
| 25 - Try again after 24 hours | Credit limit or insufficient funds on the card. | Try again after 24 hours |
| 26 - Try again after 2 days | Credit limit or insufficient funds on the card. | Try again after 2 days |
| 27 - Try again after 4 days | Credit limit or insufficient funds on the card. | Try again after 4 days |
| 28 - Try again after 6 days | Credit limit or insufficient funds on the card. | Try again after 6 days |
| 29 - Try again after 8 days | Credit limit or insufficient funds on the card. | Try again after 8 days |
| 30 - Try again after 10 days | Credit limit or insufficient funds on the card. | Try again after 10 days |
| 40 - Non-rechargeable prepaid card | Bank acknowledges that a non-reloadable prepaid card was used for this transaction. | - |
| 41 - Single-use virtual card number | Bank acknowledges that a single-use virtual card was used for this transaction. | - |
Updated 6 days ago