{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-ios/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","ApiLink","img","partial","code-snippet"]},"type":"markdown"},"seo":{"title":"Demo App Walkthrough | Tap to Pay on iPhone | Finix iOS","description":"Get Tap to Pay on iPhone working quickly using the Finix demo app. Walk through device setup, configuration, and a first test transaction.","siteUrl":"https://docs.finix.com","llmstxt":{"hide":false,"sections":[{"title":"Getting Started","includeFiles":["guides/getting-started/**/*.md"],"excludeFiles":[]},{"title":"Online Payments","includeFiles":["guides/online-payments/**/*.md"],"excludeFiles":["guides/online-payments/payment-features/fsa-hsa-non-healthcare-mcc.md"]},{"title":"In-Person Payments","includeFiles":["guides/in-person-payments/**/*.md"],"excludeFiles":[]},{"title":"Subscriptions","includeFiles":["guides/subscriptions/**/*.md"],"excludeFiles":[]},{"title":"After the Payment","includeFiles":["guides/after-the-payment/**/*.md"],"excludeFiles":[]},{"title":"Managing Operations","includeFiles":["guides/managing-operations/**/*.md"],"excludeFiles":[]},{"title":"Platform Payments","includeFiles":["guides/platform-payments/**/*.md"],"excludeFiles":[]},{"title":"Payouts","includeFiles":["guides/payouts/**/*.md"],"excludeFiles":[]},{"title":"Low-Code / No-Code","includeFiles":["low-code-no-code/**/*.md"],"excludeFiles":[]},{"title":"Developers","includeFiles":["additional-resources/developers/**/*.md"],"excludeFiles":[]},{"title":"Plugins","includeFiles":["additional-resources/plugins/**/*.md"],"excludeFiles":[]},{"title":"Industry Considerations","includeFiles":["guides/industry-considerations/**/*.md"],"excludeFiles":[]},{"title":"Regional Considerations","includeFiles":["guides/regional-considerations/**/*.md"],"excludeFiles":[]},{"title":"Release Notes","includeFiles":["release-notes/**/*.md"],"excludeFiles":[]}]},"image":"/assets/ios-tap-to-pay-demo-app-walkthrough.870daaac20988368291079c3cbbff173410440ae03cc48d3a085be58127412d0.04fe652d.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"demo-app-walkthrough","__idx":0},"children":["Demo App Walkthrough"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Finix Tap to Pay on iPhone demo app is a small SwiftUI reference integration that allows you to run test transactions. Running it first gives you a working example to reference before building the flow into your own app."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Tap to Pay entitlement required"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do not continue until Apple has granted your ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/getting-started#request-the-tap-to-pay-entitlement"},"children":["Tap to Pay on iPhone entitlement"]},". The demo app will not run without it."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before you start, complete the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/getting-started"},"children":["Getting Started"]}," guide. You'll need:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Apple's Tap to Pay on iPhone entitlement granted to your developer account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A sandbox Apple Account to sign in on the test iPhone."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your Finix merchant credentials and IDs from the Finix Dashboard."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":""},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each Finix ",{"$$mdtype":"Tag","name":"ApiLink","attributes":{"href":"/api/devices"},"children":["Device"]}," is keyed to the merchant and the iPhone's serial number. The Device you create here uses the demo app's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app_bundle_id"]},". When you ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/integration"},"children":["integrate the SDK into your application"]},", create a separate Device for your production app's Bundle Identifier."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-download-and-open-the-demo-app","__idx":1},"children":["1. Download and Open the Demo App"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/finix-payments/finix-taptopay-ios-sdk-demo-app"},"children":["demo app repository"]}," on GitHub."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Code"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download ZIP"]}," (or clone the repo)."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-download-demo-app-github.ed161212e261fc709bef0876e74e337d096aefc1828f2c54692c080c5c7bf836.08ff7529.png","alt":"Downloading the demo app from GitHub","framed":false,"withLightbox":true},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FinixTapToPaySDKDemo.xcodeproj"]}," in Xcode."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"2-add-a-demo-app-bundle-id","__idx":2},"children":["2. Add a Demo App Bundle ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The demo app's Bundle Identifier is what you'll use to create a Finix ",{"$$mdtype":"Tag","name":"ApiLink","attributes":{"href":"/api/devices"},"children":["Device"]},". Change the default identifier to one belonging to your team, then copy it."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Xcode, select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FinixTapToPaySDKDemo"]}," project in the navigator."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FinixTapToPaySDKDemo"]}," target and go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Signing & Capabilities"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Signing"]},", change the default ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bundle Identifier"]}," (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["com.yourcompany.FinixTapToPayDemo"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the new ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bundle Identifier"]},"; you'll need it in the next step."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-xcode-signing-certificates.c561f9366eda04ef18e9fa1c1f018ecc28959f3b9cf410a057bc79a65c2e4623.08ff7529.png","alt":"Xcode access signing capabilities","framed":false,"withLightbox":true},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Team"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"3-sign-in-to-your-iphone-with-the-sandbox-account","__idx":3},"children":["3. Sign In to Your iPhone with the Sandbox Account"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sign your test iPhone in to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/getting-started#create-an-apple-sandbox-account"},"children":["Sandbox Apple Account"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," app on the iPhone."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap your name at the top and sign out of the current Apple Account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in with the Sandbox Apple Account you created."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Use a dedicated test iPhone"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Signing in replaces the device's iCloud identity (photos, messages, iCloud Drive). Use a dedicated test iPhone rather than a personal device."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-iphone-settings-sign-in.ba03f6c71507009d1550d01b8dc31202ae4093df89305aa21c835ddfb38599ff.08ff7529.png","alt":"Tap to Pay iPhone settings sign-in","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"4-create-a-finix-device","__idx":4},"children":["4. Create a Finix Device"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a Finix ",{"$$mdtype":"Tag","name":"ApiLink","attributes":{"href":"/api/devices"},"children":["Device"]}," resource for the demo app bundle ID you just copied. Provide the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app_bundle_id"]}," from the previous step."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Use the demo app Bundle Identifier"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each Device uses a single ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app_bundle_id"]}," and is keyed to the merchant and this iPhone. Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#2-add-a-demo-app-bundle-id"},"children":["demo app's Bundle Identifier"]}," here, not the Bundle Identifier of the production app you plan to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/integration"},"children":["integrate with the Tap to Pay iOS SDK"]}," later."]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X POST \\\n  -u {your_api_key}:{your_api_secret} \\\n  https://finix.sandbox-payments-api.com/merchants/{merchant_id}/devices \\\n  -H 'Content-Type: application/json' \\\n  -H 'Finix-Version: 2022-02-01' \\\n  -d '{\n    \"app_bundle_id\": \"{your_demo_app_bundle_id}\",\n    \"description\": \"iOS Tap to Pay demo device\",\n    \"model\": \"IOS_TAP_TO_PAY\",\n    \"name\": \"iPhone Tap to Pay Demo - {merchant name}\",\n    \"serial_number\": \"{reader_identifier}\"\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Substitute your ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#2-add-a-demo-app-bundle-id"},"children":["demo app's Bundle Identifier"]}," for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{your_demo_app_bundle_id}"]},". In your real integration, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serial_number"]}," is Apple's per-device reader identifier obtained at runtime via ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaymentCardReader().readerIdentifier"]},"; see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/integration#5-create-a-finix-device"},"children":["Integration Guide"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/device-setup"},"children":["Device"]}," in the SDK Reference for the production pattern."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copy the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," from the response; you need it to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#5-activate-the-device"},"children":["activate the Device"]}," and to configure the demo app."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../api/components/examples/merchants/responses/json/createDeviceIOSTapToPay.jsonc","language":"json","title":"Create a Device - Model IOS_TAP_TO_PAY","header":{"title":"Create a Device - Model IOS_TAP_TO_PAY","controls":{"copy":{}}},"lang":"json","source":"{\n  \"id\": \"DVhNuqCgLmtHs6ZS9RSucm9x\",\n  \"created_at\": \"2026-09-25T20:05:14.758628Z\",\n  \"updated_at\": \"2026-09-25T20:05:14.758628Z\",\n  \"configuration_details\": { // [!code highlight]\n    \"allow_debit\": true,\n    \"allow_standalone_authorizations\": false,\n    \"allow_standalone_refunds\": false,\n    \"allow_standalone_sales\": false,\n    \"automatic_receipt_delivery_methods\": null,\n    \"available_receipt_methods\": null,\n    \"bypass_device_on_capture\": true,\n    \"check_for_duplicate_transactions\": true,\n    \"display_tip_on_receipt\": false,\n    \"idle_image_file_id\": null,\n    \"idle_message\": null,\n    \"prompt_amount_confirmation\": true,\n    \"prompt_for_signature\": \"NEVER\",\n    \"prompt_manual_entry\": false,\n    \"prompt_receipt_confirmation\": true,\n    \"prompt_tip_on_screen\": false,\n    \"signature_threshold_amount\": 10000,\n    \"surcharge_basis_points\": null,\n    \"tipping_details\": {\n      \"fixed_options\": [\n        100,\n        150,\n        200\n      ],\n      \"percent_options\": [\n        18,\n        20,\n        22\n      ],\n      \"percent_tipping_threshold\": 0\n    }\n  },\n  \"description\": \"iOS Tap to Pay device\",\n  \"enabled\": true,\n  \"idle_message\": null,\n  \"integration_mode\": \"PAYMENT_APP\",\n  \"merchant\": \"MUiV7ntxfY4eyJxp6E7cZvym\",\n  \"model\": \"IOS_TAP_TO_PAY\", // [!code highlight]\n  \"name\": \"iPhone Tap to Pay - Michael Johnson\",\n  \"serial_number\": \"cdb7ac638cb455f6d85e791115c0a4fd3cf6cbcdb874cbf30c871bc312zy3abc\",\n  \"tags\": {},\n  \"_links\": {\n    \"self\": {\n      \"href\": \"https://finix.sandbox-payments-api.com/devices/DVhNuqCgLmtHs6ZS9RSucm9x\"\n    },\n    \"merchant\": {\n      \"href\": \"https://finix.sandbox-payments-api.com/merchants/MUiV7ntxfY4eyJxp6E7cZvym\"\n    },\n    \"transfers\": {\n      \"href\": \"https://finix.sandbox-payments-api.com/transfers\"\n    },\n    \"authorizations\": {\n      \"href\": \"https://finix.sandbox-payments-api.com/authorizations\"\n    }\n  }\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The example response above shows ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"enabled\": true"]}," because it is a shared fixture. A newly-created Device actually returns with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"enabled\": false"]}," and must be activated in the next step."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"5-activate-the-device","__idx":5},"children":["5. Activate the Device"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Device is disabled by default. Activate it before running the demo app."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X PUT \\\n  -u {your_api_key}:{your_api_secret} \\\n  https://finix.sandbox-payments-api.com/devices/{device_id} \\\n  -H 'Content-Type: application/json' \\\n  -H 'Finix-Version: 2022-02-01' \\\n  -d '{ \"action\": \"ACTIVATE\" }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A successful response returns the ",{"$$mdtype":"Tag","name":"ApiLink","attributes":{"href":"/api/devices"},"children":["Device"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"enabled\": true"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"6-build-and-run-the-demo-app","__idx":6},"children":["6. Build and Run the Demo App"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Xcode, select your connected iPhone as the run destination."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Build and Run"]}," (the play button)."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-xcode-build-and-run.c561f9366eda04ef18e9fa1c1f018ecc28959f3b9cf410a057bc79a65c2e4623.08ff7529.png","alt":"Build and run Tap to Pay demo app in Xcode","framed":false,"withLightbox":true},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Build warnings"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The demo app may show build warnings. These are expected and do not prevent the app from running."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"7-configure-the-demo-app","__idx":7},"children":["7. Configure the Demo App"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the app opens:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap the configuration button (the three-dots icon in the top-right corner)."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-demo-app-not-configured-configuration-button.1123423174c8aa89a580ed575862c47f714860d7c28f5b6077b1945d867c7b7e.08ff7529.png","alt":"Tap to Pay Demo App tap Configuration button","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sandbox"]}," tab and enter the values you gathered previously:"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Format"},"children":["Format"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Where to find it"},"children":["Where to find it"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API username"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USxxxxxxxxxxxxx"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/getting-started#creating-api-keys"},"children":["From the Finix Dashboard"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API password"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Issued with the username."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Shown once in the Dashboard when the key is created. Treat as a secret."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Merchant ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MUxxxxxxxxxxxxx"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/getting-started#locating-the-merchant-id"},"children":["From the Finix Dashboard"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Merchant display name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Shown to the Buyer on Apple's tap screen."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["From the Merchant details page."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DVxxxxxxxxxxxxx"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Created in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/device-setup"},"children":["Set up a Device"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-demo-app-configuration-screen.f2dce621651a2b46bdd46a5b0b3e6f3bf983f6678c9bcc1d0956814e0044a4a3.08ff7529.png","alt":"Tap to Pay Demo App Configuration screen","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Production tab"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Configuration screen also has a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Production"]}," tab. You don't need it for the happy path. Once your own app is working in Sandbox, you'll move to production testing in your app rather than the demo. The tab is provided for debugging; functionally it is identical to Sandbox and only points at the production backend for card processing."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"8-link-the-merchant-account","__idx":8},"children":["8. Link the Merchant Account"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before taking a payment, the merchant's Apple Account must be linked. In the demo app, tap the 3 dots in the top right corner, and tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Link Account"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the account is not yet linked, Apple presents its Terms and Conditions screen. After the merchant accepts, the account is linked."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-demo-app-link-account.212df7748c70e50b8c9ba997761c0941897b3e14b97b4134e1fd05c742e16ccc.08ff7529.png","alt":"Demo app menu open with the Link Account button visible","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"9-prepare-the-reader","__idx":9},"children":["9. Prepare the Reader"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Prepare"]},". The SDK readies the iPhone to accept payments in the background. When preparation completes, you'll see a success confirmation."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-demo-app-reader-prepared-successfully.187f0d7cc02b3cedf7ccbfc57cef9abb5f26a9bcb5ecd2407f93a1c3175ea20c.08ff7529.png","alt":"Demo app showing the Tap to Pay reader prepared successfully","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"10-run-a-test-transaction","__idx":10},"children":["10. Run a Test Transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You may process sales, authorizations and refunds using the demo application."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To process a test transaction:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm the reader is prepared by reading the logs."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sale"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Amount"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tap to Pay on iPhone"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-on-iphone-button-iphone.b7c8d577e539dc91c32172f56412ff4de942baa5e939f28f77a682c9b1add04f.08ff7529.png","alt":"Demo app showing the Tap to Pay on iPhone button ready to start a payment","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When prompted, tap the Finix sandbox test card (or an Apple Pay Sandbox test card) against the iPhone."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/tap-to-pay-on-iphone-device.536c24ee2d83200224f360a80e7cf5a6b458fb29b235e9ea52c87fc546cfd448.08ff7529.png","alt":"iPhone prompting the Buyer to tap their card to pay","framed":false,"withLightbox":true,"className":"mobile-screenshot"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The demo app indicates if the transaction succeeded or failed."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"11-next-steps","__idx":11},"children":["11. Next Steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With a working reference integration, continue to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ios/tap-to-pay/integration"},"children":["Integration guide"]}," to add the Tap to Pay iOS SDK to your own app."]}]},"headings":[{"value":"Demo App Walkthrough","id":"demo-app-walkthrough","depth":1},{"value":"1. Download and Open the Demo App","id":"1-download-and-open-the-demo-app","depth":2},{"value":"2. Add a Demo App Bundle ID","id":"2-add-a-demo-app-bundle-id","depth":2},{"value":"3. Sign In to Your iPhone with the Sandbox Account","id":"3-sign-in-to-your-iphone-with-the-sandbox-account","depth":2},{"value":"4. Create a Finix Device","id":"4-create-a-finix-device","depth":2},{"value":"5. Activate the Device","id":"5-activate-the-device","depth":2},{"value":"6. Build and Run the Demo App","id":"6-build-and-run-the-demo-app","depth":2},{"value":"7. Configure the Demo App","id":"7-configure-the-demo-app","depth":2},{"value":"8. Link the Merchant Account","id":"8-link-the-merchant-account","depth":2},{"value":"9. Prepare the Reader","id":"9-prepare-the-reader","depth":2},{"value":"10. Run a Test Transaction","id":"10-run-a-test-transaction","depth":2},{"value":"11. Next Steps","id":"11-next-steps","depth":2}],"frontmatter":{"seo":{"title":"Demo App Walkthrough | Tap to Pay on iPhone | Finix iOS","description":"Get Tap to Pay on iPhone working quickly using the Finix demo app. Walk through device setup, configuration, and a first test transaction.","image":"/assets/ios-tap-to-pay-demo-app-walkthrough.870daaac20988368291079c3cbbff173410440ae03cc48d3a085be58127412d0.04fe652d.png"}},"lastModified":"2026-11-13T19:53:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ios/tap-to-pay/demo-app-walkthrough","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}