Update Gateway Settings
PUT
Update gateway
https://api.moltin.com/v2/gateways/:slug
This endpoint allows you update your settings to enable or disable the gateways.
Parameters
Path parameters
Name | Required | Type | Description |
---|---|---|---|
slug | Required | string | The slug of the gateway to be updated. |
Headers
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
Body
Name | Required | Type | Description |
---|---|---|---|
enabled | Required | boolean | Change this to enable or disable the payment gateway. |
Response Example
200 OK
Cake successfully retrieved.
{
"data": {
"enabled": true,
"name": "Manual",
"slug": "manual",
"type": "gateway"
}
}