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.
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 to grant access to the API. |
Body:
Name | Required | Type | Description |
---|---|---|---|
enabled | Required | boolean | Change this to enable or disable the payment gateway. |
200 OK
Cake successfully retrieved.
{
"data": {
"enabled": true,
"name": "Manual",
"slug": "manual",
"type": "gateway"
}
}