# Domains

Search for domains, register, transfer and renew them from your credit, and manage their lock, privacy, name servers and registrant.

Source: https://docs.pantechdynamics.com/api/domains

Search for a name, then register it with a registrant contact and `accept_terms`. The price is taken from your organization's credit before the registry is asked; a failed order returns it. Registrations, transfers and renewals answer `202` with the domain and its order: follow the order until it `succeeded` or `failed`. See [buy a domain](https://docs.pantechdynamics.com/domains/overview) and [transfers](https://docs.pantechdynamics.com/domains/transfers).

Endpoints:

- `GET /public/v1/domains/tlds`: List TLDs on sale
- `GET /public/v1/domains/search`: Search for a domain
- `GET /public/v1/domains/transfer-check`: Check a domain can be transferred in
- `GET /public/v1/domains`: List domains
- `POST /public/v1/domains`: Register a domain
- `POST /public/v1/domains/transfers`: Transfer a domain in
- `GET /public/v1/domains/{domain_id}`: Get a domain
- `PATCH /public/v1/domains/{domain_id}`: Change a domain's settings
- `PUT /public/v1/domains/{domain_id}/name-servers`: Set a domain's name servers
- `GET /public/v1/domains/{domain_id}/contact`: Get a domain's registrant contact
- `PUT /public/v1/domains/{domain_id}/contact`: Change a domain's registrant contact
- `POST /public/v1/domains/{domain_id}/renew`: Renew a domain
- `POST /public/v1/domains/{domain_id}/auth-code`: Ask for a domain's auth code
- `GET /public/v1/domains/{domain_id}/auth-code`: Get a domain's auth code
- `GET /public/v1/domains/{domain_id}/orders`: List a domain's orders
- `GET /public/v1/domain-orders/{order_id}`: Get a domain order
- `POST /public/v1/domain-orders/{order_id}/retry-payment`: Retry a domain order's payment

## The TLD offer object

One TLD on sale, priced per year.

- `tld` (string, required)
- `currency` (string, required): One of `NGN`, `USD`.
- `register_minor` (integer, required): The first year of a registration, in minor units.
- `renew_minor` (integer, required): Each further year, and each year of a renewal.
- `transfer_minor` (integer, required): A transfer in, which adds one year.
- `featured` (boolean, required): Whether search tries this TLD for a bare name.
- `privacy_always_on` (boolean): The TLD's registry hides every registrant's contact details itself, so privacy is always on for its domains and cannot be turned off (asking to turn it off is 422 VALIDATION_FAILED on `privacy`, code PRIVACY_ALWAYS_ON). True for .ng and its second levels.
## The domain search result object



- `name` (string, required)
- `tld` (string, required)
- `status` (string, required): `unknown`: it could not be checked; try again. One of `available`, `unavailable`, `unknown`.
- `reason` (string or null): Why an `unknown` name could not be checked: `registry_timeout` (its registry did not answer in time) or `registry_unavailable` (its registry refused, failed or could not be reached). Null for any other status. Try again with `exact=true`. One of `registry_timeout`, `registry_unavailable`, `null`.
- `price` (object or null, required): Its TLD's price; null when the TLD is not sold.
  - `tld` (string, required)
  - `currency` (string, required): One of `NGN`, `USD`.
  - `register_minor` (integer, required)
  - `renew_minor` (integer, required)
  - `transfer_minor` (integer, required)
  - `featured` (boolean, required)
  - `privacy_always_on` (boolean)
## The domain object

A domain Pantech holds for your organization. The registrant contact is never part of it.

