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.
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) |