Nopaque Limited Billing API
Subscription, usage events, capacity packs, token packs, entitlement checks.
Operations 23
GET
/workspaces/{workspaceId}/billing/plan
The plan, period, credit, custom deal and free allowances
#
GET
/workspaces/{workspaceId}/billing/usage-by-source
What used a calendar month's allowance, largest first
#
POST
/workspaces/{workspaceId}/billing/checkout
Create a Stripe Checkout session to upgrade subscription
#
GET
/workspaces/{workspaceId}/billing/entitlement
Check whether the workspace can run a job of the given type
#
GET
/workspaces/{workspaceId}/billing/purchases
List capacity-pack and token-pack purchase history
#
GET
/workspaces/{workspaceId}/billing/usage-events
List current-period usage events with budget-discount breakdown
#
POST
/workspaces/{workspaceId}/billing/v2/select-plan
Provision a Metronome customer + contract for the workspace (V2, legacy path)
#
POST
/workspaces/{workspaceId}/billing/v2/start-plan-switch
Start a Stripe Checkout session to capture a card before a V2 plan switch
#
POST
/workspaces/{workspaceId}/billing/v2/cancel
Cancel a Starter or Team plan at the end of the current billing period
#
POST
/workspaces/{workspaceId}/billing/v2/upgrade-to-team
Start a Stripe Checkout session to upgrade a personal workspace to Team in…
#
POST
/workspaces/{workspaceId}/billing/v2/start-pack-purchase
Start a Stripe Checkout session for a one-time V2 pack purchase
#
GET
/workspaces/{workspaceId}/billing/v2/packs
List every pack ever purchased on the workspace's Metronome contract (V2)
#
GET
/workspaces/{workspaceId}/billing/v2/usage
Get aggregated Metronome usage for the workspace's current contract period (V2)
#
GET
/workspaces/{workspaceId}/billing/v2/invoices
List every invoice on the workspace's Metronome customer record (V2)
#
GET
/workspaces/{workspaceId}/billing/v2/stripe-invoices
List the invoices sent to the workspace, with PDF links (V2)
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-billing-info-schema.json
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-workspace-plan-summary-schema.json
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-v2-balance-response-schema.json
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-pricing-schema.json
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-entitlement-schema.json
JSONSchema
https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-usage-summary-schema.json