Configure Adyen

Last updated 7 months ago

You can configure Adyen programatically using the /gateways/adyen endpoint.

The Adyen gateway object

Attributes
Sample Object

Attribute

Type

Description

username

string

Your web service username

type

string

This will always be gateway

test

boolean

true or false to enable test transactions

merchant_account

string

Your Adyen account name

name

string

The display name of the gateway

slug

string

A unique slug for this gateway

password

string

Your web service user password

enabled

boolean

true or false that will enable the gateway

{
"data": {
"enabled": true,
"merchant_account": "xxx",
"name": "Adyen",
"password": "xxx",
"slug": "adyen",
"test": false,
"type": "gateway",
"username": "xxx"
}
}

put
Update Adyen settings

https://api.moltin.com
/v2/gateways/adyen
Request
Response
Headers
Authorization
required
string
The Bearer token to grant access to the API
Body Parameters
test
optional
string
true or false to enable test transactions
username
optional
string
Your web service username
password
optional
string
Your web service user password
merchant_account
optional
string
Your Adyen account name
enabled
optional
boolean
true, false
200: OK
{
"data": {
"enabled": false,
"merchant_account": "",
"name": "Adyen",
"password": "",
"slug": "adyen",
"test": false,
"type": "gateway",
"username": ""
}
}
cURL
curl -X PUT https://api.moltin.com/v2/gateways/adyen \
-H "Content-Type: application/json" \
-H "Authorization: Bearer XXX" \
-d $'{
"data": {
"enabled": true,
"merchant_account": "xxx",
"password": "xxx",
"test": false,
"username": "xxx"
}
}'