registerApplePayDomain
Registers a domain with Apple Pay so it can present the Apple Pay sheet on the web. Only needed for a checkout built on the merchant's own domain: the MONEI payment page and the MONEI e-commerce plugins register the website automatically. Download the domain association file in the dashboard (Settings > Payment methods > Apple Pay). The domain must be served over HTTPS with a valid SSL certificate, and the domain association file must be hosted at https://<domain>/.well-known/apple-developer-merchantid-domain-association before calling this mutation. The URL must return HTTP 200 with the file's raw contents — the filename has no extension, so some servers (notably IIS) require an explicit MIME mapping to serve it; Content-Type: text/plain is the safest choice. Once Apple verifies the domain, you can display Apple Pay buttons and process Apple Pay payments on your website. Arguments: - input: Domain to register.
registerApplePayDomain(
input: RegisterApplePayDomainInput!
): RegisterApplePayDomain!
Arguments
registerApplePayDomain.input ● RegisterApplePayDomainInput! non-null input
Type
RegisterApplePayDomain object
Result of registerApplePayDomain.