Loading…
Name.ai handles payment, buyer registration, and domain transfer. You generate a hosted checkout link and redirect your buyer to it. Your commission is credited at settlement. This option is available to every partner — it's the only option for non-MoR partners.
Returns a hosted lander URL (checkout_url) that carries a signed partner-origin token. Send your buyer to this URL.
| Field | Required | Description |
|---|---|---|
| domain | Yes | Domain the buyer wants to purchase. |
| return_url | No | Where to redirect the buyer after successful purchase. |
| cancel_url | No | Where to redirect the buyer if they leave without buying. |
POST /api/partner/v1/checkout-session
Content-Type: application/json
X-NameAI-Key-Id: pk_live_xxx
X-NameAI-Timestamp: <ts>
X-NameAI-Nonce: <uuid>
X-NameAI-Signature: v1=<hmac>
{
"domain": "custodylawyer.com",
"return_url": "https://yoursite.com/success",
"cancel_url": "https://yoursite.com/domains"
}{
"checkout_url": "https://name.ai/lander/custodylawyer.com?pt=eyJhbGci...",
"domain": "custodylawyer.com",
"price_cents": 2500000,
"currency": "USD",
"payment_model": "name_ai_collected",
"expires_in_seconds": 604800
}The checkout_url contains a signed ?pt= token that encodes your partner ID. When the buyer completes payment on the lander, name.ai records the sale against your partner account. You see it in GET /transactions and GET /settlements.
The token is valid for 7 days. Generate a fresh checkout session per buyer session — do not cache and share one URL across buyers.
Next: Settlement →