Set Plan Price
set_plan_priceAdd or update a recurring price on a plan. A plan can carry several prices (e.g. monthly + yearly); each is identified by its currency + interval, and setting one is idempotent — an existing price for the same currency + interval is replaced, others are preserved. Arguments: key (plan key), amount (>= 0), interval (day | week | month | year), currency (ISO code). currency may be left out when the plan's prices all use one currency — that one is used; otherwise it is the developer's decision, and the tool changes nothing and returns DECISION_NEEDED asking for it. Use remove_plan_price to delete a price. Returns the full plan. Before writing app code that consumes this, call get_integration_guide with topic=billing and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| key | Yes | Plan KEY (see list_plans). | |
| amount | Yes | Price per interval, >= 0. 0 for a free tier. | |
| currency | No | ISO currency code. Omit only to use the plan's one existing price currency. | |
| interval | Yes | Billing recurrence interval. |