- `id` (string, required): e.g. `dom_...`.
- `name` (string, required)
- `tld` (string, required)
- `status` (string, required): One of `pending`, `registering`, `transferring`, `active`, `expired`, `failed`, `transferred_out`, `suspended`.
- `failure_code` (string or null, required): Why its registration or transfer failed (the order's `failure_code`); null otherwise.
- `auto_renew` (boolean, required): Whether Pantech renews it for a year 30 days before expiry, paid from credit.
- `transfer_lock` (boolean, required)
- `privacy` (boolean, required): Whether the registrant's details are hidden from public lookups.
- `name_server_mode` (string, required): One of `pantech`, `custom`.
- `name_servers` (array of string, required)
- `zone_id` (string or null, required): The Pantech zone it is delegated to; null for custom name servers.
- `registered_at` (string or null, required)
- `expires_at` (string or null, required)
- `contact_verified` (boolean, required): False until the registrant clicks the registry's verification email; an unverified registrant is suspended after 15 days.
- `settings_pending` (boolean, required): True while a lock, privacy, name server or contact change is being applied at the registry.
- `auth_code_pending` (boolean, required): True while an auth code is being fetched.
- `suspended_reason` (string or null, required)
- `created_at` (string, required)
- `updated_at` (string, required)
- `version` (integer, required)
## The domain order object

One paid action on a domain. When the organization's credit does not cover an order (one you placed, or an automatic renewal), the order waits in `awaiting_payment` for up to an hour. In US dollars Pantech charges the saved card the difference (`payment_url` is set only when the bank asks the customer to confirm the payment); in naira the customer adds credit. The order is charged from credit and goes on as soon as the money arrives; `POST /domain-orders/{order_id}/retry-payment` tries again at once and waits another hour. If it is not paid in time the order fails with `insufficient_credit` and nothing is charged; anything paid stays in your credit.

- `id` (string, required): e.g. `dor_...`.
- `domain_id` (string, required)
- `domain_name` (string, required)
- `kind` (string, required): One of `register`, `renew`, `transfer`.
- `years` (integer, required)
- `amount_minor` (integer, required): The price before VAT, in minor units. It is taken from credit, VAT included where applicable, before the registry is asked, and is not put on an invoice.
- `currency` (string, required): One of `NGN`, `USD`.
- `status` (string, required): `pending` → `paid` → `submitted` → `succeeded` | `failed`. A pending order whose credit falls short becomes `awaiting_payment` (a saved-card charge in US dollars, a deposit in naira; see `payment_url` and `retry-payment`), then `paid`, or `failed` with `insufficient_credit`. One of `pending`, `awaiting_payment`, `paid`, `submitted`, `succeeded`, `failed`.
- `failure_code` (string or null, required): One of `insufficient_credit`, `domain_unavailable`, `price_changed`, `registrar_rejected`, `transfer_rejected`, `invalid_auth_code`, `contact_rejected`, `tld_not_sold`, `billing_unavailable`, `domain_expired`, `null`.
- `refunded` (boolean, required): Whether a failed order's charge, VAT included, was returned to credit.
- `payment_url` (string or null, required): While `status` is `awaiting_payment`: the page where your bank asks you to confirm the saved-card payment of the difference (US dollars only), when it does. Null when no confirmation is needed, while a naira order waits for credit you add, and in every other status.
- `payment_expires_at` (string or null, required): While `status` is `awaiting_payment`: when the order stops waiting and fails with `insufficient_credit`. Null otherwise.
- `created_at` (string, required)
- `completed_at` (string or null, required)
## The domain contact object

The registrant, also used as the admin and technical contact. Personal data. When read, every field is sent (an optional one left empty is an empty string). For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, and a `name.ng` registrant must be `type: person` (otherwise `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`). Privacy is always on for these domains.

- `type` (string): `person` or `company`. Defaults to `person`. One of `person`, `company`. Defaults to `person`.
- `first_name` (string, required)
- `last_name` (string, required)
- `organization_name` (string): The company's name: required when `type` is `company`, optional otherwise.
- `email` (string, required)
- `phone` (string, required): `+CC.NUMBER`.
- `address_line1` (string, required)
- `address_line2` (string)
- `city` (string, required)
- `state` (string)
- `country_code` (string, required): ISO 3166-1 alpha-2.
- `postal_code` (string)
## List TLDs on sale

```http
GET /public/v1/domains/tlds
```

Every TLD Pantech sells to your organization, priced per year in its currency. Registering for `n` years costs `register_minor + renew_minor × (n-1)`; renewing for `n` years costs `renew_minor × n`; a transfer costs `transfer_minor + renew_minor × (n-1)` (a transfer adds one year). `featured` TLDs are the ones search tries for a bare name.

Scope: `read`.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/tlds" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "tld": "com",
      "currency": "NGN",
      "register_minor": 1500,
      "renew_minor": 1500,
      "transfer_minor": 1500,
      "featured": true,
      "privacy_always_on": true
    }
  ],
  "next_cursor": null
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Search for a domain

```http
GET /public/v1/domains/search
```

Checks a name across the featured TLDs (or exactly, when it ends in a TLD Pantech sells), plus suggestions, each with its price, in one call. Availability is live, and the answer comes within a few seconds: a name its registry has not answered for by then is `unknown`, with a `reason`. Premium and reserved names are shown `unavailable`: Pantech does not sell them yet. `unknown` means the name could not be checked: try again, or ask again about that one name with `exact=true`, which asks its registry now. At most 60 searches a minute per organization, re-checks included.

Scope: `read`.

Query parameters:

- `query` (string, required): A name such as `example` or `example.com`; an internationalised name is accepted. At most 269 characters.
- `exact` (string): `true`: check only `query`, which must end in a TLD Pantech sells, asking its registry now (a "try again" on one `unknown` result). The answer is a list of that one name; a TLD not sold is `422 TLD_NOT_SOLD`. One of `true`, `false`.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/search?query=query" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "name": "example.com",
      "tld": "com",
      "status": "available",
      "reason": "registry_timeout",
      "price": {
        "tld": "tld",
        "currency": "NGN",
        "register_minor": 1,
        "renew_minor": 1,
        "transfer_minor": 1,
        "featured": true,
        "privacy_always_on": true
      }
    }
  ],
  "next_cursor": null
}
```

Errors:

- `400`: `INVALID_FILTER`: a query parameter is not one of its allowed values. `detail` names it and what it takes.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `422`: `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`query` `REQUIRED`, `INVALID_NAME` or `INVALID_QUERY`: send a name such as `example` or `example.com`.
`TLD_NOT_SOLD`: with `exact=true`, the name's TLD is not on sale.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAIN_LOOKUP_UNAVAILABLE`: availability cannot be checked right now. Try again in a minute.
`DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Check a domain can be transferred in

```http
GET /public/v1/domains/transfer-check
```

Whether a domain held at another registrar can be transferred to Pantech now, and what it costs. `reason` is a stable code when it cannot (for example a transfer lock at the current registrar).

Scope: `read`.

Query parameters:

- `name` (string, required): The domain, such as `example.com`. At most 269 characters.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/transfer-check?name=web-1" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "name": "example.com",
  "transferable": true,
  "reason": null,
  "price": {
    "tld": "tld",
    "currency": "NGN",
    "register_minor": 1,
    "renew_minor": 1,
    "transfer_minor": 1,
    "featured": true,
    "privacy_always_on": true
  }
}
```

