Checkout Purchase Domains
POST /provider-domains/checkout-purchase
Buy one or more sending domains. SPENDS REAL CREDITS — unrestricted, same as the app; there is no per-key spend cap.
Send an Idempotency-Key header to make a retry safe (a repeat with the
same key returns the original response instead of buying twice). Returns
402 if the credit hold can’t clear, 422 if the org’s plan can’t fund a
purchase at all (same gate the app UI checks), 400 for a pilot-only
provider or an unsupported TLD.
Authorizations
Parameters
Header Parameters
Request Body required
Buy one or more sending domains. Spends real credits — see the 402 contract on the route docstring.
object
Registrant contact used for domain registration
object
Domains to buy, e.g. [‘acme-outreach.com’]. Up to 50 per request.
Registration period, in years
Provisioning path. ‘pilot’ is limited to allowlisted orgs and otherwise returns 400.
Extra domains bought as spare warm-up capacity (warm from day 0, excluded from sending until promoted). Up to 50 per request.
Responses
202
Successful Response
object
object
422
Validation Error