Update Gateway Settings

Update gateway

PUT https://api.moltin.com/v2/gateways/:slug

This endpoint allows you update your settings in order to enable/disable the gateways.

Path Parameters

NameTypeDescription

slug

string

The slug of the gateway to be updated

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

Request Body

NameTypeDescription

enabled

boolean

Change this to enable or disable the payment gateway

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

Last updated