Skip to main content
POST
Русская версия Sign the request with HMAC v2. Requires the public-api:exchange:quotes:read scope.

Authorizations

Authorization
string
header
required

Sanctum token in Authorization: Bearer <token> format.

X-Api-Timestamp
string
header
required

Positive Unix seconds or an absolute ISO 8601 timestamp with seconds and a numeric offset or Z. A fractional second may contain up to six digits.

X-Api-Nonce
string
header
required

Unique nonce per token within the signing window. Use 8 to 128 characters from A–Z, a–z, 0–9, period, underscore, colon and hyphen.

X-Api-Signature
string
header
required

Hex HMAC-SHA256 signature, optionally prefixed with sha256=.

Headers

X-Api-Signature-Version
string
required

Required version of the request signature. Use v2 on the first line of the canonical string. The eighth line is the trimmed Idempotency-Key or an empty line when there is no key. Sign the originally parsed query values.

Allowed value: "v2"
X-Correlation-Id
string

Client-defined id used to correlate API request and webhook events.

Maximum string length: 128

Body

application/json
route_id
integer
required
amount
required

Positive decimal amount without exponent notation. Clients should send a decimal string to retain precision.

Pattern: ^[0-9]+(?:[.][0-9]+)?$
Example:

"100"

direction_id
integer | null
income_payment_system
integer | null
outcome_payment_system
integer | null
from_currency_id
integer | null
to_currency_id
integer | null
from
string | null
to
string | null
from_code
string | null
to_code
string | null
income_amount

Alias of amount.

Pattern: ^[0-9]+(?:[.][0-9]+)?$
city_id
integer | null
type_rate

0/fixed = fixed rate, 1/floating = floating rate.

Available options:
0,
1
selected_fee_type
string | null
deprecated

Accepted for compatibility. Use selected_fees for selection.

Maximum string length: 50
selected_fees
object
selector_fees
deprecated

Accepted for compatibility. Use selected_fees for selection.

checkbox_agreements
object

Selected agreement keys and their checked states, as returned by the route operation contract. Fees are resolved from active server agreements available to this route.

Example:
checkbox_fees
object
deprecated

Accepted for compatibility and ignored. Send checkbox_agreements; fee values are resolved by the server.

card_verification_required
boolean | null
promo_code
string | null
Maximum string length: 64

Response

Quote without order creation.

state
enum<integer>
required
Available options:
0
message
string
required
result
object
required
meta
object
required