Menu
Update Payment Gateway
This API helps you to update a payment gateway.
PUT
/payment_gateways/{id}Use it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Update Payment Gateway action (under Payment gateways).
- Fill in the fields below, then reference the result from later steps as
{{updatePaymentGateway.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"title": "string",
"description": "string",
"order": 0,
"enabled": false,
"method_title": "string",
"method_description": "string",
"method_supports": [
"string"
],
"settings": {}
}
Response
Returns 200 with an object. Read it in later steps with {{updatePaymentGateway.response.data.<field>}}.
{
"id": "string",
"title": "string",
"description": "string",
"order": 0,
"enabled": false,
"method_title": "string",
"method_description": "string",
"method_supports": [
"string"
],
"settings": {}
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?