Errors:

- `400`: `INVALID_FILTER`: a query parameter is not one of its allowed values. `detail` names it and what it takes.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `422`: `TLD_NOT_SOLD`: Pantech does not sell this TLD.
`VALIDATION_FAILED`: `name` `REQUIRED`, `INVALID_NAME` or `INVALID_DOMAIN_NAME`: send one label and a TLD, such as `example.com`.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAIN_LOOKUP_UNAVAILABLE`: transferability cannot be checked right now. Try again in a minute.
`DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## List domains

```http
GET /public/v1/domains
```

The domains Pantech holds for your organization, by name. The registrant contact is never part of a domain.

Scope: `read`.

Query parameters:

- `q` (string): Only domains whose name contains this text (case-insensitive), at most 255 characters. At most 255 characters.
- `status` (string): Only domains in this status. One of `pending`, `registering`, `transferring`, `active`, `expired`, `failed`, `transferred_out`, `suspended`.
- `limit` (integer): Items per page, 1 to 100. Defaults to 50. From 1 to 100. Defaults to `50`.
- `cursor` (string): The previous page's `next_cursor`, to get the next page. Leave out for the first page; keep the other parameters the same.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "example.com",
      "tld": "com",
      "status": "active",
      "failure_code": null,
      "auto_renew": true,
      "transfer_lock": true,
      "privacy": true,
      "name_server_mode": "pantech",
      "name_servers": [
        "ana-ns.pantechdynamics.com",
        "ayo-ns.pantechdynamics.com"
      ],
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "registered_at": "2026-10-03T09:30:00Z",
      "expires_at": "2026-10-03T09:30:00Z",
      "contact_verified": true,
      "settings_pending": true,
      "auth_code_pending": true,
      "suspended_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }
  ],
  "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}
```

Errors:

- `400`: `INVALID_FILTER`: a query parameter is not one of its allowed values. `detail` names it and what it takes.
`INVALID_CURSOR`: the cursor is not valid for this list and these filters. Start again without a cursor.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Register a domain

```http
POST /public/v1/domains
```

Places a paid order to register a domain. The price is fixed now (`order.amount_minor`); it is taken from your organization's credit before the registry is asked, and a failed order returns it (`refunded: true`). Without enough credit the order becomes `awaiting_payment` within seconds and waits an hour: in US dollars your saved card is charged the difference (a `payment_url` appears only if your bank asks you to confirm the payment); in naira, add credit and the order is paid from it. `POST /domain-orders/{order_id}/retry-payment` tries again at once. Unpaid after the hour it fails with `insufficient_credit` and nothing is charged. Follow the order at `GET /domain-orders/{order_id}`: it goes `pending` → `paid` → `submitted` → `succeeded` | `failed`, and the domain becomes `active`, with a Pantech zone it is delegated to.

Privacy protection and the transfer lock are on by default. The registry emails the registrant to verify their address; an unverified registrant is suspended after 15 days. At most 20 orders a day per organization. Owners and admins only.

**`.ng` domains:** For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, a `name.ng` registrant must be `type: person`, and privacy is always on (`privacy: false` is `422 VALIDATION_FAILED` on `privacy`, code `PRIVACY_ALWAYS_ON`). A contact that breaks these rules is `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`, before anything is charged.

**Idempotency:** a retry with the same `Idempotency-Key` returns the original domain and order. The same key with a different request returns `409 IDEMPOTENCY_CONFLICT`.

Scope: `write`. Send an `Idempotency-Key` header.

Body:

- `name` (string, required)
- `years` (integer): From 1 to 10. Defaults to `1`.
- `contact` (DomainContact, required): The registrant, also used as the admin and technical contact. Personal data. When read, every field is sent (an optional one left empty is an empty string). For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, and a `name.ng` registrant must be `type: person` (otherwise `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`). Privacy is always on for these domains.
  - `type` (string): `person` or `company`. Defaults to `person`. One of `person`, `company`. Defaults to `person`.
  - `first_name` (string, required)
  - `last_name` (string, required)
  - `organization_name` (string): The company's name: required when `type` is `company`, optional otherwise.
  - `email` (string, required)
  - `phone` (string, required): `+CC.NUMBER`.
  - `address_line1` (string, required)
  - `address_line2` (string)
  - `city` (string, required)
  - `state` (string)
  - `country_code` (string, required): ISO 3166-1 alpha-2.
  - `postal_code` (string)
- `auto_renew` (boolean): Defaults to false.
- `privacy` (boolean): Defaults to true.
- `accept_terms` (boolean, required): Must be true: the registrant accepted the [Domain Registration Agreement](https://pantechdynamics.com/legal/domain-registration).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/domains" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "example.com",
    "contact": {
      "type": "person",
      "first_name": "Ada",
      "last_name": "Obi",
      "organization_name": "organization-name",
      "email": "ada@example.com",
      "phone": "+234.8012345678",
      "address_line1": "1 Marina",
      "address_line2": "address-line2",
      "city": "Lagos",
      "state": "Lagos",
      "country_code": "NG",
      "postal_code": "101001"
    },
    "accept_terms": true
  }'
```

