Custom Domain docs
API referenceRegistrar

Finalize a domain purchase after the embedded payment completes

POST
/registrar/fulfill

Verifies the session, registers the domain, captures the charge, and auto-connects the domain. Idempotent per session id (the Stripe webhook drives the same path server-side, so a closed tab never strands a paid session). 201 on first fulfillment, 200 on an idempotent replay.

Authorization

widgetJWT
AuthorizationBearer <token>

Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/registrar/fulfill" \  -H "Content-Type: application/json" \  -d '{    "session_id": "string"  }'
{  "Domain": "string",  "Registrar": "string",  "RegOrderID": "string"}
{  "Domain": "string",  "Registrar": "string",  "RegOrderID": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}