Skip to main content
GET
Русская версия Sign the request with HMAC v2. Requires the public-api:exchange:routes:read scope. Pass route_id or identify both sides of the exchange. direction_id aliases route_id. The send currency accepts from_currency_id, income_payment_system, from, and from_code. The receive currency accepts to_currency_id, outcome_payment_system, to, and to_code. If you supply multiple selectors, they must all match the same active route.

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"

Query Parameters

route_id
integer

ID of an active route. With a route ID, you can omit the currency pair.

Required range: x >= 1
direction_id
integer

Alias for route_id. Both values must match if supplied together.

Required range: x >= 1
from_currency_id
integer

ID of the currency sent by the customer, from the payment system list.

Required range: x >= 1
to_currency_id
integer

ID of the currency received by the customer, from the payment system list.

Required range: x >= 1
from
string

Identifier of the currency the customer sends.

Maximum string length: 64
Example:

"USDT"

to
string

Identifier of the currency the customer receives.

Maximum string length: 64
Example:

"USD"

income_payment_system
integer

Alias for from_currency_id.

Required range: x >= 1
outcome_payment_system
integer

Alias for to_currency_id.

Required range: x >= 1
from_code
string

Identifier of the send currency, accepted as an alias of from.

Maximum string length: 64
to_code
string

Identifier of the receive currency, accepted as an alias of to.

Maximum string length: 64

Response

Exchange route details compatible with client operation payload.

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