Apple Pay Test Card Numbers

Apple Pay sandbox test cards for apps and the web, covering Visa, Mastercard, Amex, Discover, JCB and China UnionPay.

Apple Pay sandbox testing uses special cards added to the Wallet of a sandbox tester's device. Examples are 5204 2452 5046 0049 (Mastercard, expiry 01/30, CVC 111) and 4622 9431 2318 9285 (Visa, expiry 12/2028, CVV 096). Each card has its own expiry and security code, listed below.

Last verified against Apple Pay's official documentation on .

Expiry: Varies by card, e.g. 01/30
CVV: Varies by card, e.g. 111
Official documentation

Visa and Mastercard

Card numberBrandResultCopy
4622 9431 2318 9285Visa
Sandbox payment Exp 12/2028, CVV 096
4622 9431 2318 9293Visa
Sandbox payment Exp 12/2028, CVV 413
5204 2452 5046 0049Mastercard
Sandbox payment Exp 01/30, CVC 111
5204 2452 5110 7599Mastercard
Sandbox payment Exp 01/30, CVC 111

American Express

Set the device region to the United Kingdom or United States. If asked for an OTP, enter 111111.

Card numberBrandResultCopy
3742 005569 95003American Express
Sandbox payment UK; exp 12/28, CID 1111
3742 005590 81009American Express
Sandbox payment UK; exp 12/28, CID 1111
3727 357230 32000American Express
Sandbox payment US; exp 12/28, CID 7777
3727 279248 51007American Express
Sandbox payment US; exp 12/28, CID 1111

Discover and JCB

Card numberBrandResultCopy
6011 0009 9446 2780Discover
Sandbox payment Exp 01/30, CID 111
6011 0009 9458 9319Discover
Sandbox payment Exp 01/30, CID 111
3540 5019 9000 9324JCB
Sandbox payment Exp 01/30, CVV 111
3540 5019 9111 1111JCB
Sandbox payment Exp 01/30, CVV 111

China UnionPay

Set the device region to China mainland. Enter OTP 123456 when adding the card, and PIN 939393 if a payment asks for one.

Card numberBrandResultCopy
6222 2188 8761 2072UnionPay
Sandbox payment Credit; exp 12/2032, CVV 102
6222 2188 3364 6000UnionPay
Sandbox payment Credit; exp 12/2032, CVV 102
6221 1188 0742 0248 604UnionPay
Sandbox payment Debit; no CVV or expiry

Before you use these

  • Add these cards to Wallet on a device signed in with a sandbox tester account.
  • Sandbox payments decline before fulfilment because the test key does not match your production key.
  • Apple refreshes this list periodically. If a card stops provisioning, check the official page for the current set.
  • These numbers are published by Apple Pay for sandbox testing. They are not real cards and cannot be used for a real purchase.

How to use Apple Pay test cards

  1. Switch your Apple Pay integration to its test or sandbox environment and use test credentials. Live credentials reject these numbers.
  2. Enter a card number from the tables above. Expiry: Varies by card, e.g. 01/30. Security code: Varies by card, e.g. 111.
  3. Start with a successful card to confirm the happy path, then work through the decline and error cards so every failure message in your checkout gets exercised.

Apple Pay test card FAQ

Why do Apple Pay sandbox payments decline?

Apple notes that sandbox transactions decline before fulfilment because the test key does not match your production key. Use them to test the payment sheet and token flow, not settlement.

What OTP or PIN do Apple Pay test cards use?

Enter 111111 if an American Express card asks for an OTP. For China UnionPay, enter 123456 when adding the card and 939393 if a payment asks for a PIN.

What are the Apple Pay test card numbers?

Apple Pay sandbox testing uses special cards added to the Wallet of a sandbox tester's device. Examples are 5204 2452 5046 0049 (Mastercard, expiry 01/30, CVC 111) and 4622 9431 2318 9285 (Visa, expiry 12/2028, CVV 096). Each card has its own expiry and security code, listed below.

Do Apple Pay test cards work in production?

No. These numbers are only recognised by the Apple Pay test environment and are rejected by the live platform. They are not real cards and cannot be used for a purchase.

How do I test a declined payment with Apple Pay?

Use the decline and error card numbers listed on this page. Each one maps to a specific failure your integration should handle.