---
updatedAt: 2026-02-20T20:39:58.000Z
agentTools:
  projectIndex: https://docs.nmi.com/llms.txt
---

# Test and Deploy

Test cards and methods for development

<br />

## Sandbox Testing

When using a sandbox account, you can test transactions without any real money movement:

* Your sandbox account is already in test mode - no need to enable test mode separately
* You can use the test cards and details provided in the Test Credit Cards section below to test the integration.

<br />

## Test Credit Cards

Use the following test credit card information for testing transactions. Never use real credit card or bank account information when testing.

### Test Credit Cards

| Card Type        | Number              |
| ---------------- | ------------------- |
| Visa             | 4111111111111111    |
| MasterCard       | 5431111111111111    |
| Discover         | 6011000991300009    |
| American Express | 341111111111111     |
| Diner's Club     | 30205252489926      |
| JCB              | 3541963594572595    |
| Maestro          | 6799990100000000019 |

### 3DS Test Credit Cards

| Card Type        | Number           | Result            |
| ---------------- | ---------------- | :---------------- |
| Visa             | 4100000000000100 | Frictionless Auth |
|                  | 4100000000005000 | Challenge         |
|                  | 4100000000300005 | Bypassed Auth     |
| MasterCard       | 5100000000000107 | Frictionless Auth |
|                  | 5100000000005007 | Challenge         |
|                  | 5100000000300002 | Bypassed Auth     |
| Discover         | 6440000000000104 | Frictionless Auth |
|                  | 6440000000005004 | Challenge         |
|                  | 6440000000300009 | Bypassed Auth     |
| American Express | 340000000000108  | Frictionless Auth |
|                  | 340000000005008  | Challenge         |
|                  | 340000000300003  | Bypassed Auth     |

### Other Test Details

| Other Details          | Value     |
| ---------------------- | --------- |
| Credit Card Expiration | 10/29     |
| Account (ACH)          | 24413815  |
| Routing (ACH)          | 490000018 |

## Triggering Test Errors

| Action                           | Method                                        |
| -------------------------------- | --------------------------------------------- |
| To cause a declined message      | Pass an amount less than 1.00                 |
| To trigger a fatal error message | Pass an invalid card number                   |
| To simulate an AVS match         | Pass 888 in the address1 field, 77777 for zip |
| To simulate a CVV match          | Pass 999 in the cvv field                     |