Creating a Sandbox Apple Account
Tap to Pay on iPhone testing runs in Apple's sandbox. Complete the four steps in order: create the account, prepare a test iPhone, put your app in sandbox mode, and get test cards. The Sandbox Apple Account and the merchant's SDK login credentials are different things, and you need both.
1. Create the Sandbox Apple Account
Create a new tester in App Store Connect. An existing Apple Account is blocked from starting a card reader session, so do not reuse a personal or production one.
- Sign in to App Store Connect with your Apple Developer account.
- Open Users and Access, then Sandbox, and click the add button (+). If this is your first tester, click Create Test Accounts.
- Enter a first name, a last name, and an email address that has never been used as an Apple Account or to buy App Store content. A dedicated address for each tester works best.
- Enter a strong password and choose the App Store country or region your test plan requires.
- Review the details and create the tester. Keep the email and password secure. They are the sandbox credentials you sign in with on the test iPhone.
You cannot edit a tester's name, email, or password after you create it. See Apple's current instructions if the App Store Connect screens differ.
2. Prepare the Sandbox Test iPhone
Use a supported physical iPhone on iOS 17.4 or later that you keep for testing. A dedicated device means signing out of an Apple Account does not disrupt a personal or production phone.
- Sign out of the Apple Account on the test iPhone, then sign in with the Sandbox Apple Account, including iCloud.
- Enable Developer Mode on the iPhone.
- Add the iPhone's UDID to the allowed devices in your Apple Developer account, and update the provisioning profile to include it. Every new test device needs a new provisioning profile and a new build.
The App Store and Developer settings used for in-app purchase sandbox testing are a separate workflow. Signing in to a StoreKit sandbox account, resetting purchase history, or looking for purchase receipts does not set up a contactless acceptance test.
3. Put the App in Sandbox Mode
Two settings put the app in sandbox mode, and both must be right.
| Setting | Sandbox value |
|---|---|
| Koard environment | Initialize the SDK with .uat and your UAT app key. In the demo, select the Koard Demo (UAT) scheme. |
| Apple account on the device | The Sandbox Apple Account from step 1, on the test iPhone from step 2. |
Use a development build signed with the approved Tap to Pay entitlement. The .production environment and a production key are for live merchant payments only. See Installing the SDK for initialization.
4. Get Sandbox Test Cards
Use the contactless test cards or test wallet tokens that your processor or network assigns for your environment and certification plan. A test tap must produce reader-generated EMV data, so a keyed card number, expiry, and CVV does not replace it. Follow the test-card guidance, and see Apple Pay sandbox testing for wallet provisioning.
In the app, log in as the merchant with the UAT merchant code and PIN, and select the active location before you link the account and prepare the reader.
If something on this page fails, see Sandbox Apple Account Issues on the Troubleshooting page.
Next Step
Continue at Configure and Run the Public Demo in the iOS Quickstart once the entitlement and test device are ready. If you are adding the SDK to your own app instead of running the demo, continue with Installing the SDK.

