@usefin/plugin-billing
v0.1.0
Published
Subscription Billing & Revenue provider plugins for fin CLI
Readme
@usefin/plugin-billing
Subscription Billing & Revenue provider plugins for the fin CLI. Only supported (GA) providers are exposed (Sage Intacct, Zuora, Chargebee, Recurly, Paddle). List, get, create, update, delete where the provider API supports them. Use --data '{"key":"value"}' for create and update. When authenticated, real API client is used; mock fallback when not.
Installation
Included when you install the main usefin CLI.
Auth setup
usefin auth:login <provider> then usefin doctor
Usage
Objects: subscriptions, invoices, plans. All commands support list/get; create, update, and delete are available where the provider API supports them. Use --data '{"key":"value"}' for create and update.
| Example |
|--------|
| usefin <provider>:subscriptions:list --json |
| usefin <provider>:subscriptions:get <id> |
| usefin <provider>:subscriptions:create --data '{}' (where supported) |
| usefin <provider>:subscriptions:update <id> --data '{}' |
| usefin <provider>:subscriptions:delete <id> |
