# enableCustomDomain

Starts the custom hosted-payment-page domain flow. Requests an SSL certificate and returns the account with `customDomainConfig.certificateDnsRecord` populated for the merchant to add at their DNS provider. `domain` must be a subdomain of the verified business website (e.g. `pay.example.com`).

```
enableCustomDomain(

  domain: String!

): Account!
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`enableCustomDomain.domain`](#domain) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#domain "Direct link to domain")

### Type[​](#type "Direct link to Type")

#### [`Account`](https://docs.monei.com/apis/graphql/types/objects/account/.md) object[​](#account- "Direct link to account-")

Merchant account.
