List purchases

GET
/v1/orders

Everything bought across products, newest first: each number order, each domain registered and each block of mailbox licences.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Query Parameters

limit?integer

How many to return

Range1 <= value <= 100
Default25
cursor?string

nextCursor from the previous page

product?string
Value in"number""domain""licence"
status?string

Domains and licences are recorded once delivered, so they are completed

Value in"completed""failed""open"
q?string

Text to look for in the domain, or digits of a number

Length1 <= length <= 100

Response Body

Success

application/json
  1. response

Success

data*array<||>
nextCursor*|

Pass as cursor for the next page. null on the last page

total*integer

How many match across every page

Range0 <= value
curl -X GET "https://example.com/v1/orders"
{  "data": [    {      "product": "number",      "id": "string",      "placedAt": "2026-10-07T11:04:31.000Z",      "order": {        "id": "ord_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",        "status": "completed",        "customerId": "cus_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",        "country": "US",        "product": "any_service",        "service": null,        "duration": "30d",        "quantity": 1,        "fulfilledCount": 1,        "autoRenew": true,        "unitPrice": 1200,        "totalPrice": 1200,        "currency": "USD",        "failure": null,        "numbers": [          {            "id": "num_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",            "number": "15550100002",            "country": "US",            "product": "any_service",            "service": null,            "status": "active",            "customerId": "cus_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",            "orderId": "ord_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",            "nickname": "Support line",            "startsAt": "2026-10-07T11:04:31.000Z",            "endsAt": "2026-11-06T11:04:31.000Z",            "autoRenew": true,            "renewDuration": "30d",            "unitPrice": 1200,            "customerPrice": null,            "paidTotal": 1200,            "messageCount": 3,            "createdAt": "2026-10-07T11:04:31.000Z"          }        ],        "createdAt": "2026-10-07T11:04:31.000Z",        "updatedAt": "2026-10-07T11:04:31.000Z"      }    }  ],  "nextCursor": null,  "total": 1}