wp_woocommerce_update_payment_gateway
Enable, disable, or configure WooCommerce payment gateways by updating title, description, and gateway-specific options.
Instructions
Enable/disable or configure a WooCommerce payment gateway.
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": "wp_woocommerce_update_payment_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gateway ID (e.g. "bacs", "cheque", "cod", "paypal", "stripe") | |
| title | No | Customer-facing title | |
| enabled | No | Enable or disable the gateway | |
| options | No | Additional gateway-specific options | |
| description | No | Customer-facing description |