# registerApplePayDomain

Registers a domain with Apple Pay so it can present the Apple Pay sheet on the web. 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.

```
registerApplePayDomain(

  input: RegisterApplePayDomainInput!

): RegisterApplePayDomain!
```

### Arguments[​](#arguments "Enlace directo al Arguments")

#### [`registerApplePayDomain.input`](#input) ● [`RegisterApplePayDomainInput!`](https://docs.monei.com/es/es/apis/graphql/types/inputs/register-apple-pay-domain-input/.md) non-null input[​](#input "Enlace directo al input")

### Type[​](#type "Enlace directo al Type")

#### [`RegisterApplePayDomain`](https://docs.monei.com/es/es/apis/graphql/types/objects/register-apple-pay-domain/.md) object[​](#registerapplepaydomain- "Enlace directo al registerapplepaydomain-")

A successful response.
