List a subscription's invoices
Every invoice minted at a renewal cycle for this subscription, newest first. Bounded (latest 100); not paginated. amount/currency is one already-resolved figure per invoice: the linked capture’s settlement earnings when one is available in the invoice’s own fiat currency, falling back to the merchant’s fiat amount, then to the settlement-token amount. Every field on this resource is camelCase on the wire.
Authorizations
Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.
Path Parameters
Subscription UUID (the id field from the list response, not stripeSubscriptionId).
Response
The subscription's billing history.
issued, paid, voided The settled amount for this cycle: the linked capture's settlement earnings (net + fee + vat) when one is available in the invoice's own fiat currency, else the merchant's fiat_amount, else the settlement-token amount. Already resolved server-side — never recompute this.
Derived from the linked capture's dispute state, never persisted — reverts to false the instant a won dispute restores the capture. Only ever true when status is 'paid'.