Browse the docs

Monitor and integrate

Billing and invoices

GET/v1/invoices returns the invoices of the account the key belongs to, most recent first: the ones of the billing page.
FieldMeaning
typesubscription, credit_purchase, auto_recharge or other
statusdraft, open, paid, uncollectible, void
totalCents, amountPaidCentsTax included, in euro cents
numberThe number printed on the invoice; null while it is a draft
invoiceUrlThe invoice's page, with its PDF

Filter on status=paid for the payment history. Invoices page with a cursor: pass nextCursor as cursor for the next, older page. Each response carries tenantName, so invoices fetched with the keys of several accounts can be told apart.