Register a domain for Apple Pay

Request

Registers a domain for Apple Pay.

Use this operation to register the domain with Apple Pay, or to check if it is already registered. When the domain is registered, you can use Apple Pay with your embedded integrations.

For more information, see Set up Apple Pay.

Security
SecretApiKey or JWT
Bodyapplication/jsonrequired

Apple pay domain registration request.

domainstringrequired

Domain to register.

curl -i -X POST \
  https://www.rebilly.com/_mock/catalog/all/digital-wallets/onboarding/apple-pay \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "domain": "string"
  }'

Responses

Action executed without error.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Bodyapplication/json
domainstringrequired

Domain to register.

statusstringread-only

Status of Apple Pay domain registration.

Enum:"failed""registered""already-registered"
Response
{ "domain": "string", "status": "failed" }