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.| Field | Meaning |
|---|---|
type | subscription, credit_purchase, auto_recharge or other |
status | draft, open, paid, uncollectible, void |
totalCents, amountPaidCents | Tax included, in euro cents |
number | The number printed on the invoice; null while it is a draft |
invoiceUrl | The 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.
