Skip to main content
POST
Quote purchase
Send the same tarif fields as Create purchase. The tariff alias and dotted keys such as tarif.id are also accepted. The price is recalculated at checkout.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Body

application/json

Same tariff fields as purchase creation. Also accepts the tariff alias and dotted keys.

tarif
object
required

Response

Order total, including discounts.

amount
number
required

Total after discounts, rounded to two decimal places.

Required range: x >= 0
Example:

260.82

currency
enum<string>
required
Available options:
usd,
rub
Example:

"usd"