Payments/
Payment Gateways API/
Update Gateway Settings

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

NameRequiredTypeDescription
slugRequiredstringThe slug of the gateway to be updated.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Body

NameRequiredTypeDescription
enabledRequiredbooleanChange this to enable or disable the payment gateway.

Response Example

200 OK

Cake successfully retrieved.

{
    "data": {
        "enabled": true,
        "name": "Manual",
        "slug": "manual",
        "type": "gateway"
    }
}

Was this helpful?

Previous
Get a Gateway

Learn

Docs