Credit card payment test cards
This is a list of test cards available in the test environment.
Notes
-
The test cards listed here are valid only when using the test environment of this service.
※We accept no responsibility for any damage or loss resulting from use outside the test environment of this service.
-
Specify a future year and month for the expiration date (YYMM) and any three-digit number for the security code.
-
The test cards listed here do not cover every error pattern returned by this service.
-
For error codes, also refer to the error code list.
-
Even a card number that results in an error can be temporarily treated as a valid card by combining certain conditions.
-
Use the "Test procedures for treating cards as valid" below to match your test scenarios.
Test procedures for treating cards as valid
Trigger an error on member ID payment (without a security code)
- Register a card, specifying "0000" as the expiration date and a card number that results in an error
- Execute a member ID payment with the registered card
- ※Processing type: this cannot be used for payments that specify validity check (CHECK). Use authorization (AUTH) or immediate capture (CAPTURE).
Trigger an error on member ID payment (with a security code)
- Register a card, specifying "184" as the security code and a card number that results in an error
- Execute a member ID payment with the registered card, specifying a security code other than "184"
Trigger an error on member ID payment (card registration after payment, without a security code)
- Execute a payment, specifying ¥481,184 as the amount and a card number that results in an error (the payment on which card registration after payment is based)
- If the processing type is CHECK and no amount is specified, specify "0000" as the expiration date
- Execute card registration after payment
- Execute a member ID payment using the registered card
Trigger an error on member ID payment (card registration after payment, with a security code)
- Execute a payment, specifying "184" as the security code and a card number that results in an error (the payment on which card registration after payment is based)
- Execute card registration after payment
- Execute a member ID payment, specifying the registered card and a security code other than "184"
Trigger an error on amount change (without a security code)
- Execute a payment, specifying ¥481,184 as the amount and a card number that results in an error
- Execute an amount change, specifying an amount other than ¥481,184
Trigger an error on amount change (with a security code)
- Execute a payment, specifying "184" as the security code and a card number that results in an error
- Execute an amount change
Test card list
| Card number | Error code | Error detail code | Notes |
|---|---|---|---|
| 4111111111111111 | - | - | Valid card (VISA) |
| 2111111111111111 | - | - | Valid card (MASTER) |
| 5111111111111111 | - | - | Valid card (MASTER) |
| 3111111111111111 | - | - | Valid card (JCB) |
| 36111111111111 | - | - | Valid card (DINERS) |
| 375987000000088 | - | - | Valid card (AMEX) |
| 4999000000000002 | G02 | 42G020000 | Insufficient balance |
| 4999000000000003 | G03 | 42G030000 | Credit limit exceeded |
| 4999000000000004 | G04 | 42G040000 | Insufficient balance |
| 4999000000000005 | G05 | 42G050000 | Credit limit exceeded |
| 4999000000000012 | G12 | 42G120000 | Transaction not permitted |
| 4999000000000022 | G22 | 42G220000 | Transaction not permitted |
| 4999000000000030 | G30 | 42G300000 | Decision on hold |
| 4999000000000042 | G42 | 42G420000 | PIN error |
| 4999000000000044 | G44 | 42G440000 | Incorrect security code |
| 4999000000000045 | G45 | 42G450000 | Security code not entered |
| 4999000000000054 | G54 | 42G540000 | Transaction not permitted |
| 4999000000000055 | G55 | 42G550000 | Credit limit exceeded |
| 4999000000000056 | G56 | 42G560000 | Retain card (pick-up) |
| 4999000000000060 | G60 | 42G600000 | Lost or stolen card |
| 4999000000000061 | G61 | 42G610000 | Invalid card |
| 4999000000000065 | G65 | 42G650000 | Card member number error |
| 4999000000000067 | G67 | 42G670000 | Product code error |
| 4999000000000068 | G68 | 42G680000 | Amount error |
| 4999000000000069 | G69 | 42G690000 | Tax/shipping fee error |
| 4999000000000070 | G70 | 42G700000 | Bonus payment count error |
| 4999000000000071 | G71 | 42G710000 | Bonus month error |
| 4999000000000072 | G72 | 42G720000 | Bonus amount error |
| 4999000000000073 | G73 | 42G730000 | Payment start month error |
| 4999000000000074 | G74 | 42G740000 | Installment count error |
| 4999000000000075 | G75 | 42G750000 | Installment amount error |
| 4999000000000076 | G76 | 42G760000 | First payment amount error |
| 4999000000000077 | G77 | 42G770000 | Business type error |
| 4999000000000078 | G78 | 42G780000 | Payment type error |
| 4999000000000079 | G79 | 42G790000 | Inquiry type error |
| 4999000000000080 | G80 | 42G800000 | Cancellation type error |
| 4999000000000081 | G81 | 42G810000 | Cancellation handling type error |
| 4999000000000083 | G83 | 42G830000 | Expiration date error |
| 4999000000000095 | G95 | 42G950000 | Online service closed |
| 4999000000000096 | G96 | 42G960000 | Transaction not permitted |
| 4999000000000097 | G97 | 42G970000 | Transaction not permitted |
| 4999000000000098 | G98 | 42G980000 | Transaction not permitted |
| 4999000000000099 | G99 | 42G990000 | Transaction not permitted |
| 5999000000000001 | C01 | 42C010000 | Destination company code error |
| 5999000000000003 | C03 | 42C030000 | Maximum message length error |
| 5999000000000012 | C12 | 42C120000 | Destination center busy |
| 5999000000000013 | C13 | 42C130000 | Destination center failure |
| 5999000000000014 | C14 | 42C140000 | Destination center closed |
| 5999000000000015 | C15 | 42C150000 | CAFIS center closed |
| 5999000000000050 | C50 | 42C500000 | CAFIS timeout |
| 5999000000000051 | C51 | 42C510000 | Duplicate route |
| 5999000000000053 | C53 | 42C530000 | Originating company code error |
| 5999000000000054 | C54 | 42C540000 | Message type error |
| 5999000000000055 | C55 | 42C550000 | Route out of range |
| 5999000000000056 | C56 | 42C560000 | Message correspondence error |
| 5999000000000057 | C57 | 42C570000 | Service not available for this company |
| 5999000000000058 | C58 | 42C580000 | NUMERIC check error |
| 5999000000000060 | C60 | 42C600000 | Unable to receive |
| 5999000000000070 | C70 | 42C700000 | CAFIS file not found |
| 5999000000000071 | C71 | 42C710000 | CAFIS attribute error |
| 5999000000000072 | C72 | 42C720000 | CAFIS range error |
| 5999000000000073 | C73 | 42C730000 | CAFIS digit overflow |
| 5999000000000074 | C74 | 42C740000 | CAFIS file access prohibited |
| 5999000000000075 | C75 | 42C750000 | CAFIS file failure |
| 5999000000000076 | C76 | 42C760000 | Merchant information cannot be changed |
| 5999000000000077 | C77 | 42C770000 | Required item not set |
| 5999000000000078 | C78 | 42C780000 | Company table error |
3DS2.0 test card list
| Brand | Card number | ACS | Authentication result | Authentication result reason | Notes |
|---|---|---|---|---|---|
| VISA | 4100000000000100 | ||||
| 4100000000000118 | |||||
| 4999000000000005 ※1 | 2 | Y | 18 | Authentication succeeds. | |
| ※1 | In authorization processing, the error code and error detail code from the test card list are returned. | ||||
| VISA | 4100000000100009 | 2 | A | 13 | Results in an error if 3DS is set as required. If 3DS is not set as required, authenticated authorization is performed. |
| VISA | 4100000000200007 | 2 | N | 15 | The challenge request test screen is not displayed, and authentication fails. |
| VISA | 4100000000400003 | 2 | U | 01 | The challenge request test screen is not displayed, and authentication fails. If the shop is configured to perform standard authorization on 3D errors, standard authorization is performed. |
| VISA | 4100000000500000 | 2 | R | 11 | The challenge request test screen is not displayed, and authentication fails. |
| VISA | 4100000000800004 | 2 | - | - | A system error occurs during authentication, and an error screen is displayed. |
| VISA | 4100000000700006 | - | - | - | If "3DS2.0未対応時取り扱い(Tds2Type)" (Handling when 3DS2.0 is not supported (Tds2Type)) is set to "3:通常オーソリを実施" (3: Perform standard authorization), standard authorization is performed. Otherwise, an error occurs. |
| VISA | 4100000000005000 | ||||
| 4999000000000003 ※1 | 2 | Y | - | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) results in successful authentication. | |
| ※1 | In authorization processing, the error code and error detail code from the test card list are returned. | ||||
| VISA | 4100000000300005 | 2 | N | 19 | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) results in failed authentication. |
| VISA | 4100000000900002 | 2 | - | - | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) causes a system error, and an error screen is displayed. |
| MasterCard | 5100000000000107 | ||||
| 5100000000000115 | |||||
| 5999000000000012 ※1 | 2 | Y | 18 | Authentication succeeds. | |
| ※1 | In authorization processing, the error code and error detail code from the test card list are returned. | ||||
| MasterCard | 5100000000100006 | 2 | A | 13 | Results in an error if 3DS is set as required. If 3DS is not set as required, authenticated authorization is performed. |
| MasterCard | 5100000000200004 | 2 | N | 15 | The challenge request test screen is not displayed, and authentication fails. |
| MasterCard | 5100000000400000 | 2 | U | 01 | The challenge request test screen is not displayed, and authentication fails. If the shop is configured to perform standard authorization on 3D errors, standard authorization is performed. |
| MasterCard | 5100000000500007 | 2 | R | 11 | The challenge request test screen is not displayed, and authentication fails. |
| MasterCard | 5100000000800001 | 2 | - | - | A system error occurs during authentication, and an error screen is displayed. |
| MasterCard | 5100000000700003 | - | - | - | If "3DS2.0未対応時取り扱い(Tds2Type)" (Handling when 3DS2.0 is not supported (Tds2Type)) is set to "3:通常オーソリを実施" (3: Perform standard authorization), standard authorization is performed. Otherwise, an error occurs. |
| MasterCard | 5100000000005007 | ||||
| 5999000000000013 ※1 | 2 | Y | - | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) results in successful authentication. | |
| ※1 | In authorization processing, the error code and error detail code from the test card list are returned. | ||||
| MasterCard | 5100000000300002 | 2 | N | 19 | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) results in failed authentication. |
| MasterCard | 5100000000900009 | 2 | - | - | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) causes a system error, and an error screen is displayed. |
| JCB | 3528000000000106 | ||||
| 3528000000000114 | |||||
| 3528000000100005 | 2 | A | 13 | Results in an error if 3DS is set as required. If 3DS is not set as required, authenticated authorization is performed. | |
| JCB | 3528000000200003 | 2 | N | 15 | The challenge request test screen is not displayed, and authentication fails. |
| JCB | 3528000000400009 | 2 | U | 01 | The challenge request test screen is not displayed, and authentication fails. If the shop is configured to perform standard authorization on 3D errors, standard authorization is performed. |
| JCB | 3528000000500006 | 2 | R | 11 | The challenge request test screen is not displayed, and authentication fails. |
| JCB | 3528000000800000 | 2 | - | - | A system error occurs during authentication, and an error screen is displayed. |
| JCB | 3528000000700002 | - | - | - | If "3DS2.0未対応時取り扱い(Tds2Type)" (Handling when 3DS2.0 is not supported (Tds2Type)) is set to "3:通常オーソリを実施" (3: Perform standard authorization), standard authorization is performed. Otherwise, an error occurs. |
| JCB | 3528000000005006 | 2 | Y | - | A challenge request test screen is displayed in place of the authentication screen. Clicking "決済に進む" (Proceed to payment) results in successful authentication. |
| JCB | 3528000000300001 | 2 | N | 19 | A challenge request test screen is displayed in place of the authentication screen. When you click "決済に進む" (Proceed to payment), |
Card attribute test card list (SearchCardDetail, SearchCard, SaveCard)
| Card number | Notes |
|---|---|
| 4000000000111114 | Returns debit card as the card attribute |
| 4000000000111122 | Returns prepaid card as the card attribute |
| 4000000000111130 | Returns overseas-issued card as the card attribute |
Card updater test card list
Use these by changing the last digits of a valid card from the test card list. They are available for the VISA/MASTER/JCB/DINERS/AMEX brands.
| Last 4 digits of card number | Example | Updater result |
|---|---|---|
| 0001 | 4111111111110001 | Changes the expiration date to 2 years later |
| 0002 | 4111111111110002 | Changes the last 4 digits of the card number to '9999' and the expiration date to 2 years later |
| 9991 | 4111111111119991 | Returns result code 1 |
| 9992 | 4111111111119992 | Returns result code 2 |
| 9993 | 4111111111119993 | Returns result code 3 |
Last updated on