Billing & subscriptions
Chargebee mock API
Chargebee Product Catalog 2.0: customers, items, item prices, subscriptions, invoices and webhook events.
At a glance
- Operations
- 499
- Stateful operations
- 24
- Stateful resources
- 5
- Webhook events
- 7
- Vendor API version
- v2
- Verification
- Spec-verified
How it works
Use Chargebee without calling Chargebee, Inc.
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
Authorization: Basic dGVzdF9hcGlfa2V5Og== State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Customers | 5 |
| Items | 5 |
| Item prices | 5 |
| Subscriptions | 7 |
| Invoices | 2 |
Webhooks
Events your handlers can receive
- customer_created
- subscription_created
- subscription_cancelled
- invoice_generated
- payment_succeeded
- subscription_paused
- subscription_resumed
Deliveries are unsigned: Chargebee authenticates webhooks with optional HTTP basic auth, not a signature
Coverage
499 operations
24 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 475 |
| Subscriptions | 7 |
| Customers | 5 |
| Item prices | 5 |
| Items | 5 |
| Invoices | 2 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
2 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the Chargebee, Inc. API description, licensed under MIT.
- Chargebee, Inc. API documentation
- Source specification
Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Request bodies are capped at 1 MiB.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Chargebee, Inc. Chargebee is a trademark of its owner.