get_payment_gateway
Retrieve payment gateway details by ID from WooCommerce to inspect configuration and status. Fetch fields like title, description, enabled, settings, and supported methods.
Instructions
Get full details of a payment gateway by ID. Common IDs: bacs (bank transfer), cheque, cod (cash on delivery), paypal, stripe, razorpay.
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": "get_payment_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gateway ID (e.g. cod, bacs, stripe, razorpay) | |
| fields | No | Comma-separated fields to return (default: id,title,description,enabled,method_title,method_description,method_supports,settings,order) |