v2
admin
credits
admin
Export Credit Transactions
Changed onExport CreditTransaction rows in [start, end].
Capped at CREDIT_EXPORT_MAX_DAYS days and CREDIT_EXPORT_MAX_ROWS rows; over-cap requests fail fast with 400 so callers narrow the window instead of receiving silently truncated data.
get/api/credits/admin/transactions/export
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
startstring date-time nullable
ISO timestamp (inclusive)
endstring date-time nullable
ISO timestamp (inclusive)
transaction_type'TOP_UP' | 'USAGE' | 'GRANT' | 'REFUND' | 'CARD_CHECK' | 'SUBSCRIPTION'
user_idstring nullable
include_inactiveboolean
Include inactive rows (e.g. abandoned Stripe checkouts). Off by default so phantom rows aren't surfaced in normal exports.
Response
Successful Response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking