---
title: "Register a web domain for an enrolled entity"
method: POST
path: "/googlepay/enrollments/{entity_id}/domain"
tags: ["Google Pay"]
---

# Register a web domain for an enrolled entity

`POST /googlepay/enrollments/{entity_id}/domain`

## Request

- Base URL: `https://{prefix}.api.checkout.com`
- URL: `https://{prefix}.api.checkout.com/googlepay/enrollments/{entity_id}/domain`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `string` scopes: `vault:gpayme-enrollment`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/googlepay/enrollments/:entity_id/domain/post.ts> (a function with typed inputs; its response is checked against the schema)

Associates a web domain with the specified enrolled entity.

## Path parameters

- `entity_id` string, required

## Request body

- GooglePayRegisterDomainRequest
  - `web_domain` string, hostname, required: The web domain to register for an actively enrolled entity.

## Response `204`

Domain registered successfully (no content).

## Other responses

- `401`: Unauthorized.
- `404`: Entity not found.
- `422`: Invalid domain format or missing parameter.
- `500`: Internal server error.

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
