{ "opencollection": "1.0.0", "info": { "name": "WooCommerce REST Cart Payment Gateways API", "version": "v3" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Payment Gateways", "type": "folder" }, "items": [ { "info": { "name": "WooCommerce List All Payment Gateways", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/wp-json/wc/v3/payment_gateways" }, "docs": "Returns all payment gateways installed in the store, including their enabled state, settings, and display order." }, { "info": { "name": "WooCommerce Retrieve a Payment Gateway", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/wp-json/wc/v3/payment_gateways/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the resource." } ] }, "docs": "Returns a single payment gateway by its string ID (e.g. stripe, paypal)." }, { "info": { "name": "WooCommerce Update a Payment Gateway", "type": "http" }, "http": { "method": "PUT", "url": "https://example.com/wp-json/wc/v3/payment_gateways/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the settings or enabled state of a payment gateway." } ] } ], "bundled": true }