purchases | Wren API

Purchases

The Purchases endpoint returns purchase summaries for the authenticated user — Stripe charges grouped by charge ID, with totals and links to impact certificates.

GET /api/purchases

GET /api/purchases

Authentication

Required. Use a team API token or legacy personal API token via Basic auth or Bearer token. Test tokens are not currently supported on this endpoint — use a live token.

Request

No body. No query parameters.

Success response

HTTP 200

Purchases are sorted by createdAt descending.

Error responses