Management
Payment and receipt history
Money movements (card payments), as opposed to the credit ledger which records credit movements. Read live from Stripe, so it includes card details, refund state and hosted receipt links. Returns an empty list when Stripe is not configured or the user has never paid.
Authorization
BearerAuth AuthorizationBearer <token>
Clerk session token (dashboard/management routes). In local dev mode use the X-Dev-User header instead.
In: header
Query Parameters
limit?integer
Range
1 <= value <= 100Default
20Response Body
application/json
application/json
curl -X GET "https://example.com/manage/billing/payments"{ "payments": [ { "id": "pi_3PabcDEfGhIjKlMn", "amount": 2000, "currency": "gbp", "status": "paid", "credits": 22000, "packageName": "Growth", "cardLabel": "visa •••• 4242", "receiptUrl": "string", "automatic": true, "createdAt": "2019-08-24T14:15:22Z" } ], "hasMore": true}{ "error": { "code": "invalid_api_key", "message": "The provided API key is invalid or has been revoked." }}