Response `202`:

```json
{
  "domain": {
    "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "name": "example.com",
    "tld": "com",
    "status": "active",
    "failure_code": null,
    "auto_renew": true,
    "transfer_lock": true,
    "privacy": true,
    "name_server_mode": "pantech",
    "name_servers": [
      "ana-ns.pantechdynamics.com",
      "ayo-ns.pantechdynamics.com"
    ],
    "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "registered_at": "2026-10-03T09:30:00Z",
    "expires_at": "2026-10-03T09:30:00Z",
    "contact_verified": true,
    "settings_pending": true,
    "auth_code_pending": true,
    "suspended_reason": null,
    "created_at": "2026-10-03T09:30:00Z",
    "updated_at": "2026-10-03T09:30:00Z",
    "version": 1
  },
  "order": {
    "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_name": "example.com",
    "kind": "register",
    "years": 1,
    "amount_minor": 1059200,
    "currency": "NGN",
    "status": "pending",
    "failure_code": "insufficient_credit",
    "refunded": true,
    "payment_url": "payment-url",
    "payment_expires_at": "2026-10-03T09:30:00Z",
    "created_at": "2026-10-03T09:30:00Z",
    "completed_at": "2026-10-03T09:30:00Z"
  }
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
`DOMAIN_ORDER_LIMIT_REACHED`: your organization placed 20 domain orders in 24 hours. Try again tomorrow.
- `409`: `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
`DOMAIN_ALREADY_HELD`: the domain is already on Pantech.
`ACCOUNT_SUSPENDED`: the account is suspended or has an overdue invoice, so nothing new can be added. Pay the invoice under Billing in the console, then try again.
`DOMAIN_NOT_AVAILABLE`: the name is taken, premium or reserved. Search for another.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `TLD_NOT_SOLD`: Pantech does not sell this TLD.
`VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`name` `REQUIRED`, `INVALID_NAME` or `INVALID_DOMAIN_NAME`: send one label and a TLD Pantech sells, such as `example.com`. Internationalised names are accepted and sent in punycode.
`years` `INVALID_YEARS`: send 1 to 10; some endings (the `.ng` family among them) take at most 5 years per order for organizations billed in naira.
`contact.<field>` `INVALID_CONTACT`: that contact field is missing or invalid; `message` says why. Required: `first_name`, `last_name`, `email`, `phone` (`+CC.NUMBER`), `address_line1`, `city`, `country_code`, and `organization_name` for a `company`.
`accept_terms` `TERMS_NOT_ACCEPTED`: send `true` once the registrant has accepted the [Domain Registration Agreement](https://pantechdynamics.com/legal/domain-registration).
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAIN_LOOKUP_UNAVAILABLE`: availability cannot be checked right now. Try again in a minute.
`DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Transfer a domain in

```http
POST /public/v1/domains/transfers
```

Places a paid order to move a domain from another registrar to Pantech, with the `auth_code` that registrar gives you. A transfer adds one year to the registration. It is paid from credit as a registration is, and can take several days while the current registrar confirms it. The auth code is kept sealed until the transfer finishes, then deleted. Owners and admins only.

**`.ng` domains:** For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, a `name.ng` registrant must be `type: person`, and privacy is always on (`privacy: false` is `422 VALIDATION_FAILED` on `privacy`, code `PRIVACY_ALWAYS_ON`). A contact that breaks these rules is `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`, before anything is charged.

**Idempotency:** as *Register a domain*.

Scope: `write`. Send an `Idempotency-Key` header.

Body:

- `name` (string, required)
- `auth_code` (string, required): The code from the current registrar.
- `years` (integer): From 1 to 10. Defaults to `1`.
- `contact` (DomainContact, required): The registrant, also used as the admin and technical contact. Personal data. When read, every field is sent (an optional one left empty is an empty string). For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, and a `name.ng` registrant must be `type: person` (otherwise `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`). Privacy is always on for these domains.
  - `type` (string): `person` or `company`. Defaults to `person`. One of `person`, `company`. Defaults to `person`.
  - `first_name` (string, required)
  - `last_name` (string, required)
  - `organization_name` (string): The company's name: required when `type` is `company`, optional otherwise.
  - `email` (string, required)
  - `phone` (string, required): `+CC.NUMBER`.
  - `address_line1` (string, required)
  - `address_line2` (string)
  - `city` (string, required)
  - `state` (string)
  - `country_code` (string, required): ISO 3166-1 alpha-2.
  - `postal_code` (string)
- `auto_renew` (boolean)
- `privacy` (boolean): Defaults to true.
- `accept_terms` (boolean, required): Must be true: the registrant accepted the [Domain Registration Agreement](https://pantechdynamics.com/legal/domain-registration).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/domains/transfers" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "example.com",
    "auth_code": "auth-code",
    "contact": {
      "type": "person",
      "first_name": "Ada",
      "last_name": "Obi",
      "organization_name": "organization-name",
      "email": "ada@example.com",
      "phone": "+234.8012345678",
      "address_line1": "1 Marina",
      "address_line2": "address-line2",
      "city": "Lagos",
      "state": "Lagos",
      "country_code": "NG",
      "postal_code": "101001"
    },
    "accept_terms": true
  }'
```

