Skip to main content
GET
Русская версия Sign the request with HMAC v2. Requires the public-api:partner:exchanges: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"

Query Parameters

page
integer
default:1

Page number, starting at 1.

Required range: x >= 1
per_page
integer
default:25

Maximum number of items per page.

Required range: 1 <= x <= 100
pagination
enum<string>
default:page

Use cursor for large datasets. Cursor pagination supports only sort=id or sort=-id; omitted sort defaults to -id. The first page uses pagination=cursor; continuation requests send the returned cursor and may omit both pagination and sort. If sort is repeated, its direction must match the cursor.

Available options:
page,
cursor
cursor
string | null

Opaque cursor returned in meta.pagination.next_cursor. Do not modify or combine it with the opposite id sort direction.

filter[id]
integer

Filter by the resource record ID.

filter[order_id]
integer

Identifier of the linked order.

filter[client_id]
integer

ID of the referred customer.

filter[status]
string

Filter by the current record status.

filter[order_public_id]
string

Public identifier of the linked order.

filter[order_tracking_id]
string

Tracking identifier of the linked order.

filter[client_email]
string

Email address of the referred customer.

filter[bonus_min]
string

Lower bound for the referral bonus.

filter[bonus_max]
string

Upper bound for the referral bonus.

filter[created_from]
string<date>

Lower bound for creation time. Use ISO 8601 with a time zone.

filter[created_to]
string<date>

Upper bound for creation time. Use ISO 8601 with a time zone.

sort
string

Comma-separated fields (id, order_id, status, created_at, bonus). Prefix a field with a minus sign for descending order. Cursor pagination accepts only id or -id.

Pattern: ^-?(id|order_id|status|created_at|bonus)(,-?(id|order_id|status|created_at|bonus))*$
filter[client_name]
string

Exact name of the referred customer.

Response

Partner exchange accruals.

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