POST /merchants/{merchantId}/paymentMethodSettings
Sends a request to add a new payment method to the merchant account identified in the path.
To make this request, your API credential must have the following role:
- Management API—Payment methods read and write
Servers
- https://management-test.adyen.com/v3
Path parameters
Name | Type | Required | Description |
---|---|---|---|
merchantId |
String | Yes |
The unique identifier of the merchant account. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
sodexo |
Object | No |
Sodexo details. |
sodexo.merchantContactPhone |
String | Yes |
Sodexo merchantContactPhone |
visa |
Object | No |
Visa details. |
visa.transactionDescription |
Object | No |
Information regarding the transaction description.
|
visa.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
visa.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
swish |
Object | No |
Swish details.
|
swish.swishNumber |
String | Yes |
Swish number. Format: 10 digits without spaces. For example, 1231111111. |
wechatpay |
Object | No |
WeChat Pay details. |
wechatpay.email |
String | Yes |
The email address of merchant support. |
wechatpay.contactPersonName |
String | Yes |
The name of the contact person from merchant support. |
cartesBancaires |
Object | No |
Cartes Bancaires details. |
cartesBancaires.siret |
String | Yes |
Cartes Bancaires SIRET. Format: 14 digits. |
cartesBancaires.transactionDescription |
Object | No |
Information regarding the transaction description.
|
cartesBancaires.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
cartesBancaires.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
paypal |
Object | No |
PayPal details. |
paypal.directCapture |
Boolean | No |
Indicates if direct (immediate) capture for PayPal is enabled. If set to true, this setting overrides the capture settings of your merchant account. Default value: true. |
paypal.subject |
String | Yes |
Your business email address. |
paypal.payerId |
String | Yes |
PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. |
afterpayTouch |
Object | No |
Afterpay Touch details. |
afterpayTouch.supportUrl |
String | Yes |
Support Url |
googlePay |
Object | No |
Google Pay details. |
googlePay.reuseMerchantId |
Boolean | No |
Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: false. |
googlePay.merchantId |
String | Yes |
Google Pay Merchant ID. Character length and limitations: 16 alphanumeric characters or 20 numeric characters. |
mc |
Object | No |
MasterCard details. |
mc.transactionDescription |
Object | No |
Information regarding the transaction description.
|
mc.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
mc.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
klarna |
Object | No |
Klarna details. |
klarna.region |
String | Yes |
The region of operation. For example, NA, EU, CH, AU. Possible values:
|
klarna.disputeEmail |
String | Yes |
The email address for disputes. |
klarna.autoCapture |
Boolean | No |
Indicates the status of Automatic capture. Default value: false. |
klarna.supportEmail |
String | Yes |
The email address of merchant support. |
eftpos_australia |
Object | No |
Eftpos Australia details. |
eftpos_australia.transactionDescription |
Object | No |
Information regarding the transaction description.
|
eftpos_australia.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
eftpos_australia.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
nyce |
Object | No |
NYCE details. |
nyce.transactionDescription |
Object | No |
Information regarding the transaction description.
|
nyce.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
nyce.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
nyce.processingType |
String | Yes |
The type of transactions processed over this payment method. Allowed values:
Possible values:
|
shopperInteraction |
String | No |
The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: eCommerce, pos, contAuth, and moto. Possible values:
|
sofort |
Object | No |
Sofort details. |
sofort.currencyCode |
String | Yes |
Sofort currency code. For example, EUR. |
sofort.logo |
String | Yes |
Sofort logo. Format: Base64-encoded string. |
storeIds[] |
Array | No |
The unique identifier of the store for which to configure the payment method, if any. |
discover |
Object | No |
Discover details. For merchants operating in Japan, request Diners payment method instead. Discover is automatically requested, together with Diners. |
discover.transactionDescription |
Object | No |
Information regarding the transaction description.
|
discover.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
discover.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
customRoutingFlags[] |
Array | No |
The list of custom routing flags to route payment to the intended acquirer. |
accel |
Object | No |
ACCEL details. |
accel.transactionDescription |
Object | No |
Information regarding the transaction description.
|
accel.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
accel.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
accel.processingType |
String | Yes |
The type of transactions processed over this payment method. Allowed values:
Possible values:
|
type |
String | Yes |
Payment method variant. Possible values:
|
reference |
String | No |
Your reference for the payment method. Supported characters a-z, A-Z, 0-9. |
twint |
Object | No |
Twint details. |
twint.logo |
String | Yes |
Twint logo. Format: Base64-encoded string. |
wechatpay_pos |
Object | No |
WeChat Pay POS details. |
wechatpay_pos.email |
String | Yes |
The email address of merchant support. |
wechatpay_pos.contactPersonName |
String | Yes |
The name of the contact person from merchant support. |
bcmc |
Object | No |
Bancontact details. |
bcmc.enableBcmcMobile |
Boolean | No |
Indicates if Bancontact mobile is enabled. |
interac_card |
Object | No |
Interac Card details. |
interac_card.transactionDescription |
Object | No |
Information regarding the transaction description.
|
interac_card.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
interac_card.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
vipps |
Object | No |
Vipps details. |
vipps.logo |
String | Yes |
Vipps logo. Format: Base64-encoded string. |
vipps.subscriptionCancelUrl |
String | No |
Vipps subscription cancel url (required in case of recurring payments) |
mealVoucher_FR |
Object | No |
Meal Voucher FR details. |
mealVoucher_FR.siret |
String | Yes |
Meal Voucher siret. Format: 14 digits. |
mealVoucher_FR.conecsId |
String | Yes |
Meal Voucher conecsId. Format: digits only |
mealVoucher_FR.subTypes[] |
Array | Yes |
The list of additional payment methods. Allowed values: mealVoucher_FR_edenred, mealVoucher_FR_groupeup, mealVoucher_FR_natixis, mealVoucher_FR_sodexo. |
applePay |
Object | No |
Apple Pay details. |
applePay.domains[] |
Array | Yes |
The list of merchant domains. Maximum: 99 domains per request. For more information, see Apple Pay documentation. |
ticket |
Object | No |
Edenred details. |
ticket.requestorId |
String | No |
Ticket requestorId |
clearpay |
Object | No |
Clearpay details. |
clearpay.supportUrl |
String | Yes |
Support Url |
diners |
Object | No |
Diners details. For merchants operating in Japan, Diners payments are processed through the JCB network. This means that you must include JCB-specific fields in this object. |
diners.serviceLevel |
String | No |
Specifies the service level (settlement type) of this payment method. Required for merchants operating in Japan. Possible values:
Possible values:
|
diners.transactionDescription |
Object | No |
Information regarding the transaction description.
|
diners.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
diners.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
diners.reuseMidNumber |
Boolean | Yes |
Indicates whether the JCB Merchant ID is reused from a previously configured JCB payment method. The default value is false. For merchants operating in Japan, this field is required and must be set to true. Default value: false |
diners.midNumber |
String | No |
MID (Merchant ID) number. Required for merchants operating in Japan. Format: 14 numeric characters. |
payme |
Object | No |
PayMe details. |
payme.logo |
String | Yes |
Merchant logo. Format: Base64-encoded string. |
payme.displayName |
String | Yes |
Merchant display name |
payme.supportEmail |
String | Yes |
The email address of merchant support. |
pulse |
Object | No |
PULSE details. |
pulse.transactionDescription |
Object | No |
Information regarding the transaction description.
|
pulse.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
pulse.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
pulse.processingType |
String | Yes |
The type of transactions processed over this payment method. Allowed values:
Possible values:
|
star |
Object | No |
STAR details. |
star.transactionDescription |
Object | No |
Information regarding the transaction description.
|
star.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
star.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
star.processingType |
String | Yes |
The type of transactions processed over this payment method. Allowed values:
Possible values:
|
cup |
Object | No |
China Union Pay details. |
cup.transactionDescription |
Object | No |
Information regarding the transaction description.
|
cup.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
cup.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
currencies[] |
Array | No |
The list of currencies that a payment method supports. By default, all currencies supported by the payment method. |
businessLineId |
String | No |
The unique identifier of the business line. Required if you are a platform model. |
countries[] |
Array | No |
The list of countries where a payment method is available. By default, all countries supported by the payment method. |
giroPay |
Object | No |
giropay details. |
giroPay.supportEmail |
String | Yes |
The email address of merchant support. |
maestro |
Object | No |
Maestro details. In the US, |
maestro.transactionDescription |
Object | No |
Information regarding the transaction description.
|
maestro.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
maestro.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
amex |
Object | No |
Amex details. |
amex.serviceLevel |
String | Yes |
Specifies the service level (settlement type) of this payment method. Possible values:
Possible values:
|
amex.reuseMidNumber |
Boolean | No |
Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method.
This is only applicable for Default value: false |
amex.midNumber |
String | No |
Merchant ID (MID) number. Format: 10 numeric characters.
You must provide this field when you request |
ideal |
Object | No |
iDeal details. |
ideal.transactionDescription |
Object | No |
Information regarding the transaction description.
|
ideal.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
ideal.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
girocard |
Object | No |
Girocard details. |
girocard.transactionDescription |
Object | No |
Information regarding the transaction description.
|
girocard.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
girocard.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
jcb |
Object | No |
JCB details.
For merchants operating in Japan, |
jcb.serviceLevel |
String | No |
Specifies the service level (settlement type) of this payment method. Required for merchants operating in Japan. Possible values:
Possible values:
|
jcb.transactionDescription |
Object | No |
Information regarding the transaction description.
|
jcb.transactionDescription.doingBusinessAsName |
String | No |
The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters . , ' _ - ? + * /. |
jcb.transactionDescription.type |
String | No |
The type of transaction description you want to use:
Possible values:
Default value: "dynamic" |
jcb.reuseMidNumber |
Boolean | No |
Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. The default value is false.For merchants operating in Japan, this field is required and must be set to true. Default value: false |
jcb.midNumber |
String | No |
MID (Merchant ID) number. Required for merchants operating in Japan.Format: 14 numeric characters. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.