API REFERENCE
Recover an idempotent request and linked resources
GET
/api/v1/requests/{id}Operates on your account only. Send your API key in the Authorization header. Responses use JSON.
Request
Set BASE_URL to this website’s HTTPS origin and API_KEY to your private key. Replace RESOURCE_ID with the ID returned by the API.
cURL
curl --request GET "${BASE_URL}/api/v1/requests/RESOURCE_ID" \
--header "Authorization: Bearer $API_KEY"Headers & parameters
AuthorizationrequiredBearer YOUR_API_KEY
idpath · stringrequiredNumeric domain ID; UUID for an order, operation or request.
Response
202 means accepted, not completed. Poll the order or operation. If the outcome is unknown, do not issue another purchase. Amounts are decimal strings in USD; dates use ISO 8601.
request_idstringrequiredIdentifier used to recover an outcome after a network failure.
idstringrequiredstatusstringrequiredCurrent state. An accepted job does not mean completion.
responseobject | nullresponse_statusinteger | nullorderobjectoperationobjectmessagestringResponse structure example · illustrative values
JSON
{
"request_id": "00000000-0000-4000-8000-000000000001",
"id": "string",
"status": "string",
"response": {},
"response_status": 1,
"order": "string",
"operation": "string",
"message": "string"
}Errors & statuses
error.code · error.message · request_id
401Invalid or revoked key.
404Resource not found in your account.
409Idempotency conflict or request in progress.
422Invalid parameters or business rule, including balance.
500Outcome may be uncertain. Poll the request.
503Temporarily unavailable. Respect Retry-After.