Get billing
The customer’s Stripe subscriptions, recent invoices, cards on file and monthly recurring revenue.
Deprecated aliases: GET https://one.vigilbase.com/api/customers/{id}/billing. They answer with the same bodies, with a Deprecation header and a successor-version link to this URL.
Authorizations
Send one of these:
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login. Scope: one:api.
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Read-only keys work. See organisation API keys.
Vigilbase Identity access token issued to an MCP client (mcp.vigilbase.com). Scope: one:read.
Path Parameters
Response
application/jsonSuccess
Billed through the partner: subscriptions and invoices are the partner’s, for this customer’s contracts.
Name and email on the Stripe customer; null when billed through a partner or not set up.
Recurring revenue per month in minor units, from subscriptions (or contracts when partner-billed).
9 child attributes
Product names of the items, comma separated.
4 child attributes
9 child attributes
3 child attributes
15 child attributes
Amount in the currency’s minor units (e.g. cents).
Amount in the currency’s minor units (e.g. cents).
Amount in the currency’s minor units (e.g. cents).
5 child attributes
Contracts behind partner billing; null otherwise.
2 response headers
The request ID: yours when it was well-formed, otherwise a new one. Quote it to support.
The major API version (informational; the version is in the path).
More about this endpoint in the guide.