List purchases
List purchases visible to the authenticated tenant, ordered by
purchased_at descending. Use cursor pagination via since and limit.
Authentication
AuthorizationBearer
Production machine-to-machine flow. Tokens issued by Descope.
OR
AuthorizationBearer
Developer-exploration flow with PKCE. Used by Postman Guided Auth.
Query parameters
member_id
Filter purchases to a single member.
plan_id
Filter purchases to a single plan. Must be one of the plans the token is authorized for; otherwise the API returns 403 Forbidden.
ndc
Filter to a single NDC-11 drug code.
prescriber_spi
Filter to purchases written by a specific prescriber (Surescripts SPI).
event_type
Filter purchases to a single event type (e.g., only reversals).
status
Filter purchases by processing status (e.g., only rejected).
Allowed values:
since
Cursor or ISO 8601 UTC timestamp. Returns purchases after this point.
until
ISO 8601 UTC timestamp upper bound (exclusive).
limit
Max results per page.
Response
A page of purchases.
data
next_cursor
Pass as since to fetch the next page. Null when no more pages.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error