Skip to main content
GET
cURL

Query Parameters

locale
enum<string>
Available options:
ru,
en

Response

Checkout

id
string<uuid>
required
planVersionId
string<uuid>
required
plan
object
required
operation
enum<string>
required
Available options:
purchase,
renew,
upgrade,
downgrade
currency
string
required
providers
object[]
required
applyWallet
boolean
required
quote
object
required

The exact application breakdown. Every figure is computed on the server, so the number a customer is asked to approve and the number they are charged cannot be arrived at two different ways.

subscriptions
object[]
required

The subscriptions this checkout could target.

targetRequired
boolean
required

A target must be named before this checkout can be confirmed.

multiSubscription
boolean
required

False means the panel renders no picker at all.

squads
object
required
selectedSquadIds
string<uuid>[]
required
squadSelection
object
required

Whether the server choice still stands between this checkout and a price. A plan that asks the customer to choose servers opens with required: true and no quote rather than failing; reason is the commerce vocabulary the panel already explains.

quoteAvailable
boolean
required

False while the quote is withheld; quote then carries only the currency.

addons
object[]
required
selectedAddons
object[]
required
provider
string
promoCode
string
promoRejection
enum<string>

Why the entered code does not apply. Present on a 200, not an error.

Available options:
promo_unknown,
promo_ineligible,
promo_exhausted,
promo_invalid
subscriptionId
string
newSubscription
boolean
termsUrl
string
expiresAt
string<date-time>