Configure Adyen

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

The Adyen gateway 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

Update Adyen settings

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

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

Request Body

NameTypeDescription

test

string

true or false to enable test transactions

username

string

Your web service username

password

string

Your web service user password

merchant_account

string

Your Adyen account name

enabled

boolean

true, false

{
  "data": {
    "enabled": false,
    "merchant_account": "",
    "name": "Adyen",
    "password": "",
    "slug": "adyen",
    "test": false,
    "type": "gateway",
    "username": ""
  }
}
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"
        }
     }'

Last updated