Get domains Apple Pay

Get domains registered with Apple Pay. Read our Apple Pay tutorial to learn more.

To use this endpoint from the browser, you’ll need to specify the /accounts/{accountID}/apple-pay-merchant.read scope when generating a token.
GET
/accounts/{accountID}/apple-pay/domains
cURL
1
2
curl -X POST "https://api.moov.io/accounts/{accountID}/apple-pay/domains" \
  -H "Authorization: Bearer {token}" \
200 404 429
Domains registered with Apple Pay.
{
  "accountID": "3dfff852-927d-47e8-822c-2fffc57ff6b9",
  "createdOn": "2019-08-24T14:15:22Z",
  "displayName": "Example Merchant",
  "domains": [
    "checkout.classbooker.dev"
  ],
  "updatedOn": "2019-08-24T14:15:22Z"
}
No Apple Pay domains registered for this account were found.
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the Moov account acting as a merchant in a card transaction.

Response

application/json

accountID

string<uuid> <=36 characters
ID of account.

createdOn

string<date-time> <=24 characters

displayName

string <=64 characters
A string of 64 or fewer UTF-8 characters. Displayed in the Buy button.

domains

array
A list of fully qualified top-level or sub-domain names where you will accept Apple Pay.

updatedOn

string<date-time> <=24 characters