Skip to main content

Get Order Details

Fetches full order metadata, delivered credentials/keys (deliveredPayload), and resolved customer instructions for a single order owned by your account.

Requesting an orderId that does not exist or belongs to another user returns 404 NOT_FOUND.

GET/api/v1/orders/ord_mock_001
Target: https://api.example.com
curl -sS -X GET "https://api.example.com/api/v1/orders/ord_mock_001" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json"

Path Parameters​

ParameterTypeRequiredDescription
orderIdstringYesOrder ID owned by the authenticated user.

Success Response (200 OK)​

{
"order": {
"id": "ord_mock_001",
"orderNumber": "ORD-20261130-1001",
"apiKeyId": "key_mock_01",
"status": "DELIVERED",
"total": "12.000000",
"currency": "USDT",
"paidAt": "2026-11-30T18:10:00.000Z",
"deliveredAt": "2026-11-30T18:10:00.000Z",
"createdAt": "2026-11-30T18:10:00.000Z",
"items": [
{
"id": "item_mock_001",
"productId": "prod_win11_pro",
"title": "Windows 11 Pro Retail Key",
"unitPrice": "12.000000",
"quantity": 1,
"lineTotal": "12.000000",
"deliveryType": "LICENSE_KEY",
"deliveredPayload": {
"type": "LICENSE_KEY",
"key": "WIN11-MOCK-KEY-0001"
},
"deliveredInstructions": null,
"deliveredAt": "2026-11-30T18:10:00.000Z"
}
]
}
}

Error Responses​

HTTPerror.codeCause
401UNAUTHORIZEDInvalid, revoked, or expired key
403FORBIDDEN / FRAUD_DETECTEDDisabled key, suspended user, or fraud block
404NOT_FOUNDUnknown orderId or belongs to another account
429RATE_LIMITEDRate limit exceeded
500INTERNAL_ERRORUnexpected server error