Update WooCommerce Payment Gateway
wc_update_payment_gatewayEnable or disable a WooCommerce payment gateway and update its title and description shown at checkout.
Instructions
Update a payment gateway's settings. Use to enable/disable a gateway or change its title/description. For Stripe test mode keys, Jon handles those directly in WP Admin — this tool can enable/disable the gateway only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Gateway title shown at checkout. | |
| enabled | No | Enable or disable the gateway. | |
| gateway_id | Yes | Gateway ID, e.g. 'stripe', 'cod', 'bacs', 'cheque'. | |
| description | No | Gateway description shown at checkout. | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable. | markdown |