createSubscription
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
customerId | string | Yes | BillingOS customer ID |
priceId | string | Yes | Price ID to subscribe to |
metadata | Record<string, any> | No | Custom key-value pairs |
Create and manage subscriptions server-side.
| Name | Type | Required | Description |
|---|---|---|---|
customerId | string | Yes | BillingOS customer ID |
priceId | string | Yes | Price ID to subscribe to |
metadata | Record<string, any> | No | Custom key-value pairs |