latestOpenAPI 3.1.0MIT2026-08-22113168358.0 KB

2d06ad0e0bc3

Domains

Purchase Domain

Start a domain purchase. Returns a Stripe checkout URL the account owner opens and pays in a browser. Domains are billed yearly and renew automatically. The domain registers only after payment clears, and failed registrations are refunded automatically. Requires an active paid Migma subscription (returns 409 otherwise) and an API key with domain:write permission.

post/v1/domains/purchase

Request body

domainstring required

The domain to purchase, e.g. 'acme.com'

redirectUrlstring uri

Where to send the account owner after checkout completes

Response

Domain purchase started

successboolean required
errorstring nullable