Create a quote

Prices one purchase and locks the total for a few minutes. Every order is priced by a quote: one created here, or one POST /api/v1/orders makes itself from an item that takes exactly this request's members. Requires the quotes.create scope. Send the selected product's sellCurrency as currency; product/variant denomination currency and faceValue are not the wallet price. A new quote's status is active; read it back with GET /api/v1/quotes/{quoteId}. Refused while the workspace's API access is inactive (403 api_access_inactive).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

What to buy. A body member not listed here is refused (400 invalid_request).

uuid
required
uuid | null

An available variant id for a variant purchase. Do not also supply value.

number | null

Positive denomination in product currency for a purchase without variantId. Must satisfy the current range, increment, and currency precision. If omitted, the product's default faceValue is used when available.

integer
required
1 to 20
string
required

Must equal the selected product's sellCurrency (settlement currency), which can differ from its denomination currency.

Headers
string
length ≤ 128
^[A-Za-z0-9._:-]{1,128}$

Your own correlation id, carried through Xegora's logs and audit records and returned in correlationId. Kept when it is 1–128 characters of ASCII letters, digits, ., _, : and -; anything else is replaced by an id of Xegora's.

string
enum

The language an error's message, title and detail are written in; without it, Accept-Language decides, then English. Successful responses are not translated.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json