Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Body

application/json
domain
string
required

The domain to buy (check availability first).

registrant
object
required

The legal owner of the domain, recorded with the registry. Must be real, current contact details: the registry may email email to confirm it, and inaccurate details can get the domain suspended.

Response

Checkout created

object
string
id
string
domain
string
status
string
checkout_url
string
hint
string