Skip to content

Orders

Scope: orders:read.

Parameters: offset, limit, family, status, client_reference (exact match).

An unknown value of family or status is read as “no filter”. The order is fixed and cannot be configured: newest first.

FieldMeaning
product, kind, familywhat was bought; kind: resident or ipv4
quantitynumber of units bought: addresses for ipv4; for a traffic order always 1 - one package was bought, and the volume is in packages[].traffic.purchased_gb
price_per_proxy, totalunit price (total / quantity) and order amount; equal for a traffic order
statussee below
applied_to_package_idnot empty - the order was applied to an existing package: a traffic top-up or an address renewal
client_referenceyour label from the purchase body
packagesthe traffic package the order issued. Empty for a top-up and for fixed address orders - read their packages via GET /api/v1/packages?family=dedicated, the card has order_id

Same shape as in the list. An order of another account answers 404 without a code key.

A purchase completes within the request, so in the POST /api/v1/packages response the order is already completed. The other statuses show up when reading orders.

StatusWhat to do
pending, provisioningpoll every 5-10 seconds
completeddone: the traffic package is in packages[0], the address package is in package_id of the purchase response
failedmoney not charged or returned, you can retry
refundedmoney returned by a support decision; retry as a new purchase
needs_attentionmoney charged, handled manually. Do not buy again, contact support

Instead of polling orders you can read the event log.