update_subscription
Modify subscription plans or payment methods for Conekta customers by updating plan IDs and card IDs to manage recurring billing changes.
Instructions
Update a subscription.
Args: customer_id: The Conekta customer ID subscription_id: The subscription ID plan_id: New plan ID card_id: New payment source ID
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": {
"customer_id": "<customer_id>",
"subscription_id": "<subscription_id>"
},
"name": "update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| subscription_id | Yes | ||
| plan_id | No | ||
| card_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |