ApplePayDomain
Source:
src/Stripe/ApplePayDomain.ts
A Stripe Apple Pay Domain — a hostname registered so Apple Pay can be
offered on that origin. Existence-only: there is nothing to update in
place; changing domainName replaces the registration. Destroy deletes
it.
Apple Pay domains have no metadata. Account-wide list() (nuke)
enumerates every domain on the account.
In test mode, Stripe does not require the Apple domain-association
file. Live mode requires
/.well-known/apple-developer-merchantid-domain-association on the
hostname before registration succeeds.
Registering a Domain
Section titled “Registering a Domain”const pay = yield* Stripe.ApplePayDomain("checkout", { domainName: "pay.example.com",});Replacing a Domain
Section titled “Replacing a Domain”const pay = yield* Stripe.ApplePayDomain("checkout", { domainName: "checkout.example.com",});Deleting a Domain
Section titled “Deleting a Domain”// stack.destroy() / resource removal deletes the Apple Pay domainconst pay = yield* Stripe.ApplePayDomain("checkout", { domainName: "pay.example.com",});