Response `202`:

```json
{
  "domain": {
    "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "name": "example.com",
    "tld": "com",
    "status": "active",
    "failure_code": null,
    "auto_renew": true,
    "transfer_lock": true,
    "privacy": true,
    "name_server_mode": "pantech",
    "name_servers": [
      "ana-ns.pantechdynamics.com",
      "ayo-ns.pantechdynamics.com"
    ],
    "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "registered_at": "2026-10-03T09:30:00Z",
    "expires_at": "2026-10-03T09:30:00Z",
    "contact_verified": true,
    "settings_pending": true,
    "auth_code_pending": true,
    "suspended_reason": null,
    "created_at": "2026-10-03T09:30:00Z",
    "updated_at": "2026-10-03T09:30:00Z",
    "version": 1
  },
  "order": {
    "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_name": "example.com",
    "kind": "register",
    "years": 1,
    "amount_minor": 1059200,
    "currency": "NGN",
    "status": "pending",
    "failure_code": "insufficient_credit",
    "refunded": true,
    "payment_url": "payment-url",
    "payment_expires_at": "2026-10-03T09:30:00Z",
    "created_at": "2026-10-03T09:30:00Z",
    "completed_at": "2026-10-03T09:30:00Z"
  }
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
`DOMAIN_ORDER_LIMIT_REACHED`: your organization placed 20 domain orders in 24 hours. Try again tomorrow.
- `409`: `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
`DOMAIN_ALREADY_HELD`: the domain is already on Pantech.
`ACCOUNT_SUSPENDED`: the account is suspended or has an overdue invoice, so nothing new can be added. Pay the invoice under Billing in the console, then try again.
`DOMAIN_NOT_TRANSFERABLE`: the registry refuses a transfer now. Check that the domain is unlocked at its registrar, then try again.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `TLD_NOT_SOLD`: Pantech does not sell this TLD.
`VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`name` `REQUIRED`, `INVALID_NAME` or `INVALID_DOMAIN_NAME`: send one label and a TLD Pantech sells, such as `example.com`. Internationalised names are accepted and sent in punycode.
`years` `INVALID_YEARS`: send 1 to 10; some endings (the `.ng` family among them) take at most 5 years per order for organizations billed in naira.
`contact.<field>` `INVALID_CONTACT`: that contact field is missing or invalid; `message` says why. Required: `first_name`, `last_name`, `email`, `phone` (`+CC.NUMBER`), `address_line1`, `city`, `country_code`, and `organization_name` for a `company`.
`accept_terms` `TERMS_NOT_ACCEPTED`: send `true` once the registrant has accepted the [Domain Registration Agreement](https://pantechdynamics.com/legal/domain-registration).
`auth_code` `REQUIRED` or `INVALID_AUTH_CODE`: send the code from the current registrar, 1 to 1024 printable characters.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAIN_LOOKUP_UNAVAILABLE`: transferability cannot be checked right now. Try again in a minute.
`DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Get a domain

```http
GET /public/v1/domains/{domain_id}
```

One domain: its status, expiry, settings and name servers. `settings_pending` is true while a lock, privacy, name server or contact change is being applied at the registry.

Scope: `read`.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "name": "example.com",
  "tld": "com",
  "status": "active",
  "failure_code": null,
  "auto_renew": true,
  "transfer_lock": true,
  "privacy": true,
  "name_server_mode": "pantech",
  "name_servers": [
    "ana-ns.pantechdynamics.com",
    "ayo-ns.pantechdynamics.com"
  ],
  "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "registered_at": "2026-10-03T09:30:00Z",
  "expires_at": "2026-10-03T09:30:00Z",
  "contact_verified": true,
  "settings_pending": true,
  "auth_code_pending": true,
  "suspended_reason": null,
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Change a domain's settings

```http
PATCH /public/v1/domains/{domain_id}
```

Turns auto-renew, the transfer lock and privacy protection on or off; fields you leave out keep their value. With auto-renew on, Pantech renews for one year 30 days before expiry, paid from credit. Lock and privacy changes are applied at the registry within minutes (`settings_pending`). Owners and admins only.

**Idempotency:** the same request applied twice leaves the domain the same.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Body:

- `auto_renew` (boolean)
- `transfer_lock` (boolean)
- `privacy` (boolean)

Example:

```sh
curl -X PATCH "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

