Get all Gateways

get
Get all Gateways

https://api.moltin.com/v2/gateways
Request
Response
Headers
Authorization
required
string
The Bearer token to grant access to the API
200: OK
{
"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
JavaScript SDK
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
})