> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Data for Payment Processors

## Testing Transaction Data

Before moving to production (with Vindicia Subscribe or Retain), you must test your application’s payment processing in a simulated environment to ensure that your transactions behave as expected. It is important to verify that valid transactions return a success response and invalid transactions return a failure response. Vindicia offers a staging environment with a simulated payment processor to test data for transactions using credit cards, Electronic Check Presentment (ECP), and Boleto Bancário (for transactions in Brazil.)

The tables below provide the following test data:

* For credit cards: dummy credit card numbers and response codes for Address Verification Service (AVS) and Card Verification Number (CVN) checks. The simulated payment processor authorizes all credit cards with a valid Bank Identification Number (BIN), which is the first six digits of the card number.
* For Electronic Check Presentment (ECP): dummy routing numbers.
* For Boleto Bancário (applicable only to transactions in Brazil): dummy fiscal numbers.

In Subscribe, all transactions transition into an `AuthorizePending` status after initial authorization (except for transactions not approved at the beginning, which are eventually captured or cancelled according to the specified timeouts.)

## Credit Card Test Data

Vindicia recommends that you test for expected successful transactions and expected failed transactions by credit card type. The simulated payment processor processes the card numbers and returns the respective AVS/CVN response codes and Subscription success or failure code, as described.

| Card Number | AVS Response Code | CVN Response Code | Subscription Fail Type |
| - | - | - | - |
| 4485983356242217 | Y | M | Success |
| 4556474670906442 | A | M | Success |
| 5135299256640694 | Z | M | Success |
| 4916654211627608 | N | M | Success |
| 4716204638950696 | Z | M | Success |
| 4408041234567893 | Y | M | Success |
| 371449635398431 | Y | M | Success |
| 378734493671000 | Z | M | Success |
| 378282246310005 | N | N | Success |
| 4417123456789113 | N | M | Hard Fail |

| Credit Card Type | Card Number | Subscription Fail Type |
| - | - | - |
| **American Express** | 375555555555556 | Soft fail |
| **Diners Club** | 30455555555556 | Soft fail |
| **Discover** | 6011555555555553 | Soft fail |
| **JCB** | 3528555555555556 | Hard fail |
| **Diners Club** | 36555555555557 | Hard fail |
| **MasterCard** | 5255555555555550 | Hard fail |
| **Visa** | 4555555555555550 | Hard fail |

| **Card Type** | **Card Number** |
| - | - |
| **American Express** | 371449635398431 |
| **American Express** | 378734493671000 |
| **American Express** | 378282246310005 |
| **Discover** | 6548060927713743 |
| **JCB** | 3102692907696889 |
| **JCB** | 3272243036067289 |
| **JCB** | 3232085285996976 |
| **MasterCard** | 5145357121754286 |
| **MasterCard** | 5447618003854717 |
| **Visa** | 4336652085322654 |
| **Visa** | 4259638152076136 |
| **Visa** | 4783684405207461 |
| **Visa** | 4601472014828863 |
| **Visa** | 4680921902078290 |
| **Visa** | 4140273107991719 |
| **Visa** | 4356970426294126 |
| **Visa** | 4104750261245838 |
| **Visa** | 4741696455534447 |
| **Visa** | 4359582403159862 |
| **Visa** | 4429697689416350 |
| **Visa** | 4950452629232864 |
| **Visa** | 4726726817931814 |

| **Code** | **Summary** | **Description** | **Visa** | **MC** | **Amex** | **Discover** |
| - | - | - | - | - | - | - |
| **X** | Match | Both the street address and the nine-digit ZIP code match. | X | | | |
| **Y** | Match | Both the street address and the five-digit ZIP code match. | X | X | X | X |
| **A** | Partial match | The street address matches, but the five- or nine-digit ZIP codes do not. | X | X | X | X |
| **W** | Partial match | The street address does not match, but the nine-digit ZIP code does. | X | X | X | |
| **Z** | Partial match | The street address does not match, but the five-digit ZIP code does. | X | X | X | X |
| **N** | No match | The street address, the five-digit ZIP code, and the nine-digit ZIP code all do not match. | X | X | X | X |
| **U** | System unavailable | The address is not available (for non-U.S. addresses). AVS is not available or the AVS in a U.S. bank is not functioning properly. | X | X | X | X |
| **R** | System unavailable | The issuing bank’s system is not available or has timed out. Retry. | X | X | X | |
| **E** | Invalid | The AVS data is invalid. | X | X | X | |
| **S** | Not supported | The issuing bank does not support AVS. | X | X | X | |

| **Code** | **Summary** | **Description** |
| - | - | - |
| **D** | Match | Both the street address and the postal code match. |
| **M** | Match | Both the street address and the postal code match. |
| **B** | Partial Match | The street address matches, but the postal code cannot be verified because of incompatible formats. |
| **P** | Partial Match | The postal code matches, but the street address cannot be verified because of incompatible formats. |
| **C** | No Match | Both the street address and the postal code cannot be verified because of incompatible formats. |
| **I** | No Match | The address information cannot be verified by the non-U.S. issuing bank. |
| **G** | Not Supported | The non-U.S. issuing bank is not an AVS participant. |

| Code | Description |
| - | - |
| **M** | The CVN matches. |
| **N** | The CVN does not match. |
| **P** | The verification is not processed. |
| **S** | The issuing bank indicates that the CVN data should be present on the card. However, you (the merchant) indicate that the data is missing. |
| **U** | The issuing bank has no CVN encryption keys. |
| **Empty** | The transaction failed because an incorrect CVN number or no CVN number was entered. |

| Routing Number | Expected Result |
| - | - |
| **039000661** | The transaction has been approved and will be captured after the normal ECP timeout. |
| **121000359** | The transaction is not approved. |
| **237774922** | The transaction is not approved due to an invalid routing number. |
| **611111111** | The transaction will be captured in six days. |
| **711111111** | The transaction will be cancelled after two days. |
| **811111111** | The transaction will be captured in three days. |
| **911111111** | The transaction will be cancelled in three days. |

| **Fiscal Number** | **Expected Result and Return URL** |
| - | - |
| **46279261972** | Valid fiscal number. [http://homologacao.pagador.com.br/pa...2-5f7f30f926bb](http://homologacao.pagador.com.br/pagador/reenvia.asp?Id_Transacao=d0e97393-b23d-49a1-92c2-5f7f30f926bb) |
| **99999999998** | Invalid fiscal number. The transaction fails with no return URI. |
| **99999999999** | Valid fiscal number. The transaction is captured after notification. [http://homologacao.pagador.com.br/pa...2-5f7f30f926bb](http://homologacao.pagador.com.br/pagador/reenvia.asp?Id_Transacao=d0e97393-b23d-49a1-92c2-5f7f30f926bb) |
| **33430109957** | Valid fiscal number. The transaction is captured before notification. [http://homologacao.pagador.com.br/pa...2-5f7f30f926bb](http://homologacao.pagador.com.br/pagador/reenvia.asp?Id_Transacao=d0e97393-b23d-49a1-92c2-5f7f30f926bb) |
| **Parent topic:**[Payment Management](../topics/r_paymentManagement) | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.