recurpay_update_subscription_coupon
WRITE: add or remove a discount code (coupon) on one subscription; it changes what the subscriber pays on the next billings. Ask the user to confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The discount code title, e.g. TEST20. | |
| action | Yes | add = apply the code, remove = take it off. | |
| subscription_id | Yes | Recurpay subscription id (from recurpay_list_subscriptions). |