Apple Pay domain registration

This topic describes how to register a domain so that the Apple Pay button can be displayed in FramePay.

For the purposes of this tutorial, store.example.com is used as a placeholder. Replace this with your own domain.

  1. Download the Rebilly Apple Pay merchant domain verification file file.
  2. Host the verification file at https://store.example.com/.well-known/apple-developer-merchantid-domain-association.
  3. Register the domain using the PostDigitalWalletOnboardingApplePay API, or check if it is already registered. Once the domain is registered, you can use Apple Pay with FramePay.

Example:

Copy
Copied
curl --location --request POST 'https://api.rebilly.com/digital-wallets/onboarding/apple-pay' \
--header 'REB-APIKEY: {YOUR_API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "domain":"store.example.com"
}'