Skip to Content

Get one order

GET
/developer/orders/{orderId}

One order of a server the key can see, with the result reported by the game when it completed. An order of another organization or of a server outside the key returns 404. Requires the orders_read scope.

Authorization

organizationApiKey
headerAuthorizationBearer <token>

Organization API key, sent as Authorization: Bearer dz_live_<publicId>_<secret> (dz_test_ keys exist outside production). The secret is shown once, when the key is created. A key has a closed list of scopes (currently servers_read and orders_read), an optional list of servers it can see, an optional expiration and a per-minute rate limit. A key that does not exist, was revoked, expired, belongs to another environment or is wrong gets the same 401 API_KEY_INVALID; a missing scope gets 403 API_KEY_SCOPE_INSUFFICIENT. No cookies or CSRF tokens are involved.

Path Parameters

orderId*string

Opaque identifier: a type prefix plus a ULID (26 Crockford base32 characters), for example srv_01JADXRHEM3E2MSH4DMDZSX9G8. Clients must not parse it.

Match^[a-z]{2,5}_[0-9A-HJKMNP-TV-Z]{26}$

Response Body

The order.

application/json
  1. response

An order sent to a server of the organization, as seen by an API key. It never contains the viewer name or message, who paid, the payment method, credit used or the other parts of the split.

id*Id

Opaque identifier: a type prefix plus a ULID (26 Crockford base32 characters), for example srv_01JADXRHEM3E2MSH4DMDZSX9G8. Clients must not parse it.

Match^[a-z]{2,5}_[0-9A-HJKMNP-TV-Z]{26}$
serverId*Id

Opaque identifier: a type prefix plus a ULID (26 Crockford base32 characters), for example srv_01JADXRHEM3E2MSH4DMDZSX9G8. Clients must not parse it.

Match^[a-z]{2,5}_[0-9A-HJKMNP-TV-Z]{26}$
gameId*GameId

Game id (dayz, rust...), the same format as the Connector Protocol. custom is reserved. Open string: new games are added over time.

Match^(?!custom$)[a-z][a-z0-9]{1,15}$
streamer*|

Streamer of the live (the data of the public page). null for a test order started from the dashboard.

actionKey*ActionKey

Action key, the same format as the Connector Protocol. Official action: <gameId>.<name> (for example dayz.break_leg). Custom action: custom.<organizationSlug>.<name>.

Match^(?:(?!custom\.)[a-z][a-z0-9]{1,15}|custom\.[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?)\.[a-z][a-z0-9_]{1,47}$
actionVersion*integer
Range1 <= value
params*

Parameter values by key (for example { "count": 3, "radius": 25 }).

Propertiesproperties <= 8
status*ViewerOrderStatus

Order status. paid: payment confirmed, checks in progress. queued: order created, waiting for its turn (see waitingReason). delivered: the connector pulled it. running: executing. rejected: blocked before executing (backend or connector). canceled: paid and canceled before executing.

Value in"pending_payment""payment_expired""paid""queued""delivered""running""completed""failed""expired""rejected""canceled"
waitingReason*|null
failureReason*|null
expiredWhileWaitingFor*|null
mode*string
Value in"sandbox""live"
isTest*boolean
price*

Amount in integer minor units (cents) plus currency. Never a float. Amounts in different currencies are never added or converted.

serverOwnerShare*|

Part of the split that goes to the organization that owns the server. null while there is no split (order not paid yet, or dashboard test order).

result*|

The result object of the final completed acknowledgement as the backend stored it (-0 becomes 0). Data declared by the mod, never verified: check resultStatus before using it. Present for valid, invalid and undeclared; null for absent and for any status other than completed.

resultStatus*|

Classification of result against the copy of the resultSchema pinned to the order on its first delivery (protocol 1.4): valid matches, invalid does not match, undeclared = action without resultSchema that sent a result, absent = no resultSchema and no result. Written once, on the completed acknowledgement; null in any other status. It never affects money or the order status.

createdAt*Timestamp

Instant in UTC with millisecond precision (2026-10-16T12:00:00.000Z). The server clock is the reference for every time window.

Match^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Formatdate-time
paidAt*|null
expiresAt*|null
finishedAt*|null
updatedAt*Timestamp

Instant in UTC with millisecond precision (2026-10-16T12:00:00.000Z). The server clock is the reference for every time window.

Match^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Formatdate-time
curl -X GET 'https://sandbox-api.dropsz.gg/v1/developer/orders/srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A'
Example Response
{  "id": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",  "serverId": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",  "gameId": "dayz",  "streamer": {    "id": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",    "slug": "string",    "displayName": "string"  },  "actionKey": "dayz.break_leg",  "actionVersion": 1,  "params": {    "count": 3,    "radius": 25  },  "status": "pending_payment",  "waitingReason": "COOLDOWN_ACTIVE",  "failureReason": "ORDER_EXPIRED",  "expiredWhileWaitingFor": "COOLDOWN_ACTIVE",  "mode": "sandbox",  "isTest": true,  "price": {    "amountCents": 1000,    "currency": "BRL"  },  "serverOwnerShare": {    "bps": 0,    "amount": {      "amountCents": 1000,      "currency": "BRL"    }  },  "result": {    "property1": null,    "property2": null  },  "resultStatus": "valid",  "createdAt": "2026-10-15T22:41:03.000Z",  "paidAt": "2026-10-15T22:41:03.000Z",  "expiresAt": "2026-10-15T22:41:03.000Z",  "finishedAt": "2026-10-15T22:41:03.000Z",  "updatedAt": "2026-10-15T22:41:03.000Z"}