Documentation Index
Fetch the complete documentation index at: https://docs.billingos.dev/llms.txt
Use this file to discover all available pages before exploring further.
Install the packages
| Package | Where it runs | Purpose |
|---|---|---|
@billingos/sdk | Browser (React) | UI components, hooks, client |
@tanstack/react-query | Browser (React) | Data fetching and caching (peer dependency) |
Peer dependencies
The React SDK requires these peer dependencies:react and react-dom. You just need to add @tanstack/react-query if you don’t have it already.
Requirements
- React 18.0 or later (React 19 supported)
- Node.js 18.0 or later (for the server SDK)
Environment variables
Add your BillingOS secret key to your server environment:.env.local