Register Domain
POST
/v1/payment-methods/domainsHeader Parameters
X-Idempotency-Keystringrequired
Required: requests without it are rejected with 400 INVALID_PARAMETERS. Stored for audit only and not enforced today: every call creates a new registration attempt and a new call to the wallet provider, even when it repeats a previous key.
Body application/json
account_idstringrequired
The unique identifier of the account. Find this in the WHITELABEL dashboard (MAX 64; MIN 36)
connection_idstringrequired
The unique identifier of the wallet connection the domains are registered on (UUID). With WHITELABEL’s Apple Pay certificate, a connection holds at most 99 domains.
payment_method_type"APPLE_PAY" | "GOOGLE_PAY"required
Single payment method to register for all domains.
domainsobject[]required
Domains to register, 1 to 50 per request. Each subdomain is a separate domain.
Response
Accepted
account_idstring
payment_method_typestring
domainsobject[]