wc_update_payment_gateway tool reference for StifLi Flex MCP
Writeupdates a gateway's settings by ID.
Description
updates a gateway's settings by ID.
What it is for
- Activating, deactivating, or changing the title or settings of a payment method.
Example use case
renaming a checkout method.
Sample prompt
Update the bank transfer gateway title so it appears as Secure Bank Transfer at checkout.
Sample response
{
"tool": "wc_update_payment_gateway",
"status": "ok",
"updated": true
}
What does wc_update_payment_gateway do?
updates a gateway's settings by ID.
Does wc_update_payment_gateway modify store data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with manage_woocommerce and the active MCP profile.
How should wc_update_payment_gateway be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
