Billing API π‘ BETA
The billing family holds the routes mounted for plans, invoices and billing administration.
Endpoints
Exact lines from the Generated api-billing reference; the generated page is the full table.
| Method | Path |
|---|---|
| POST | /api/billing/accept-offer |
| GET | /api/billing/address |
| POST | /api/billing/cancel |
| GET | /api/billing/invoices |
| GET | /api/billing/invoices/:param |
| PUT | /api/billing/invoices/:param/send |
| PUT | /api/billing/invoices/:param/void |
| GET | /api/billing/invoices/export |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
POST /api/billing/accept-offer HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Billing accept offer | POST /api/billing/accept-offer |
botserver/crates/botbilling/src/billing_admin/bd_to_f64.rs |
| Billing address | GET /api/billing/address |
botserver/crates/botbilling/src/billing_admin/bd_to_f64.rs |
| Cancel billing | POST /api/billing/cancel |
botserver/crates/botbilling/src/billing_admin/bd_to_f64.rs |
| Billing invoices | GET /api/billing/invoices |
botserver/crates/botbilling/src/api/accept_quote.rs |
| Billing invoices | GET /api/billing/invoices/:param |
botserver/crates/botbilling/src/api/accept_quote.rs |
| Invoices send | PUT /api/billing/invoices/:param/send |
botserver/crates/botbilling/src/api/accept_quote.rs |
| Invoices void | PUT /api/billing/invoices/:param/void |
botserver/crates/botbilling/src/api/accept_quote.rs |
| Export invoices | GET /api/billing/invoices/export |
botserver/crates/botbilling/src/billing_admin/bd_to_f64.rs |
Limits
- The Generated api-billing reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-billing reference - Full verified route table.
- Admin API
- Tasks API
- Reports API