Response `200`:

```json
{
  "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "name": "example.com",
  "tld": "com",
  "status": "active",
  "failure_code": null,
  "auto_renew": true,
  "transfer_lock": true,
  "privacy": true,
  "name_server_mode": "pantech",
  "name_servers": [
    "ana-ns.pantechdynamics.com",
    "ayo-ns.pantechdynamics.com"
  ],
  "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "registered_at": "2026-10-03T09:30:00Z",
  "expires_at": "2026-10-03T09:30:00Z",
  "contact_verified": true,
  "settings_pending": true,
  "auth_code_pending": true,
  "suspended_reason": null,
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `409`: `DOMAIN_NOT_CONFIGURABLE`: the domain is not active.
`CONFLICT`: the domain was changed at the same time. Get it again and retry.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Set a domain's name servers

```http
PUT /public/v1/domains/{domain_id}/name-servers
```

Points the domain at a Pantech zone (`use_pantech_dns: true`, with `zone_id` or, without it, your zone with the domain's name) or at 2 to 6 name servers of your own. Applied at the registry within minutes. Owners and admins only.

**Idempotency:** the same request applied twice leaves the domain the same.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Body:

- `use_pantech_dns` (boolean, required)
- `zone_id` (string): With `use_pantech_dns`, the zone to delegate to (`dnsz_…`); defaults to your zone with the domain's name.
- `name_servers` (array of string): Without `use_pantech_dns`, 2 to 6 host names.

Example:

```sh
curl -X PUT "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/name-servers" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "use_pantech_dns": true
  }'
