Skip to main content
GET
List a fan's purchases

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in OnlyX under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Path Parameters

fanId
string
required

The fan id (fan_…), from GET /v1/fans.

Maximum string length: 40

Query Parameters

limit
integer
default:25

Page size, 1-100. Default 25.

Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor from the previous page's nextCursor. Omit for the first page.

Maximum string length: 1024

Response

A page of purchases, newest first.

A page of purchases: {data, hasMore, nextCursor}.

data
Purchase · object[]
required
hasMore
boolean
required
nextCursor
string | null