Integrate Apple Pay
To set up Apple Pay, agree on a Merchant ID with Truegate, receive two certificate signing requests (CSRs), create the certificates in Apple Developer, and send both .cer files back to us.
You need an Apple Developer account with the Account Holder or Admin role.
1. Confirm your Merchant ID
Agree on the identifier with Truegate, for example merchant.truegate.yourproductname.
Open Apple Developer → Identifiers. To register a new identifier, click + → Merchant IDs → Continue, enter a description and the agreed identifier, then click Continue → Register. If you already have a Merchant ID, confirm it with us before proceeding.
Send us the exact Merchant ID. We will provide two separate CSRs:
| CSR from Truegate | Certificate to create in Apple Developer |
|---|---|
| Payment Processing CSR (EC P-256) | Apple Pay Payment Processing Certificate |
| Merchant Identity CSR (RSA 2048) | Apple Pay Merchant Identity Certificate |
Use the supplied CSRs for the following steps. Keep them separate; do not generate replacement CSRs.
2. Create the Payment Processing certificate
- Open Identifiers, filter by Merchant IDs, and select the agreed identifier.
- Under Apple Pay Payment Processing Certificate, click Create Certificate → Continue.
- Click Choose File and upload our Payment Processing CSR.
- Click Continue → Download and keep the downloaded
.cerfile labelled Payment Processing.
3. Create the Merchant Identity certificate
- Return to the same Merchant ID in Identifiers.
- Under Apple Pay Merchant Identity Certificate, click Create Certificate → Continue.
- Click Choose File and upload our Merchant Identity CSR.
- Click Continue → Download and keep this
.cerfile labelled Merchant Identity.
4. Verify your checkout domains
In the same Merchant ID, open Merchant Domains → Add Domain, enter your checkout domain, and click Save. Download the verification file, host it at the exact location shown by Apple, then click Verify → Done. Repeat for each domain or subdomain displaying Apple Pay.
5. Send the certificates to Truegate
Reply to your Truegate integration contact with:
- The agreed Merchant ID.
- The Payment Processing
.cerfile. - The Merchant Identity
.cerfile. - Your verified checkout domains.
We will install the certificates and confirm when your Apple Pay configuration is ready.
6. Enable email collection
6.1. Request activation
If you want to collect the customer's email address in the Apple Pay payment sheet, contact Truegate technical support. We will enable this feature for your project.
6.2. Continue sending the default email
Continue sending your default email address when initiating a payment, even when email collection is enabled:
- Single payment:
POST /api/v1/pay/start. - Subscription:
POST /api/v1/subscriptions/start.
6.3. Receive the collected email
We will include the email address collected through Apple Pay in the webhook sent to you. Read paymentMethodDetails.email; see the Apple Pay payment webhook example.

Updated 2 months ago