Update Custom Domain Apple Pay
Assign a capable processor for Apple Pay on a domain, or clear it.
Symmetric server-driven for BOTH processors — there is no upload endpoint. All
validation lives in the controller; this handler only reads the body/scope,
makes ONE controller call, and maps the typed exceptions to HTTP status codes.
A register error is NOT an HTTP error: the controller stores failure_reason
and this returns 200 with the “not configured” read-back + the reason.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
assign a capable processor, or clear (turn Apple Pay off)
Required for action=assign: the Apple-Pay-capable processor instance to register. Ignored for action=clear.
Response
The custom domain (hostname)
Apple Pay configuration state for this domain (configured / assigned processor / failure reason). ‘Not configured’ when no file is stored.
Second CNAME record to add for certificate issuance; present once certificate provisioning has started
True while the domain is verified and its certificate is being provisioned (derived presentation state)