# Apple Pay

Apple Pay on the web goes through the card processor, on each customer's own merchant account. The domains are registered with `/customers/{id}/payment-method-domains` (list, register, validate); there is no second checkout path and this guide adds nothing to those routes. Merchant ID: `merchant.com.praecise.skerry` (Praecise LTD, Team ID `X787J4RAP6`), used by the app.

What this API adds is the file Apple fetches to prove a domain is the merchant's: `GET /.well-known/apple-developer-merchantid-domain-association`, public, plain text. The card processor supplies the file; set `SKERRY_APPLE_PAY_ASSOCIATION_FILE` to where it is kept (404 until set). A customer's own domain must serve the same file at the same path.

Adding a card from the card-issuing partner to Wallet (in-app provisioning) and Tap to Pay on iPhone sit behind Apple's entitlement approvals; they are built when each is granted.
