Get all Gateways
Get all Gateways
GET
https://api.moltin.com/v2/gateways
Headers
{
"data": [
{
"enabled": false,
"merchant_account": "",
"name": "Adyen",
"password": "",
"slug": "adyen",
"test": false,
"type": "gateway",
"username": ""
},
{
"enabled": false,
"environment": "",
"merchant_id": "",
"name": "Braintree",
"private_key": "",
"public_key": "",
"slug": "braintree",
"type": "gateway"
},
{
"enabled": true,
"name": "Manual",
"slug": "manual",
"type": "gateway"
},
{
"enabled": false,
"login": "",
"name": "Stripe",
"slug": "stripe",
"type": "gateway"
},
{
"enabled": false,
"login": "",
"name": "Stripe Payment Intents",
"slug": "stripe_payment_intents",
"type": "gateway"
}
]
}
curl -X GET https://api.moltin.com/v2/gateways \
-H "Authorization: Bearer XXXX"
const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X',
client_secret: 'X'
})
Moltin.Gateways.All().then(gateways => {
// Do something
})
Last updated