```

Response `202`:

```json
{
  "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "name": "example.com",
  "tld": "com",
  "status": "active",
  "failure_code": null,
  "auto_renew": true,
  "transfer_lock": true,
  "privacy": true,
  "name_server_mode": "pantech",
  "name_servers": [
    "ana-ns.pantechdynamics.com",
    "ayo-ns.pantechdynamics.com"
  ],
  "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "registered_at": "2026-10-03T09:30:00Z",
  "expires_at": "2026-10-03T09:30:00Z",
  "contact_verified": true,
  "settings_pending": true,
  "auth_code_pending": true,
  "suspended_reason": null,
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
`DNS_ZONE_NOT_FOUND`: `zone_id`, or a zone with the domain's name, is not in your organization.
- `409`: `DOMAIN_NOT_CONFIGURABLE`: the domain is not active.
`DNS_ZONE_NOT_WRITABLE`: the zone is pending, suspended, being deleted or failed.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `DOMAIN_ZONE_MISMATCH`: the zone's name is not the domain's.
`VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`zone_id` `INVALID_ZONE_ID`: send a zone id (`dnsz_…`).
`name_servers` `REQUIRED`, `INVALID_NAME` or `INVALID_NAME_SERVERS`: send 2 to 6 distinct host names.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Get a domain's registrant contact

```http
GET /public/v1/domains/{domain_id}/contact
```

The registrant contact. It is personal data: only owners and admins may read it, so this GET needs the `write` scope, and the answer is never cached.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/contact" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `200`:

```json
{
  "type": "person",
  "first_name": "Ada",
  "last_name": "Obi",
  "organization_name": "organization-name",
  "email": "ada@example.com",
  "phone": "+234.8012345678",
  "address_line1": "1 Marina",
  "address_line2": "address-line2",
  "city": "Lagos",
  "state": "Lagos",
  "country_code": "NG",
  "postal_code": "101001"
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Change a domain's registrant contact

```http
PUT /public/v1/domains/{domain_id}/contact
```

Replaces the registrant contact (also used as the admin and technical contact). Applied at the registry within minutes; the registry may email the registrant to verify the address again. Owners and admins only.

**`.ng` domains:** For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, and a `name.ng` registrant must be `type: person` (otherwise `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`). Privacy is always on for these domains.

**Idempotency:** the same request applied twice leaves the contact the same.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Body:

- `contact` (DomainContact, required): The registrant, also used as the admin and technical contact. Personal data. When read, every field is sent (an optional one left empty is an empty string). For `.ng` and its second levels (`com.ng`, `org.ng`, `net.ng`, `name.ng`, `mobi.ng`, `i.ng`): `state` and `postal_code` are required, and a `name.ng` registrant must be `type: person` (otherwise `422 VALIDATION_FAILED` on `contact.state`, `contact.postal_code` or `contact.type`). Privacy is always on for these domains.
  - `type` (string): `person` or `company`. Defaults to `person`. One of `person`, `company`. Defaults to `person`.
  - `first_name` (string, required)
  - `last_name` (string, required)
  - `organization_name` (string): The company's name: required when `type` is `company`, optional otherwise.
  - `email` (string, required)
  - `phone` (string, required): `+CC.NUMBER`.
  - `address_line1` (string, required)
  - `address_line2` (string)
  - `city` (string, required)
  - `state` (string)
  - `country_code` (string, required): ISO 3166-1 alpha-2.
  - `postal_code` (string)

Example:

```sh
curl -X PUT "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/contact" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "contact": {
      "type": "person",
      "first_name": "Ada",
      "last_name": "Obi",
      "organization_name": "organization-name",
      "email": "ada@example.com",
      "phone": "+234.8012345678",
      "address_line1": "1 Marina",
      "address_line2": "address-line2",
      "city": "Lagos",
      "state": "Lagos",
      "country_code": "NG",
      "postal_code": "101001"
    }
  }'
```

Response `202`:

```json
{
  "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "name": "example.com",
  "tld": "com",
  "status": "active",
  "failure_code": null,
  "auto_renew": true,
  "transfer_lock": true,
  "privacy": true,
  "name_server_mode": "pantech",
  "name_servers": [
    "ana-ns.pantechdynamics.com",
    "ayo-ns.pantechdynamics.com"
  ],
  "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "registered_at": "2026-10-03T09:30:00Z",
  "expires_at": "2026-10-03T09:30:00Z",
  "contact_verified": true,
  "settings_pending": true,
  "auth_code_pending": true,
  "suspended_reason": null,
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `409`: `DOMAIN_NOT_CONFIGURABLE`: the domain is not active.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`contact.<field>` `INVALID_CONTACT`: that contact field is missing or invalid; `message` says why.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Renew a domain

```http
POST /public/v1/domains/{domain_id}/renew
```

Places a paid order to renew the domain for `years` (default 1): `renew_minor × years`, taken from credit before the registry is asked. A registration may not run more than 10 years ahead. Owners and admins only.

**Idempotency:** a retry with the same `Idempotency-Key` returns the original order.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Body:

- `years` (integer): From 1 to 10. Defaults to `1`.

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/renew" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

Response `202`:

```json
{
  "domain": {
    "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "name": "example.com",
    "tld": "com",
    "status": "active",
    "failure_code": null,
    "auto_renew": true,
    "transfer_lock": true,
    "privacy": true,
    "name_server_mode": "pantech",
    "name_servers": [
      "ana-ns.pantechdynamics.com",
      "ayo-ns.pantechdynamics.com"
    ],
    "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "registered_at": "2026-10-03T09:30:00Z",
    "expires_at": "2026-10-03T09:30:00Z",
    "contact_verified": true,
    "settings_pending": true,
    "auth_code_pending": true,
    "suspended_reason": null,
    "created_at": "2026-10-03T09:30:00Z",
    "updated_at": "2026-10-03T09:30:00Z",
    "version": 1
  },
  "order": {
    "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
    "domain_name": "example.com",
    "kind": "register",
    "years": 1,
    "amount_minor": 1059200,
    "currency": "NGN",
    "status": "pending",
    "failure_code": "insufficient_credit",
    "refunded": true,
    "payment_url": "payment-url",
    "payment_expires_at": "2026-10-03T09:30:00Z",
    "created_at": "2026-10-03T09:30:00Z",
    "completed_at": "2026-10-03T09:30:00Z"
  }
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
`DOMAIN_ORDER_LIMIT_REACHED`: your organization placed 20 domain orders in 24 hours. Try again tomorrow.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `409`: `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
`DOMAIN_ORDER_IN_FLIGHT`: another order for this domain is still running. Wait for it.
`DOMAIN_NOT_CONFIGURABLE`: the domain is not held or is suspended.
`ACCOUNT_SUSPENDED`: the account is suspended or has an overdue invoice, so nothing new can be added. Pay the invoice under Billing in the console, then try again.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `TLD_NOT_SOLD`: Pantech no longer sells this TLD.
`VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`years` `INVALID_YEARS`: send 1 to 10, keeping the registration within 10 years; some endings (the `.ng` family among them) renew for at most 5 years at a time for organizations billed in naira.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Ask for a domain's auth code

```http
POST /public/v1/domains/{domain_id}/auth-code
```

Starts fetching the auth code another registrar needs to take the domain from Pantech. Turn the transfer lock off first. Get the code with *Get a domain's auth code* once `auth_code_pending` clears, usually within a minute. Owners and admins only; recorded in the audit log.

**Idempotency:** asking twice fetches one code.

**Scope:** `write`. Destructive: an AI app's key also needs `delete`.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/auth-code" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `202`:

```json
{
  "id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "name": "example.com",
  "tld": "com",
  "status": "active",
  "failure_code": null,
  "auto_renew": true,
  "transfer_lock": true,
  "privacy": true,
  "name_server_mode": "pantech",
  "name_servers": [
    "ana-ns.pantechdynamics.com",
    "ayo-ns.pantechdynamics.com"
  ],
  "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "registered_at": "2026-10-03T09:30:00Z",
  "expires_at": "2026-10-03T09:30:00Z",
  "contact_verified": true,
  "settings_pending": true,
  "auth_code_pending": true,
  "suspended_reason": null,
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope, or it is an AI app's key without `delete`. Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `409`: `DOMAIN_LOCKED`: the transfer lock is on. Turn it off first.
`DOMAIN_NOT_CONFIGURABLE`: the domain is not held.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Get a domain's auth code

```http
GET /public/v1/domains/{domain_id}/auth-code
```

The fetched auth code and when it stops being shown, or `202 {"status": "pending"}` while it is still being fetched. It can take the domain away from Pantech, so it needs, from an AI app's key, the `delete` scope, and the answer is never cached.

**Scope:** `write`. Destructive: an AI app's key also needs `delete`.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/auth-code" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `200`:

```json
{
  "auth_code": "auth-code",
  "expires_at": "2026-10-03T09:30:00Z"
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope, or it is an AI app's key without `delete`. Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key is not an owner or admin. Use a key created by one.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
`DOMAIN_NOT_FOUND` also when no auth code was asked for, or the last one expired: ask again.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## List a domain's orders

```http
GET /public/v1/domains/{domain_id}/orders
```

The domain's registration, transfer and renewal orders, newest first, a page at a time. A cursor belongs to the domain it came from.

Scope: `read`.

Path parameters:

- `domain_id`: The domain's id (`dom_…`).

Query parameters:

- `limit` (integer): Items per page, 1 to 100. Defaults to 50. From 1 to 100. Defaults to `50`.
- `cursor` (string): The previous page's `next_cursor`, to get the next page. Leave out for the first page; keep the other parameters the same.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domains/dom_06gk3x9tq7m2v8r4y1c5d0zp8w/orders" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "domain_name": "example.com",
      "kind": "register",
      "years": 1,
      "amount_minor": 1059200,
      "currency": "NGN",
      "status": "pending",
      "failure_code": "insufficient_credit",
      "refunded": true,
      "payment_url": "payment-url",
      "payment_expires_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z"
    }
  ],
  "next_cursor": null
}
```

Errors:

- `400`: `INVALID_PAGE`: `limit` is not from 1 to 100.
`INVALID_CURSOR`: the cursor is not one this list returned. Start again without it.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_NOT_FOUND`: no domain with this id in your organization. List your domains to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain id (`dom_…`). Check the id.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Get a domain order

```http
GET /public/v1/domain-orders/{order_id}
```

One order: what it bought, what it cost and how far it got. Poll it after registering, transferring or renewing.

Scope: `read`.

Path parameters:

- `order_id`: The domain order's id (`dor_…`).

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/domain-orders/dor_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "domain_name": "example.com",
  "kind": "register",
  "years": 1,
  "amount_minor": 1059200,
  "currency": "NGN",
  "status": "pending",
  "failure_code": "insufficient_credit",
  "refunded": true,
  "payment_url": "payment-url",
  "payment_expires_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "completed_at": "2026-10-03T09:30:00Z"
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_ORDER_NOT_FOUND`: no domain order with this id in your organization. List a domain's orders to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain order id (`dor_…`). Check the id.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Retry a domain order's payment

```http
POST /public/v1/domain-orders/{order_id}/retry-payment
```

An order your credit did not cover waits for its payment (`status: awaiting_payment`) for an hour. In US dollars, Pantech charges your saved card the difference; in naira, you add credit and the order is paid from it. Retry makes the order try again now and wait another hour: it charges your saved card once more (after a decline, or once you have saved a new card), or takes credit you have just added. Nothing is charged by this call itself, and the order is never charged twice. Poll the order to see it move on.

Authorized as the order's own kind (`domains:Register`, `domains:Transfer` or `domains:Renew`) on its domain.

**Idempotency:** retrying is always safe: a repeated call (with or without the same `Idempotency-Key`) only makes the order due again; it never charges twice.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `order_id`: The domain order's id (`dor_…`).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/domain-orders/dor_06gk3x9tq7m2v8r4y1c5d0zp8w/retry-payment" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `202`:

```json
{
  "id": "dor_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "domain_id": "dom_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "domain_name": "example.com",
  "kind": "register",
  "years": 1,
  "amount_minor": 1059200,
  "currency": "NGN",
  "status": "pending",
  "failure_code": "insufficient_credit",
  "refunded": true,
  "payment_url": "payment-url",
  "payment_expires_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "completed_at": "2026-10-03T09:30:00Z"
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs (`read` for GET, `write` for changes; an AI app's key also needs `delete` for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.
`FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (`Pantech-Client: mcp/…`). An owner can turn it on in the console under Organization › AI apps.
- `404`: `DOMAIN_ORDER_NOT_FOUND`: no domain order with this id in your organization. List a domain's orders to find it.
`RESOURCE_NOT_FOUND`: the id is not a domain order id (`dor_…`). Check the id.
- `409`: `DOMAIN_ORDER_NOT_AWAITING_PAYMENT`: the order is not waiting for a payment, or its payment window has ended. Place the order again.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `DOMAINS_UNAVAILABLE`: domains are not sold on this deployment yet, or not to this organization until its billing is set up. Try again later, or finish billing setup in the console.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
