Billing

Start a checkout

Create a hosted checkout the account owner completes, so a caller that has hit its cap has somewhere to send them. Returns a URL and charges nothing. Requires the billing:write scope. Only for an account with no plan yet: changing a plan that already exists charges the card on file, so it answers 409 with the page where a person does that.

post/v1/billing/checkout

Request

  • Base URL: https://dnsmint.com/api
  • URL: https://dnsmint.com/api/v1/billing/checkout
  • Auth: HTTP bearer

Request body

hostnamesinteger

Hostnames the plan should include.

domainsinteger

Dedicated domains the plan should include.

Response

A checkout to open

checkout_urlstring required

Where the account owner completes the purchase.

amount_centsinteger required

What the plan costs each month, in cents.

selectionobject required

The plan being bought: domains per pool, and hostnames.

Changes

No recorded changes to this operation across all 1 revision of this API.