ACH payment fields
Initiate a payment request with the given fields.
bankAccount
bankAccountNumber
|
String
| |
The US bank account number from which the payment will be debited.Format: numeric.For ACH transactions, the bank account number needs to comply with length restrictions: min. 4, max. 17 digits.
|
bankLocationId
|
String
| |
The ABA routing transit number for ACH payments from the bank account.Format: 9-digit number.Do not remove any leading zeroes in it.
|
bankName
|
String
| |
The name of the bank where the account is held.
|
bic
|
String
| |
The business identifier code (BIC) is the SWIFT address assigned to a bank.
|
countryCode
|
String
| |
The country code for the transaction.For ACH transactions, set its value to US .
|
ownerName
|
String
| |
The bank account holder name.
|
billingAddress
city
|
String
| |
Name of the city.
|
country
|
String
| |
The country/region identifier.For ACH payments, set its value to US .
|
houseNumberOrName
|
String
| |
House number, or house name, or another house identifier.
|
postalCode
|
String
| |
Zip/Post code.
|
stateOrProvince
|
String
| |
Name of the state, region or province, where applicable.
|
street
|
String
| |
Name of the street. You can append a house number to the street parameter. In this case, houseNumberOrName should be set to an empty string.
|
Response
An ACH payment response is similar to card payment responses, the only difference being that an ACH response does not include an authorisation code (authCode
), because it is not generated in this case.
pspReference
|
String
| |
Adyen's 16-character unique reference associated with the transaction/the request. This value is globally unique; quote it when communicating with us about this request.
|
refusalReason
|
String
| |
When the payment is not authorised and it is refused, this field holds Adyen's mapped reason for the refusal.
|
resultCode
|
String
| |
The outcome of the payment. The possible values are: Authorised Received Refused
|
Response's additionalData
achdirectdebit.dateOfSignature
|
String
| | Transaction signature date.
Format: yyyy-MM-dd |
achdirectdebit.mandateId
|
String
| |
Its value corresponds to the pspReference value for the transaction.
|
achdirectdebit.sequenceType
|
String
| |
achdirectdebit.sequenceType can take one of the following values:
Final : (FNAL ) Last/final collection in a series of direct debit instructions.
First : (FRST ) Initial/first collection in a series of direct debit instructions.
OneOff : (OOFF) Direct debit instruction to initiate exactly one direct debit transaction.
Recurring : (RCUR ) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor.
|
WeChat Pay
To use WeChat Pay on a mobile browser, include the parameter below in your payment request:
Field |
Type |
Description |
hppAdditional.flowType |
String |
Set this parameter to desktop. This parameter enables the desktop flow and presents a QR code to your mobile shoppers instead of redirecting to the mobile app. |
Billing address and AVS fields
For more information on Address Verification System (AVS), refer to AVS.
You can choose to have the HPPs collect the billing address and/or pre-populate these values from your own system.
billingAddress.city
|
String
|
|
The city.
|
billingAddress.country
|
String
|
|
The country code information of the billing address section.The country value format needs to adhere to the ISO 3166-1 alpha-2 standard. An invalid country code results in a transaction/request rejection. You can look up country codes on the ISO website.
|
billingAddress.houseNumberOrName
|
String
|
|
The house number (or name).
|
billingAddress.postalCode
|
String
|
|
The postal/zip code.
|
billingAddress.stateOrProvince
|
String
|
|
The state or province.
|
billingAddress.street
|
String
|
|
The street name.
|
billingAddressType
|
String
|
|
You can specify the billingAddressType to define whether the shopper is allowed to view and/or modify these personal details.The billingAddressType field is part of the merchantSignature , which is used to calculate the HMAC.The billingAddressType can be: Not supplied - modifiable / visible1 - unmodifiable / visible2 - unmodifiable / invisible
If you want the shopper to enter the billing address on the payment pages, you need to select the Billing Address Fields (AVS) checkbox on the skin edit page in the Customer Area, without supplying a billingAddressType value. The billing address details are stored with the transaction. They are visible in the Customer Area when either a billingAddressType value is provided, or when Billing Address Fields (AVS) is configured for a skin.
|
Risk fields
Adyen's API for payment requests contains several optional fields that can be provided by the merchants. Some of these fields are quite important when the merchant uses several risk checks in the Risk System. We recommend the use of the following fields in order to use to its fullest the capabilities of Adyen's Risk system.
billingAddress
|
|
The address where the shopper is going to receive the bill. Providing the following detailed information street, houseNumberOrName, city, postalCode, stateOrProvince, country.Used in the following risk checks:
|
Billing Address differs from Delivery Address
Shopper Address referral list
ShopperDNA
browserInfo
|
|
With the browser info data, we can determine if the device is mobile or not, which is used for device fingerprinting and other device logic.
|
deliveryAddress
|
|
The address where the shopper is going to receive goods/services. Providing the following detailed information street, houseNumberOrName, city, postalCode, stateOrProvince, country.Used in the following risk checks:
|
Shopper Address referral list
ShopperDNA
deliveryAddressType
|
|
Specifies whether the shopper is allowed to view and/or modify delivery address fields.It can have the following values: 1 : the delivery address fields are visible but unmodifiable.
|
2
: the delivery address fields are not visible, thus fields will be unmodifiable.
Not supplied
: the delivery address fields are visible and modifiable.
If the field is supplied, the deliveryAddressType
field is is part of the merchant signature.
deliveryDate
|
|
The expected date of delivery or fulfillment of the goods/services to the shopper.Used in the following risk checks:
|
dfValue
|
|
Information from the shopper's device and uses the combined value to identify the device of the shopper.Used in the following risk checks:
|
ShopperDNA
merchantOrderReference
|
|
A reference that merchants can use to link multiple transactions to each other.
|
merchantReference
|
|
A reference to uniquely identify the payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement.If you need to provide multiple references for a transaction, you can enter them in this field. Separate each reference value with a hyphen character ("-").This field has a length restriction: you can enter max. 80 characters.
|
offset
|
|
An integer value that adds up to the normal fraud score.The value can be either a positive or negative integer.
|
riskdata.deliveryMethod
|
|
The method to deliver the goods to the shopper.Used in Delivery Method Check.
|
riskdata.shopperAccountCreationDate
|
|
This specifies the date when the shopper's account was created.Format: yyyy-MM-dd HH:mm:ss.sssZ This field can only be used in HPP integrations, and is only used when you have selected the creation date option in the Shopper Account Age check.
|
shopper
|
|
Shopper personal information that includes shopper name, date of birth, and so on (only in countries/regions where it is legal to collect). For more information, refer to Shopper information fields.Used in the following risk checks:
|
Phone Number referral list
Social Security Number referral list
ShopperDNA
shopperEmail
|
|
The shopper's email address.We recommend providing this information, because it is used in velocity fraud checks.Depending on your integration this field may be mandatory for you, check with the Support Team.It is not advisable to use a hard-coded email address.Used in the following risk checks:
|
Shopper Email referral list
Shopper email used more than x times within a time period
High Risk Email Domain
Shopper Authorised Velocity
Shopper initiated a transaction more than X times within a time period
ShopperDNA
shopperReference
|
|
A unique identifier for the shopper, for example, a customer ID.We recommend providing this information, as it is used in velocity fraud checks. It is also the key in recurring payments.This field is mandatory in recurring payments.Used in the following risk checks:
|
Shopper Authorised Velocity
Shopper Reference Referral List
Card/Bank account number already used by another shopper
Card/bank account holder name used more than x times within a time period
ShopperDNA
Shopper fields
Shopper details can be sent to Adyen. They can also be encrypted using a signature. These are the fields Adyen recognizes as shopper information:
HPP L2/L3 data
– mandatory (this field must be sent); – optional (this field can be sent); blank – this field shouldn't be sent.
enhancedSchemeData
customerReference | String | | | 25 | Customer code, if supplied by a customer. Encoding: ASCII. |
totalTaxAmount | Numeric | | | 12 | Total tax amount, in minor units. For example, 2000 means USD 20.00 |
freightAmount | Numeric | | | 12 | Shipping amount, in minor units. For example, 2000 means USD 20.00 |
dutyAmount | Numeric | | | 12 | Duty amount, in minor units. For example, 2000 means USD 20.00 |
destinationPostalCode | String | | | 10 | The postal code of a destination address. Encoding: ASCII. Required for American Express. |
destinationStateProvinceCode | String | | | 3 | Destination state or province code. Encoding: ASCII. |
shipFromPostalCode | String | | | 10 | The postal code of a "ship-from" address. Encoding: ASCII. |
destinationCountryCode | String | | | 3 | Destination country code. Encoding: ASCII. |
orderDate | String | | | 6 | Order date. Format: ddMMyy Encoding: ASCII. |
enhancedSchemeData.itemDetailLine
You can submit a maximum of 9 line items.
commodityCode | String | | | 12 | Item commodity code. Encoding: ASCII. |
description | String | | | 26 | Item description. Encoding: ASCII. |
productCode | String | | | 12 | Product code. Encoding: ASCII. |
quantity | Numeric | | | 12 | Quantity, specified as an integer value. Value must be greater than 0. |
unitOfMeasure | | | | 3 | Item unit of measurement. Encoding: ASCII. |
unitPrice | Numeric | | | 12 | Unit price, specified in minor units. |
discountAmount | Numeric | | | 12 | Discount amount, in minor units. For example, 2000 means USD 20.00 |
totalAmount | Numeric | | | 12 | Total amount, in minor units. For example, 2000 means USD 20.00 |