Skip to main content
The Purchase resource represents a purchase made by a user — subscriptions and vote purchases across payment platforms. These endpoints are read-only.
Purchase endpoints are served under an /api prefix, unlike the other resources in this reference.

Sample payload

Endpoints

Get all Purchases for a User

GET /api/users/<user_id>/purchases Retrieve all purchases for a user.
user_id
string
required
Unique identifier of the user.

Get a single Purchase

GET /api/purchases/<purchase_key> Retrieve a single purchase by its key.
purchase_key
string
required
Unique key of the purchase.