create_subscription_plan
Creates recurring subscription plans for live vendors to sell memberships or recurring billing and returns a planId for subscription checkout.
Instructions
Create a recurring subscription plan (e.g. Pro at $12/month) for a live vendor, to sell subscriptions, memberships or recurring billing. Returns a planId for create_subscription_checkout. Renewals are charged to the stored card automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"env": "<env>",
"vendorId": "<vendorId>",
"access_token": "<access_token>",
"name": "<name>",
"price": "<price>",
"currency": "<currency>",
"periodUOM": "<periodUOM>"
},
"name": "create_subscription_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | ||
| name | Yes | Plan name shown to the customer, unique per vendor, e.g. "Pro" | |
| price | Yes | Price per period in major units, e.g. 12 = $12 | |
| period | No | Number of periodUOM per cycle, default 1 | |
| currency | Yes | ||
| vendorId | Yes | ||
| periodUOM | Yes | ||
| access_token | Yes | The vendor's paas.build access token for this env (PAAS_SANDBOX_ACCESS_TOKEN / PAAS_PROD_ACCESS_TOKEN, returned by go_live and emailed to the builder) |