Register domain for Apple Pay

Register your website's domain to accept payments via Apple Pay.

Before you call this endpoint, make sure that you have completed the following steps:

  1. Download the latest domain validation file.
  2. Upload the domain validation file to your website in the following folder /.well-known/. For example, if your website is example.com, the file should be available on example.com/.well-known/apple-developer-merchantid-domain-association, where apple-developer-merchantid-domain-association indicates the name of the file.

Request

Header Parameters
Header Parameters

Example: "Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"

This parameter accepts the Merchant API Secret key to authorise requests coming from the merchant's backend.

It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a Bearer token.

info

For more information, see: Authentication

Request body
Body object

Example: "revolut.com"

Domain name of your website without the scheme (i.e. without http:// or https://).

Response

Domain registered successfully

Was this page helpful?