v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v1
credits

List Stripe invoices

Recent Stripe invoices for the current user.

Each item includes hosted_invoice_url (Stripe-hosted view) and invoice_pdf_url (direct PDF download). Returns an empty list when the credit system is disabled or the user has no Stripe customer yet.

get/api/credits/invoices

Query parameters

limitinteger

Response

Successful Response

idstring required
numberstring nullable
created_atstring date-time required
total_centsinteger required
amount_paid_centsinteger required
currencystring
statusstring required
descriptionstring nullable
hosted_invoice_urlstring nullable
invoice_pdf_urlstring nullable