Skip to content
payrocdevelopers

Set up Apple Pay for a merchant

Configure Apple Pay for a merchant by adding the domain verification file and registering the domain in the Self-Care Portal to generate a unique merchant domain ID.

Prerequisites: Authentication · Add Apple Pay to your integration

After you integrate with the Apple Pay JS API and the Payroc API, you need to set up Apple Pay for each individual merchant. We then generate a unique ID for the merchant's domain that you need to start an Apple Pay session.
To set up Apple Pay for a merchant, complete the following steps:
Step 1. Add the domain verification file to the merchant's domain.
Step 2. Add the merchant's domain to the Self-Care Portal.

Before you begin

Add the following subfolder to the merchant's domain:

/.well-known

Step 1. Add the domain verification file to the merchant's domain

  1. Log into the Self-Care Portal.
  2. From the side menu, select Settings, and then select Apple Pay Domains.
  3. Select DOWNLOAD DOMAIN VERIFICATION FILE.
  4. Add the file to the merchant's domain in the following subfolder:
    /.well-known/apple-developer-merchantid-domain-association

Important: Do not change the name of the domain verification file. The file name must be apple-developer-merchantid-domain-association.

Step 2. Add the merchant's domain to the Self-Care Portal

  1. Select ADD NEW DOMAIN.
  2. In the Domain field, enter the merchant's domain name, for example, website.com.
  3. Select Save.

The Self-Care Portal redirects you to the Apple Pay Domains page where it displays the unique ID of the merchant's domain.

Important: Store the unique ID of the merchant's domain. You need to send the unique ID when you start an Apple Pay Session.

The Self-Care Portal also displays the Merchant Identifier, which you need if you want to add a convenience fee or split a payment with multiple merchants.

Browse guides

Search documentation

API reference169
Guides118
Knowledge38
legal1
Solutions32
Workflows74
↑↓highlight↵openView all search results

Menu

Theme

Sign out

Your saved plans remain in your organization. This browser’s private draft and account view will be cleared.

Talk to an engineer