Order a new hosting package, paid on account. First call POST /hosting/order/quote with the same body, then send its amount as accept_price. Without accept_price the answer is 400 with the quote; when the price differs it is 409 with the new quote. Send an Idempotency-Key header so a retried request cannot order twice. Poll GET /orders/{order_id} until the package is set up, then find it with GET /hosting?domain=.Scope: hosting:purchase.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.