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/purchasesAuthentication
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
totalAmountPaidByCustomer— Sum of amounts paid across all orders in this charge (USD cents)totalTons— Sum of certified offset tons onlycertificateUrl— Link to the impact certificate page for this purchase
Purchases are sorted by createdAt descending.
Error responses
- 403 — Missing or invalid authentication



