Buy a domain
Changed onRegisters a domain through the built-in registrar in the owner's name: registrant becomes the legal registrant on record with the registry, so ask the business owner for these details rather than inventing them. If the account has a card on file the purchase is charged immediately (charged: true, no redirect); otherwise the response includes a Stripe Checkout URL (checkout_url) to complete payment. The domain is created in pending_payment and becomes active once payment completes and registration succeeds. Poll GET /domains/{id} for status. Buying accepts the domain registration terms at https://crevio.co/legal/terms-of-service#7a-domain-names.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
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.
Request body
The domain to buy (check availability first).
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
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
1 more change in this revision
- warning