Manage a payment method
manage_payment_methodAdd, rename, enable, disable or delete Wallos payment methods. Deletion is blocked while subscriptions still reference the method, so you can safely clean up unused options.
Instructions
Adds, renames, enables, disables or deletes a payment method. Wallos refuses to delete one that subscriptions still use.
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": {
"action": "<action>"
},
"name": "manage_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The entry to edit or delete, by name or id. Required for edit and delete, ignored for add. | |
| name | No | Payment method name, e.g. "Visa". Required for add. | |
| action | Yes | What to do: add a new entry, edit an existing one, or delete it. | |
| enabled | No | Whether it shows up when picking a payment method. | |
| icon_url | No | Image URL that the Wallos instance downloads as the icon. |