update_payment_gateway
Update payment gateway settings: toggle enabled status, change title, and modify configuration. Gateway availability depends on plugins; this tool edits existing gateways only.
Instructions
Update a payment gateway. Use to enable/disable gateways, change titles, or modify settings. Gateways cannot be created or deleted — they come from plugins.
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": {
"id": "<id>"
},
"name": "update_payment_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gateway ID (e.g. cod, bacs, stripe, razorpay) | |
| order | No | Sort order for gateway display | |
| title | No | Gateway display title | |
| fields | No | Comma-separated fields to return in response | |
| enabled | No | Enable or disable the gateway | |
| settings | No | Gateway-specific settings as key-value pairs | |
| description | No | Gateway description shown at checkout |