Advertisement

Apple Pay Sandbox Test Cards

The test card numbers Apple publishes for the Apple Pay sandbox, with the expiry date and security code of each, the China UnionPay cards, and the setup you need to add them to Wallet.

Advertisement

Test cards for apps and websites

Apple’s list as of August 2025. Use the expiry date and security code shown next to each card; FPAN and DPAN expiry dates don’t need to match.

NetworkFPANResultExpiry · security codeCopy
American Express3742 005569 95003Valid card (sandbox)UK region · 12/28 · CID 1111
American Express3742 005590 81009Valid card (sandbox)UK region · 12/28 · CID 1111
American Express3742 005605 82003Valid card (sandbox)UK region · 12/28 · CID 1111
American Express3742 007381 38001Valid card (sandbox)UK region · 12/28 · CID 7777
American Express3727 357230 32000Valid card (sandbox)US region · 12/28 · CID 7777
American Express3727 279248 51007Valid card (sandbox)US region · 12/28 · CID 1111
American Express3727 267850 11008Valid card (sandbox)US region · 12/28 · CID 1111
American Express3767 717299 24003Valid card (sandbox)US region · 12/28 · CID 1111
American Express3767 747309 52005Valid card (sandbox)US region · 12/28 · CID 1111
Discover6011 0009 9446 2780Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9458 9319Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9475 4889Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9502 9935Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9548 9295Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9551 2914Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9556 1499Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9557 7610Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9606 5037Valid card (sandbox)01/30 · CID 111
Discover6011 0009 9631 8741Valid card (sandbox)01/30 · CID 111
JCB3540 5019 9000 9324Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9381Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9373Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9415Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9423Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9431Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9449Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9000 9456Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9111 1111Valid card (sandbox)01/30 · CVV 111
JCB3540 5019 9111 1202Valid card (sandbox)01/30 · CVV 111
Mastercard5204 2452 5046 0049Valid card (sandbox)01/30 · CVC 111
Mastercard5204 2452 5052 2095Valid card (sandbox)01/30 · CVC 111
Mastercard5204 2452 5110 7599Valid card (sandbox)01/30 · CVC 111
Mastercard5204 2452 5305 0839Valid card (sandbox)01/30 · CVC 111
Mastercard5204 2452 5471 8095Valid card (sandbox)01/30 · CVC 111
Visa4622 9431 2318 9285Valid card (sandbox)12/2028 · CVV 096
Visa4622 9431 2318 9293Valid card (sandbox)12/2028 · CVV 413
Visa4622 9431 2318 9301Valid card (sandbox)12/2028 · CVV 752
Visa4622 9431 2318 9319Valid card (sandbox)12/2028 · CVV 356
Visa4622 9431 2318 9327Valid card (sandbox)12/2028 · CVV 994
Visa4622 9431 2318 9335Valid card (sandbox)12/2028 · CVV 777
Visa4622 9431 2318 9343Valid card (sandbox)12/2028 · CVV 868
Visa4622 9431 2318 9350Valid card (sandbox)12/2028 · CVV 792
Visa4622 9431 2318 9368Valid card (sandbox)12/2028 · CVV 161
Visa4622 9431 2318 9376Valid card (sandbox)12/2028 · CVV 732

Source: Apple Developer – Apple Pay Sandbox Testing · checked October 2026. Sandbox only — these numbers never work for real payments.

Advertisement

How Apple Pay test cards work

Apple Pay test cards don’t work with a normal Apple Account. You need an App Store Connect sandbox tester: create one under Users and Access › Sandbox › Testers, sign out of your Apple Account on the test device and sign back in with the tester. Then open Wallet, tap Add Credit or Debit Card and type in a card from the tables below. The device region must be a country where Apple Pay is supported.

The sandbox supports Australia, Canada, China mainland, Hong Kong, Taiwan, France, Ireland, Italy, Japan, New Zealand, Russia, Singapore, Spain, the United Kingdom and the United States. American Express test cards only work with the device region set to the UK or the US, and if you are asked for a one-time password, Apple says to enter 111111.

These numbers are FPANs (funding card numbers). At checkout, Wallet sends a device token (DPAN) and a cryptogram instead of the card number, so the real test is whether your payment provider decrypts the sandbox payment data. Sandbox transactions are declined before fulfilment because the test key doesn’t match your production key. In production only real cards work, so finish with a small real payment and a refund.

