The Billing API manages prepaid wallet balance, Stripe top-ups, auto top-up settings, ledger history, usage summaries, monthly charges, statements, and hybrid managed-service preferences.
Billing endpoints use the /v1/billing prefix:
Billing endpoints use authenticated user context for the current organization. Wallet top-up and auto top-up require a verified user account.
Get Wallet Balance
Returns wallet balance, reserved funds, available balance, auto top-up settings, trial state, and current pricing knobs.
Create Wallet Top-Up
Creates a Stripe PaymentIntent for adding funds to the wallet. Minimum amount is $1.00.
Configure Auto Top-Up
Enable auto top-up by providing a threshold, amount, and payment method. Disable it with enabled: false.
Get Ledger Entries
Get Usage Summary
Get Charges Summary
List Statements
Get Statement
The month path parameter must be a date string in YYYY-MM-DD format. Burki normalizes it to the first day of that month.
Managed Services
Update hybrid mode preferences:
Admin Credit Grants
This endpoint is restricted to users with admin role.