API referenceBilling
`GET /billing/payment-methods` — the org's saved cards from Stripe. Any admin may view (masked display fields only); empty when the org has never had a Stripe customer. A management API that does not answer is a `503`, never an empty list.
curl -X GET "https://example.com/billing/payment-methods"{ "data": [ { "brand": "string", "expiry_month": 0, "expiry_year": 0, "id": "string", "is_default": true, "last4": "string" } ], "page": 0, "page_size": 0, "total": 0, "total_pages": 0}`GET /billing/invoices` — the org's Stripe invoice history (every billing period since the subscription started), newest first, each with a Stripe-hosted page + downloadable PDF link. Served through the management API, which holds the org's Stripe customer. Empty (not an error) when the org has never had a Stripe customer; a management API that does not answer is a `503`, never an empty list. GET
Previous Page
`PATCH /billing` — update billing settings. PATCH
Next Page