China mainland: UnionPay test cards

The device region must be China mainland. Enter OTP 123456 while adding the card; payments may ask for PIN 939393. Debit cards need no CVV or expiry. The credit cards start with 622221, inside the 622126–622925 range shared with Discover, so generic brand detection may label them Discover. Apple Pay on the web in China mainland works only in Safari on iOS 11.2 or later.

NetworkFPANResultExpiry · security codeCopy
UnionPay (credit)6222 2188 8761 2072Valid card (sandbox)12/2032 · CVV 102
UnionPay (credit)6222 2188 3364 6000Valid card (sandbox)12/2032 · CVV 102
UnionPay (credit)6222 2187 7110 3311Valid card (sandbox)12/2032 · CVV 102
UnionPay (credit)6222 2187 4708 6814Valid card (sandbox)12/2032 · CVV 102
UnionPay (credit)6222 2187 1854 8503Valid card (sandbox)12/2032 · CVV 102
UnionPay (debit)6221 1188 0742 0248 604Valid card (sandbox)no CVV or expiry needed
UnionPay (debit)6221 1188 0201 4512 887Valid card (sandbox)no CVV or expiry needed
UnionPay (debit)6221 1187 8618 4781 481Valid card (sandbox)no CVV or expiry needed
UnionPay (debit)6221 1187 3605 1686 602Valid card (sandbox)no CVV or expiry needed
UnionPay (debit)6221 1186 7711 3131 130Valid card (sandbox)no CVV or expiry needed
Advertisement

Point-of-sale terminal tests

For offline “beep” tests of terminals, after the network’s contactless certification. They don’t replace that certification.

NetworkFPANResultExpiry · security code · interfaceCopy
Mastercard5204 2452 5305 0839Terminal offline test01/30 · CVC 111 · MagStripe + EMV contactless
Mastercard5204 2452 5471 8095Terminal offline test01/30 · CVC 111 · MagStripe + EMV contactless
Visa4761 1200 1000 0492Terminal offline test01/27 · CVC 480 · MagStripe + EMV contactless
Visa4761 3497 5001 0326Terminal offline test01/27 · CVC 982 · MagStripe + EMV contactless

Testing Apple Pay payments step by step

  1. Create a sandbox tester in App Store Connect and sign in with it on the test iPhone, iPad or Apple Watch.
  2. Add a test card from the table to Wallet with manual entry.
  3. For the web, register and verify your merchant domain and serve the payment page over HTTPS with TLS 1.2.
  4. Pay in your app or on your site and confirm that your provider decrypts the payment token.
  5. Repeat with one card per network you accept, then check once in production with a real card.

Common errors and fixes

Card can’t be added to Wallet
Sign in with a sandbox tester, not your own Apple Account, and set the device region to a supported country — the UK or US for American Express.
Payment declines in the sandbox
Expected before fulfilment: the sandbox key doesn’t match your production key. Check that the token decrypts.
Test card rejected in production
Test cards only work in the sandbox. Use a real card in production.

Sources

Every number on this page was copied from Apple Pay’s official documentation and passes the Luhn check. Checked October 2026; gateways change their test data from time to time, so if a number stops working, check the source:

Test cards only work in Apple Pay’s sandbox or test mode. To test your own form validation before a request reaches the gateway, use our card number generator and validator. Never use real customer cards in test environments.

Frequently asked questions

What is an Apple Pay test card number?

For example the Visa FPAN 4622 9431 2318 9285 (expiry 12/2028, CVV 096) or the Mastercard 5204 2452 5046 0049 (01/30, CVC 111), added to Wallet on a device signed in with a sandbox tester.

Can I add Stripe or Adyen test cards to Apple Wallet?

No. Wallet only accepts Apple’s sandbox cards in the sandbox. Many payment providers let you pay with Apple Pay in their own test mode without charging the card — check your provider’s documentation.

Which devices can I test Apple Pay on?

Apple lists iPhone 6 or later, iPad mini 3 or later, iPad Air 2, iPad Pro and Apple Watch.

Can I use these test cards on another gateway?

Usually not. Each gateway only recognises its own documented test numbers in its own sandbox. Some numbers, such as 4111 1111 1111 1111, appear in several lists, but the results they trigger differ. For format-only testing on your own forms, use our card generator.

Related tools

Advertisement