stripe_set_payment_method
Enable or disable a specific payment method in a Stripe payment method configuration to control checkout display; requires confirmation and is audit-logged.
Instructions
Turn one payment method of a Stripe payment method configuration on or off (display preference). The method must exist in that configuration (see stripe_list_payment_method_configs). Needs confirm:true; audit-logged.
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": {
"site": "<site>",
"config_id": "<config_id>",
"method": "<method>",
"enabled": "<enabled>",
"confirm": "<confirm>"
},
"name": "stripe_set_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| method | Yes | Payment method key, e.g. card, klarna, sofort | |
| confirm | Yes | Must be true: this changes the live Stripe account | |
| enabled | Yes | true = on, false = off | |
| config_id | Yes | Payment method configuration id (pmc_...) |