Create a payment session
Creates a payment session for Drop-in, Components, and Hosted Checkout integrations.
The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow.
You get the payment outcome asynchronously, in an AUTHORISATION webhook.
A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).
Shopper account information for 3D Secure 2.
For 3D Secure 2 transactions, we recommend that you include this object to increase the chances of achieving a frictionless flow.
Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
Date when the shopper's account was last changed.
Indicator for the length of time since the shopper's account was last updated. Allowed values:
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
Date when the shopper's account was created.
Indicates the type of account. For example, for a multi-account card product. Allowed values:
- notApplicable
- credit
- debit
Number of attempts the shopper tried to add a card to their account in the last day.
Date the selected delivery address was first used.
Indicator for the length of time since this delivery address was first used. Allowed values:
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
Use ThreeDS2RequestData.homePhone instead.
Shopper's home phone number (including the country code).
Use ThreeDS2RequestData.mobilePhone instead.
Shopper's mobile phone number (including the country code).
Date when the shopper last changed their password.
Indicator when the shopper has changed their password. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.
Number of all transactions (successful and abandoned) from this shopper in the past year.
Date this payment method was added to the shopper's account.
Indicator for the length of time since this payment method was added to this shopper's account. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
Number of successful purchases in the last six months.
Whether suspicious activity was recorded on this account.
Use ThreeDS2RequestData.workPhone instead.
Shopper's work phone number (including the country code).
If you want a BIN or card verification request to use a non-zero value, assign this value to additionalAmount (while the amount must be still set to 0 to trigger BIN or card verification).
Required to be in the same currency as the amount.
The three-character ISO currency code of the amount.
The numeric value of the amount, in minor units.
This field contains additional data, which may be required for a particular payment request.
The additionalData object consists of entries, each of which includes the key and value.
List of payment methods to be presented to the shopper. To refer to payment methods, use their payment method type.
Example: "allowedPaymentMethods":["ideal","applepay"]
The amount of the payment.
The three-character ISO currency code of the amount.
The numeric value of the amount, in minor units.
Information about your application. For more details, see Building Adyen solutions.
Adyen-developed software, such as libraries and plugins, used to interact with the Adyen API. For example, Magento plugin, Java API library, etc.
Name of the field. For example, Name of External Platform.
Version of the field. For example, Version of External Platform.
Adyen-developed software to get payment details. For example, Checkout SDK, Secured Fields SDK, etc.
Name of the field. For example, Name of External Platform.
Version of the field. For example, Version of External Platform.
Third-party developed platform used to initiate payment requests. For example, Magento, Zuora, etc.
External platform integrator.
Name of the field. For example, Name of External Platform.
Version of the field. For example, Version of External Platform.
Merchant developed software, such as cashier application, used to interact with the Adyen API.
Name of the field. For example, Name of External Platform.
Version of the field. For example, Version of External Platform.
Merchant device information.
Operating system running on the merchant device.
Version of the operating system on the merchant device.
Merchant device reference.
Shopper interaction device, such as terminal, mobile device or web browser, to initiate payment requests.
Locale on the shopper interaction device.
Operating system running on the shopper interaction device.
Version of the operating system on the shopper interaction device.
Configuration data for 3DS payments.
Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including Dynamic 3D Secure settings.
Possible values:
- always: Perform 3D Secure authentication.
- never: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined.
Required to trigger the authentication-only flow. If set to true, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization. Default: false.
Object with additional parameters for the 3D Secure authentication flow.
Dimensions of the 3DS2 challenge window to be displayed to the cardholder.
Possible values:
- 01 - size of 250x400
- 02 - size of 390x400
- 03 - size of 500x600
- 04 - size of 600x400
- 05 - Fullscreen
Required to trigger the data-only flow. When set to true, forces the 3D Secure 2 data-only flow for all transactions where it is possible.
Indicates if native 3D Secure authentication should be triggered when available. Adyen can still select to fallback to the redirect flow to optimize authorization rates and improve the shopper's experience.
Possible values:
- preferred: Use native 3D Secure authentication when available.
- disabled: Use the redirect 3D Secure authentication flow.
The version of 3D Secure to use.
Possible values:
- 2.1.0
- 2.2.0
The address where to send the invoice.
The name of the city. Maximum length: 3000 characters.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.
The number or name of the house. Maximum length: 3000 characters.
A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.
List of payment methods to be hidden from the shopper. To refer to payment methods, use their payment method type.
Example: "blockedPaymentMethods":["ideal","applepay"]
The delay between the authorisation and scheduled auto-capture, specified in hours.
The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the sdkVersion or token.
Possible values:
- iOS
- Android
- Web
Information regarding the company.
The company website's home page.
The company name.
Registration number of the company.
Registry location of the company.
Tax ID of the company.
The company type.
The shopper's two-letter country code.
The shopper's date of birth.
Format ISO-8601: YYYY-MM-DD
The date and time when the purchased goods should be delivered.
ISO 8601 format: YYYY-MM-DDThh:mm:ss+TZD, for example, 2020-12-18T10:15:30+01:00.
The address where the purchased goods should be delivered.
The name of the city. Maximum length: 3000 characters.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.
The number or name of the house. Maximum length: 3000 characters.
A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.
When true and shopperReference is provided, the shopper will be asked if the payment details should be stored for future one-click payments.
When true and shopperReference is provided, the payment details will be tokenized for payouts.
When true and shopperReference is provided, the payment details will be stored for recurring payments where the shopper is not present, such as subscription or automatic top-up payments.
Enhanced scheme data that may be required for processing the payment and/or interchange savings can apply.
Airline enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
The reference number for the invoice, issued by the agency.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 6 characters
- additionalData key:
airline.agency_invoice_number
The two-letter agency plan identifier.
- Encoding: ASCII
- minLength: 2 characters
- maxLength: 2 characters
- additionalData key:
airline.agency_plan_name
The amount charged for boarding the plane, in minor units.
- Encoding: Numeric
- minLength: 1 character
- maxLength: 11 characters
- additionalData key:
airline.boarding_fee
The IATA 3-digit accounting code (PAX) that identifies the carrier.
- Format: IATA 3-digit accounting code (PAX)
- Example: KLM = 074
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.airline_code
The CRS used to make the reservation and purchase the ticket.
- Encoding: ASCII
- minLength: 4 characters
- maxLength: 4 characters
- additionalData key:
airline.computerized_reservation_system
The alphanumeric customer reference number.
- Encoding: ASCII
- maxLength: 20 characters
- If you send more than 20 characters, the customer reference number is truncated
- Must not start with a space or be all spaces.
- additionalData key:
airline.customer_reference_number
The IATA 2-letter accounting code (PAX) that identifies the carrier.
- Encoding: ASCII
- Example: KLM = KL
- minLength: 2 characters
- maxLength: 2 characters
- Must not start with a space or be all spaces.
- additionalData key:
airline.airline_designator_code
A code that identifies the type of item bought. The description of the code can appear on credit card statements.
- Encoding: ASCII
- Example: Passenger ticket = 01
- minLength: 2 characters
- maxLength: 2 characters
- additionalData key:
airline.document_type
The flight departure date. Time is optional.
- Format for date only:
yyyy-MM-dd - Format for date and time:
yyyy-MM-ddTHH:mm - Use local time of departure airport.
- minLength: 10 characters
- maxLength: 16 characters
- additionalData key:
airline.flight_date
The IATA 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details.
- Example: KLM = KL
- minLength: 2 characters
- maxLength: 2 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].carrier_code
A one-letter travel class identifier. The following are common:
-
F: first class
-
J: business class
-
Y: economy class
-
W: premium economy
-
Encoding: ASCII
-
minLength: 1 character
-
maxLength: 1 character
-
Must not start with a space or be all spaces.
-
Must not be all zeros.
-
additionalData key:
airline.leg[N].class_of_travel
Date and time of travel in format yyyy-MM-ddTHH:mm.
- Use local time of departure airport.
- minLength: 16 characters
- maxLength: 16 characters
- additionalData key:
airline.leg[N].date_of_travel
The IATA three-letter airport code of the departure airport. This field is required if the airline data includes leg details.
- Encoding: ASCII
- Example: Amsterdam = AMS
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].depart_airport
The amount of departure tax charged, in minor units.
- Encoding: Numeric
- minLength: 1
- maxLength: 11
- Must not be all zeros.
- additionalData key:
airline.leg[N].depart_tax
The IATA 3-letter airport code of the destination airport. This field is required if the airline data includes leg details.
- Example: Amsterdam = AMS
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].destination_code
The fare basis code, alphanumeric.
- minLength: 1 character
- maxLength: 15 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].fare_base_code
The flight identifier.
- minLength: 1 character
- maxLength: 5 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].flight_number
A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 1 character
- additionalData key:
airline.leg[N].stop_over_code
The passenger's name, initials, and title.
- Format: last name + first name or initials + title
- Example: FLYER / MARY MS
- minLength: 1 character
- maxLength: 20 characters
- If you send more than 20 characters, the name is truncated
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.passenger_name
The passenger's date of birth.
- Format
yyyy-MM-dd - minLength: 10
- maxLength: 10
- additionalData key:
airline.passenger[N].date_of_birth
The passenger's first name.
This field is required if the airline data includes passenger details or leg details.
- Encoding: ASCII
- additionalData key:
airline.passenger[N].first_name
The passenger's last name.
This field is required if the airline data includes passenger details or leg details.
- Encoding: ASCII
- additionalData key:
airline.passenger[N].last_name
The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs.
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 30 characters
- additionalData key:
airline.passenger[N].phone_number
The IATA passenger type code (PTC).
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 6 characters
- additionalData key:
airline.passenger[N].traveller_type
The address of the organization that issued the ticket.
- minLength: 0 characters
- maxLength: 16 characters
- additionalData key:
airline.ticket_issue_address
The date that the ticket was issued to the passenger.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
airline.issue_date
The ticket's unique identifier.
- minLength: 1 character
- maxLength: 15 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.ticket_number
The unique identifier from IATA or ARC for the travel agency that issues the ticket.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 8 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.travel_agency_code
The name of the travel agency.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 25 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.travel_agency_name
Car rental enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
The customer service phone number of the car rental company.
- Format: Alphanumeric
- maxLength: 17
- For US and CA numbers must be 10 characters in length
- Must not contain any special characters such as + or -
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.customerServiceTollFreeNumber
Indicates if the customer didn't pick up their rental car.
- additionalData key:
carRental.noShowIndicator
The city where the car is rented.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.locationCity
The country where the car is rented, in ISO 3166-1 alpha-2 format.
- maxLength: 2 characters
- additionalData key:
carRental.locationCountry
The pick-up date.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
carRental.checkOutDate
The state or province where the car is rented.
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.locationStateProvince
Indicates whether the rental rate is daily or weekly.
- additionalData key:
carRental.rateIndicator
The rental agreement number for the car rental.
- Format: ASCII
- maxLength: 9 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.rentalAgreementNumber
The classification of the rental car.
- Format: Alphanumeric
- maxLength: 4 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.rentalClassId
The number of days the car is rented for.
- Format: Numeric
- Max value: 9999
- additionalData key:
carRental.daysRented
Rental rate, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- Frequency of the rental rate is specified in the rateType field.
- additionalData key:
carRental.rate
The fuel charges associated with the rental, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.fuelCharges
Any insurance charges associated with the rental, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.insuranceCharges
The charge for not returning a car to the original rental location, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.oneWayDropOffCharges
The name of the person renting the car.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.renterName
The city where the car must be returned.
- Format: ASCII
- maxLength: 18 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnCity
The country where the car must be returned, in ISO 3166-1 alpha-2 format.
- maxLength: 2 characters
- additionalData key:
carRental.returnCountry
The date by which the car must be returned.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
carRental.returnDate
The agency code, phone number, or address abbreviation.
- Format: ASCII
- maxLength: 10 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnLocationId
The state or province where the car must be returned.
- Format: ASCII
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnStateProvince
Indicates if the goods or services were tax-exempt, or if tax was not collected.
- additionalData key:
carRental.taxExemptIndicator
Healthcare auto-substantiation amounts for FSA/HSA card transactions. The amounts are used to qualify for reduced interchange rates on healthcare-eligible cards.
The dental amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
The other medical amount not covered by the specific categories, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
The prescription/Rx amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
The total healthcare amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
The vision/optical prescription amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
Level 2 and Level 3 enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
The reference number to identify the customer and their order.
- Format: ASCII
- Max length: 25 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.customerReference
The destination address information.
The two-letter ISO 3166-1 alpha-2 or three-letter ISO 3166-1 alpha-3 country code for the destination address.
- Encoding: ASCII
- Min length: 2 characters
- Max length: 3 characters
- additionalData key:
enhancedSchemeData.destinationCountryCode
The postal code of the destination address.
- Encoding: ASCII
- Max length: 10 characters
- Must not start with a space.
- For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000.
- For Canada, it must be in 6 digits format. For example, M4B 1G5.
- additionalData key:
enhancedSchemeData.destinationPostalCode
The state or province code of the destination address.
- Encoding: ASCII
- Max length: 3 characters
- Must not start with a space.
- additionalData key:
enhancedSchemeData.destinationStateProvinceCode
The duty tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.dutyAmount
The shipping amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.freightAmount
The list of item detail lines.
The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes:
-
Encoding: ASCII
-
Max length: 12 characters
-
Must not start with a space or be all spaces.
-
Must not be all zeros.
-
additionalData key:
enhancedSchemeData.itemDetailLine[N].commodityCode
A description of the item, that provides details about the purchase.
For Visa transactions with level 3 ESD, the description must not be the same or very similar to your merchant name, or, consist only of common words like "product", or "service".
- Encoding: ASCII
- Max length: 26 characters
- Must not be a single character.
- Must not be blank.
- Must not be all special characters.
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.itemDetailLine[N].description
The discount amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.itemDetailLine[N].discountAmount
The product code. Must be a unique product code associated with the item or service. This can be your unique code for the item, or the manufacturer's product code.
- Encoding: ASCII.
- Max length: 12 characters
- additionalData key:
enhancedSchemeData.itemDetailLine[N].productCode
The number of items. Must be an integer greater than zero.
- Encoding: Numeric
- Max value: 9999
- additionalData key:
enhancedSchemeData.itemDetailLine[N].quantity
The total amount for the line item, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
See Amount requirements for level 2/3 ESD to learn more about how to calculate the line item total.
- additionalData key:
enhancedSchemeData.itemDetailLine[N].totalAmount
The unit of measurement for an item.
- Encoding: ASCII
- Max length: 3 characters
- additionalData key:
enhancedSchemeData.itemDetailLine[N].unitOfMeasure
The unit price, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.itemDetailLine[N].unitPrice
The date of the order.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.orderDate
The postal code of the address where the item is shipped from.
- Encoding: ASCII
- Max length: 10 characters
- For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000.
- For Canada, it must be in 6 digits format. For example, M4B 1G5.
- additionalData key:
enhancedSchemeData.shipFromPostalCode
The amount of state or provincial tax included in the total transaction amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- For L2 data: must not be all zeroes.
- For L3 data: can be zero.
- additionalData key:
enhancedSchemeData.totalTaxAmount
Lodging enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
The check-in date.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
lodging.checkInDate
The check-out date.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
lodging.checkOutDate
The toll-free phone number for the lodging customer service.
- Format: Alphanumeric
- For US and CA numbers must be 10 characters in length
- Must not start with a space
- Must not contain any special characters such as + or -
- Must not be all zeros.
- additionalData key:
lodging.customerServiceTollFreeNumber
Indicates that the facility complies with the Hotel and Motel Fire Safety Act of 1990.
- additionalData key:
lodging.fireSafetyActIndicator
The folio information for the booking.
The folio cash advances, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.folioCashAdvances
The card acceptor's internal invoice or billing ID reference number.
- Format: Alphanumeric
- Must not start with a space
- Must not contain any special characters
- Must not be all zeros.
- additionalData key:
lodging.folioNumber
Any charges for food and beverages associated with the booking, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.foodBeverageCharges
The category of lodging charges for the payment.
- additionalData key:
lodging.specialProgramCode
Indicates if the customer didn't check in for their booking.
- additionalData key:
lodging.noShowIndicator
The prepaid expenses for the booking, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.prepaidExpenses
The lodging property location's phone number.
- Format: Alphanumeric
- Min length: 10 characters
- For US and CA numbers must be 10 characters in length
- Must not start with a space
- Must not contain any special characters such as + or -
- Must not be all zeros.
- additionalData key:
lodging.propertyPhoneNumber
The name of the person renting the room.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
lodging.renterName
The list of rooms booked.
The total number of nights the room is booked for.
- Format: Numeric
- Must be a number between 1 and 99
- additionalData key:
lodging.room[N].numberOfNights
Room rate per night, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.room[N].rate
The total room tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.totalRoomTax
The total tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.totalTax
Temporary services enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
The name or ID of the person working in a temporary capacity.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.employeeName
The billing period end date.
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.tempWeekEnding
The hourly rate for the temporary services, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.regularHoursRate
The number of hours worked during the billing period.
- Format: Numeric
- additionalData key:
enhancedSchemeData.regularHoursWorked
The job description of the person working in a temporary capacity.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.jobDescription
The name of the person requesting the temporary services.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.requestName
The billing period start date.
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.tempStartDate
The date the session expires in ISO8601 format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.
The person or entity funding the money.
The address where to send the invoice.
The name of the city. Maximum length: 3000 characters.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.
The number or name of the house. Maximum length: 3000 characters.
A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.
The email address of the person funding the money.
The name of the person funding the money.
The first name.
The last name.
The phone number of the person funding the money.
The unique identifier of the wallet where the funds are coming from.
the person or entity receiving the money
The IBAN of the bank account where the funds are being transferred to.
The address where to send the invoice.
The name of the city. Maximum length: 3000 characters.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.
The number or name of the house. Maximum length: 3000 characters.
A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.
The payment method used by the shopper.
The sequence number for the debit. For example, send 2 if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
Secondary brand of the card. For example: plastix, hmclub.
The checkout attempt identifier.
The card verification code. Only collect raw card data if you are fully PCI compliant.
Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
The encrypted card number.
The encrypted card expiry month.
The encrypted card expiry year.
This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
The encrypted card verification code.
The card expiry month. Only collect raw card data if you are fully PCI compliant.
The card expiry year. Only collect raw card data if you are fully PCI compliant.
The encoded fastlane data blob
The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to debit.
The name of the card holder.
The transaction identifier from card schemes. This is the networkTxReference from the response to the first payment.
The card number. Only collect raw card data if you are fully PCI compliant.
Use storedPaymentMethodId instead.
This is the recurringDetailReference returned in the response when you created the token.
Base64-encoded JSON object containing SDK related parameters required by the SDK
The shopperNotificationReference returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
An identifier used for the Click to Pay transaction.
The SRC reference for the Click to Pay token.
The scheme that is being used for Click to Pay.
The reference for the Click to Pay token.
This is the recurringDetailReference returned in the response when you created the token.
Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
Default payment method details. Common for scheme payment methods, and for simple payment method details.
The email address of the shopper.
The name of the shopper.
The first name.
The last name.
Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters.
Your reference must not include personally identifiable information (PII) such as name or email address.
This is the recurringDetailReference returned in the response when you created the token.
Required for back-to-back/purchase-driven-load transactions, where the funds are taken from the shopper's stored card when the wallet balance is insufficient. The final merchant who will receive the money, also known as a sub-merchant.
The city of the sub-merchant's address.
- Format: Alphanumeric
- Maximum length: 13 characters
The three-letter country code of the sub-merchant's address. For example, BRA for Brazil.
- Format: ISO 3166-1 alpha-3
- Fixed length: 3 characters
The sub-merchant's 4-digit Merchant Category Code (MCC).
- Format: Numeric
- Fixed length: 4 digits
The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement.
- Format: Alphanumeric
- Maximum length: 22 characters
The tax ID of the sub-merchant.
- Format: Numeric
- Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
The telephone number of the shopper.
The unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.
The tax identifier of the person receiving the funds.
The purpose of a digital wallet transaction.
A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, card to specify installment options for all cards, or visa or mc. The value must be an object containing the installment options.
Defines the type of installment plan. If not set, defaults to regular.
Possible values:
- regular
- revolving
- bonus
Preselected number of installments offered for this payment method.
An array of the number of installments that the shopper can choose from. For example, [2,3,5].
Price and product information about the purchased items, to be included on the invoice sent to the shopper.
This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
Item amount excluding the tax, in minor units.
Item amount including the tax, in minor units.
Brand of the item.
Color of the item.
Description of the line item.
ID of the line item.
Link to the picture of the purchased item.
Item category, used by the payment methods PayPal and Ratepay.
Manufacturer of the item.
Marketplace seller id.
Link to the purchased item.
Number of items.
Email associated with the given product in the basket (usually in electronic gift cards).
Shipping company handling the return of the item.
Tracking number for the return of the item.
Tracking URI for the return of the item.
An optional, free-text category for the item to be used in the risk evaluation. When provided, Protect uses this value to evaluate custom risk rules.
Shipping company handling the delivery of the item.
Shipping method used to deliver the item.
Size of the item.
Stock keeping unit.
Tax amount, in minor units.
Tax percentage, represented as a basis point integer. For example:
- 530 for 5.3% (five point three percent)
- 2100 for 21% (twenty-one percent)
Tracking number for the delivery of the item.
Tracking URI for the delivery of the item.
Universal Product Code.
The mandate details to initiate recurring transaction.
The billing amount (in minor units) of the recurring transactions.
The limitation rule of the billing amount.
Possible values:
-
max: The transaction amount can not exceed the
amount. -
exact: The transaction amount should be the same as the
amount.
The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date.
Possible values:
-
on: On a specific date.
-
before: Before and on a specific date.
-
after: On and after a specific date.
The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date.
Possible values: 1-31 based on the frequency.
The number of transactions that can be performed within the given frequency.
End date of the billing plan, in YYYY-MM-DD format.
The frequency with which a shopper should be charged.
Possible values: adhoc, daily, weekly, biWeekly, monthly, quarterly, halfYearly, yearly.
The message shown by UPI to the shopper on the approval screen.
Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.
The merchant category code (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.
The merchant account identifier, with which you want to process the transaction.
This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations.
We strongly recommend you send the
merchantOrderReferencevalue to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provideretry.orderAttemptNumber,retry.chainAttemptNumber, andretry.skipRetryvalues inPaymentRequest.additionalData.
Metadata consists of entries, each of which includes a key and a value. Limits:
- Maximum 20 key-value pairs per request.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
Indicates the type of front end integration. Possible values:
- embedded (default): Drop-in or Components integration
- hosted: Hosted Checkout integration
Authentication data produced by an MPI (Mastercard SecureCode, Visa Secure, or Cartes Bancaires).
In 3D Secure 2, this is the transStatus from the challenge result. If the transaction was frictionless, omit this parameter.
The cardholder authentication value (base64 encoded, 20 bytes in a decoded form).
The CAVV algorithm used. Include this only for 3D Secure 1.
Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to 3D Secure API reference.
In 3D Secure 2, this is the transStatus from the ARes.
Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction.
The electronic commerce indicator.
Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations.
The version of the 3D Secure protocol.
Network token authentication verification value (TAVV). The network token cryptogram.
Provides information on why the transStatus field has the specified value. For possible values, refer to our docs.
Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).
Indicates if the session is payable. If the payment amount is final, set this to true to indicate that the session is payable, so that the shopper can proceed to submit the payment. When you set this to true, you can no longer update the session.
If you set this to false, you must make another request to update the session and set this to true before the shopper can submit the payment.
If not specified, this defaults to true.
Defines how to book chargebacks when using Adyen for Platforms.
The method of handling the chargeback.
Possible values: deductFromLiableAccount, deductFromOneBalanceAccount, deductAccordingToSplitRatio.
The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account.
The unique identifier of the balance account against which the disputed amount is booked.
Required if behavior is deductFromOneBalanceAccount.
Date after which no further authorisations shall be performed. Only for 3D Secure 2.
Minimum number of days between authorisations. Only for 3D Secure 2.
Defines a recurring payment type. Required when creating a token to store payment details. Allowed values:
Subscription– A transaction for a fixed or variable amount, which follows a fixed schedule.CardOnFile– With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction.UnscheduledCardOnFile– An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount.
Specifies the redirect method (GET or POST) when redirecting back from the issuer.
Specifies the redirect method (GET or POST) when redirecting to the issuer.
The reference to uniquely identify a payment.
The URL to return to in case of a redirection. The format depends on the channel.
- For web, include the protocol
http://orhttps://. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example:https://your-company.example.com/checkout?shopperOrder=12xy - For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the Apple Developer documentation.
Example:
my-app:// - For Android, use a custom URL handled by an Activity on your app. You can configure it with an intent filter.
Example:
my-app://your.package.name
If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value.
The URL must not include personally identifiable information (PII), for example name or email address.
Any risk-related settings to apply to the payment.
Contains client-side data, like the device fingerprint, cookies, and specific browser settings.
Any custom fields used as part of the input to configured risk rules.
An integer value that is added to the normal fraud score. The value can be either positive or negative.
The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied.
Use this if you made a /paymentMethods request to get the payment methods for the shopper's checkout session.
A unique ID to connect the shopper to a single checkout session that uses multiple API requests. You can use this to get insights into conversion rates.
The shopper's email address.
The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).
Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the
shopperEmail. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, contact Support.
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.
This field has the following possible values:
Ecommerce- Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request.ContAuth- Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment).Moto- Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone.POS- Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
The language for the payment. The value combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code. For example, nl-NL.
When using Drop-in/Components, the specified language appears if your front-end global configuration does not set the locale.
The shopper's full name. This object is required for some payment methods such as AfterPay, Klarna, or if you're enrolled in the PayPal Seller Protection program.
The first name.
The last name.
Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters.
Your reference must not include personally identifiable information (PII) such as name or email address.
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 . , ' _ - ? + * /.
Set to true to show the payment amount per installment.
Set to true to show a button that lets the shopper remove a stored payment method.
The shopper's social security number.
Boolean value indicating whether the card payment method should be split into separate debit and credit options.
An array of objects specifying how to split a payment when using Adyen for Platforms, Classic Platforms integration, or Issuing.
The unique identifier of the account to which the split amount is booked. Required if type is MarketPlace or BalanceAccount.
- Classic Platforms integration: The
accountCodeof the account to which the split amount is booked. - Balance Platform: The
balanceAccountIdof the account to which the split amount is booked.
The amount of the split item.
- Required for all split types in the Classic Platforms integration.
- Required if
typeis BalanceAccount, Commission, Surcharge, Default, or VAT in your Balance Platform integration.
The three-character ISO currency code. By default, this is the original payment currency.
The value of the split amount, in minor units.
Your description for the split item.
Your unique reference for the part of the payment booked to the specified account.
This is required if type is MarketPlace (Classic Platforms integration) or BalanceAccount (Balance Platform).
For the other types, we also recommend providing a unique reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.
The part of the payment you want to book to the specified account.
Possible values for the Balance Platform:
- BalanceAccount: Books part of the payment (specified in
amount) to the specifiedaccount. - Transaction fees types that you can book to the specified
account:- AcquiringFees: The aggregated amount of the interchange and scheme fees.
- PaymentFee: The aggregated amount of all transaction fees.
- AdyenFees: The aggregated amount of Adyen's commission and markup fees.
- AdyenCommission: The transaction fees due to Adyen under blended rates.
- AdyenMarkup: The transaction fees due to Adyen under Interchange ++ pricing.
- Interchange: The fees paid to the issuer for each payment made with the card network.
- SchemeFee: The fees paid to the card scheme for using their network.
- Commission: Your platform's commission on the payment (specified in
amount), booked to your liable balance account. - Remainder: The amount left over after a currency conversion, booked to the specified
account. - Surcharge: The payment acceptance fee imposed by the card scheme or debit network provider, paid by your user's customer.
- TopUp: Allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods.
- VAT: The value-added tax charged on the payment, booked to your platforms liable balance account.
- Default: In very specific use cases, allows you to book the specified
amountto the specifiedaccount. For more information, contact Adyen support.
Possible values for the Classic Platforms integration: Commission, Default, MarketPlace, PaymentFee, VAT.
Required for Adyen for Platforms integrations if you are a platform model. This is your reference (on balance platform) or the storeReference (in the classic integration) for the ecommerce or point-of-sale store that is processing the payment.
Specifies how payment methods should be filtered based on the 'store' parameter:
- 'exclusive': Only payment methods belonging to the specified 'store' are returned.
- 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.
When true and shopperReference is provided, the payment details will be stored for future recurring payments.
Indicates if the details of the payment method will be stored for the shopper. Possible values:
- disabled – No details will be stored (default).
- askForConsent – If the
shopperReferenceis provided, the Drop-in/Component shows a checkbox where the shopper can select to store their payment details for card payments. - enabled – If the
shopperReferenceis provided, the details will be stored without asking the shopper for consent.
The shopper's telephone number. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail.
Sets a custom theme for Hosted Checkout. The value can be any of the Theme ID values from your Customer Area.
Configuration for creating redundant payment tokens with third-party token vaults using the Adyen Forward API. This feature requires Forward API webhook integration and pre-configured templates in your Adyen account. Contact your Adyen account manager for setup and availability.
Request-specific parameter values to populate the template placeholders. Each key must match a placeholder defined in the template referenced by requestTemplateCode.
Identifier for the third-party token request template configured in your Adyen account. This template defines the structure and endpoint for token requests.
Request fields for 3D Secure 2. To check if any of the following fields are required for your integration, refer to Online payments.
The home phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.
Country code. Length: 1–3 digits.
Subscriber number. Length: 4-15 digits.
The mobile phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.
Country code. Length: 1–3 digits.
Subscriber number. Length: 4-15 digits.
Indicates whether a challenge is requested for this transaction. Possible values:
- 01 — No preference
- 02 — No challenge requested
- 03 — Challenge requested (3DS Requestor preference)
- 04 — Challenge requested (Mandate)
- 05 — No challenge (transactional risk analysis is already performed)
- 06 — Data Only
The work phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.
Country code. Length: 1–3 digits.
Subscriber number. Length: 4-15 digits.
Use authenticationData.authenticationOnly instead.
Required to trigger the authentication-only flow. If set to true, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: false.
Set to true if the payment should be routed to a trusted MID.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
201 - Created
The request has been fulfilled and has resulted in one or more new resources being created.
accountInfoobjectShopper account information for 3D Secure 2.
For 3D Secure 2 transactions, we recommend that you include this object to increase the chances of achieving a frictionless flow.
accountAgeIndicatorstringIndicator for the length of time since this shopper account was created in the merchant's environment. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
accountChangeDatestringDate when the shopper's account was last changed.
accountChangeIndicatorstringIndicator for the length of time since the shopper's account was last updated. Allowed values:
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
accountCreationDatestringDate when the shopper's account was created.
accountTypestringIndicates the type of account. For example, for a multi-account card product. Allowed values:
- notApplicable
- credit
- debit
addCardAttemptsDayintegerNumber of attempts the shopper tried to add a card to their account in the last day.
deliveryAddressUsageDatestringDate the selected delivery address was first used.
deliveryAddressUsageIndicatorstringIndicator for the length of time since this delivery address was first used. Allowed values:
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
homePhonestringDeprecated in version 68Use
ThreeDS2RequestData.homePhoneinstead.Shopper's home phone number (including the country code).
mobilePhonestringDeprecated in version 68Use
ThreeDS2RequestData.mobilePhoneinstead.Shopper's mobile phone number (including the country code).
passwordChangeDatestringDate when the shopper last changed their password.
passwordChangeIndicatorstringIndicator when the shopper has changed their password. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
pastTransactionsDayintegerNumber of all transactions (successful and abandoned) from this shopper in the past 24 hours.
pastTransactionsYearintegerNumber of all transactions (successful and abandoned) from this shopper in the past year.
paymentAccountAgestringDate this payment method was added to the shopper's account.
paymentAccountIndicatorstringIndicator for the length of time since this payment method was added to this shopper's account. Allowed values:
- notApplicable
- thisTransaction
- lessThan30Days
- from30To60Days
- moreThan60Days
purchasesLast6MonthsintegerNumber of successful purchases in the last six months.
suspiciousActivitybooleanWhether suspicious activity was recorded on this account.
workPhonestringDeprecated in version 68Use
ThreeDS2RequestData.workPhoneinstead.Shopper's work phone number (including the country code).
additionalAmountobjectIf you want a BIN or card verification request to use a non-zero value, assign this value to
additionalAmount(while the amount must be still set to 0 to trigger BIN or card verification). Required to be in the same currency as theamount.valueintegerThe numeric value of the amount, in minor units.
additionalDataobjectThis field contains additional data, which may be required for a particular payment request.
The
additionalDataobject consists of entries, each of which includes the key and value.allowedPaymentMethodsarray[string]List of payment methods to be presented to the shopper. To refer to payment methods, use their payment method type.
Example:
"allowedPaymentMethods":["ideal","applepay"]applicationInfoobjectInformation about your application. For more details, see Building Adyen solutions.
adyenLibraryobjectAdyen-developed software, such as libraries and plugins, used to interact with the Adyen API. For example, Magento plugin, Java API library, etc.
namestringName of the field. For example, Name of External Platform.
versionstringVersion of the field. For example, Version of External Platform.
adyenPaymentSourceobjectAdyen-developed software to get payment details. For example, Checkout SDK, Secured Fields SDK, etc.
namestringName of the field. For example, Name of External Platform.
versionstringVersion of the field. For example, Version of External Platform.
externalPlatformobjectThird-party developed platform used to initiate payment requests. For example, Magento, Zuora, etc.
integratorstringExternal platform integrator.
namestringName of the field. For example, Name of External Platform.
versionstringVersion of the field. For example, Version of External Platform.
merchantApplicationobjectMerchant developed software, such as cashier application, used to interact with the Adyen API.
namestringName of the field. For example, Name of External Platform.
versionstringVersion of the field. For example, Version of External Platform.
merchantDeviceobjectMerchant device information.
osstringOperating system running on the merchant device.
osVersionstringVersion of the operating system on the merchant device.
referencestringMerchant device reference.
shopperInteractionDeviceobjectShopper interaction device, such as terminal, mobile device or web browser, to initiate payment requests.
localestringLocale on the shopper interaction device.
osstringOperating system running on the shopper interaction device.
osVersionstringVersion of the operating system on the shopper interaction device.
authenticationDataobjectConfiguration data for 3DS payments.
attemptAuthenticationstringIndicates when 3D Secure authentication should be attempted. This overrides all other rules, including Dynamic 3D Secure settings.
Possible values:
- always: Perform 3D Secure authentication.
- never: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined.
authenticationOnlybooleanRequired to trigger the authentication-only flow. If set to true, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization. Default: false.
threeDSRequestDataobjectObject with additional parameters for the 3D Secure authentication flow.
challengeWindowSizestringDimensions of the 3DS2 challenge window to be displayed to the cardholder.
Possible values:
- 01 - size of 250x400
- 02 - size of 390x400
- 03 - size of 500x600
- 04 - size of 600x400
- 05 - Fullscreen
dataOnlystringRequired to trigger the data-only flow. When set to true, forces the 3D Secure 2 data-only flow for all transactions where it is possible.
nativeThreeDSstringIndicates if native 3D Secure authentication should be triggered when available. Adyen can still select to fallback to the redirect flow to optimize authorization rates and improve the shopper's experience.
Possible values:
- preferred: Use native 3D Secure authentication when available.
- disabled: Use the redirect 3D Secure authentication flow.
threeDSVersionstringThe version of 3D Secure to use.
Possible values:
- 2.1.0
- 2.2.0
billingAddressobjectThe address where to send the invoice.
citystringMax length: 3000The name of the city. Maximum length: 3000 characters.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.houseNumberOrNamestringMax length: 3000The number or name of the house. Maximum length: 3000 characters.
postalCodestringMax length: 10A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
stateOrProvincestringMax length: 3The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
streetstringMax length: 3000The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.blockedPaymentMethodsarray[string]List of payment methods to be hidden from the shopper. To refer to payment methods, use their payment method type.
Example:
"blockedPaymentMethods":["ideal","applepay"]captureDelayHoursintegerThe delay between the authorisation and scheduled auto-capture, specified in hours.
channelstringThe platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the
sdkVersionortoken.Possible values:
- iOS
- Android
- Web
companyobjectInformation regarding the company.
homepagestringThe company website's home page.
namestringThe company name.
registrationNumberstringRegistration number of the company.
registryLocationstringRegistry location of the company.
taxIdstringTax ID of the company.
typestringThe company type.
countryCodestringThe shopper's two-letter country code.
dateOfBirthstringThe shopper's date of birth in ISO8601 format.
deliverAtstringThe date and time when the purchased goods should be delivered.
ISO 8601 format: YYYY-MM-DDThh:mm:ss+TZD, for example, 2020-12-18T10:15:30+01:00.
deliveryAddressobjectThe address where the purchased goods should be delivered.
citystringMax length: 3000The name of the city. Maximum length: 3000 characters.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.firstNamestringhouseNumberOrNamestringMax length: 3000The number or name of the house. Maximum length: 3000 characters.
lastNamestringpostalCodestringMax length: 10A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
stateOrProvincestringMax length: 3The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
streetstringMax length: 3000The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.enableOneClickbooleanWhen true and
shopperReferenceis provided, the shopper will be asked if the payment details should be stored for future one-click payments.enablePayOutbooleanWhen true and
shopperReferenceis provided, the payment details will be tokenized for payouts.enableRecurringbooleanWhen true and
shopperReferenceis provided, the payment details will be stored for recurring payments where the shopper is not present, such as subscription or automatic top-up payments.enhancedSchemeDataobjectEnhanced scheme data that may be required for processing the payment and/or interchange savings can apply.
airlineobjectAirline enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
agencyobjectinvoiceNumberstringThe reference number for the invoice, issued by the agency.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 6 characters
- additionalData key:
airline.agency_invoice_number
planNamestringThe two-letter agency plan identifier.
- Encoding: ASCII
- minLength: 2 characters
- maxLength: 2 characters
- additionalData key:
airline.agency_plan_name
boardingFeeintegerThe amount charged for boarding the plane, in minor units.
- Encoding: Numeric
- minLength: 1 character
- maxLength: 11 characters
- additionalData key:
airline.boarding_fee
codestringThe IATA 3-digit accounting code (PAX) that identifies the carrier.
- Format: IATA 3-digit accounting code (PAX)
- Example: KLM = 074
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.airline_code
computerizedReservationSystemstringThe CRS used to make the reservation and purchase the ticket.
- Encoding: ASCII
- minLength: 4 characters
- maxLength: 4 characters
- additionalData key:
airline.computerized_reservation_system
customerReferenceNumberstringThe alphanumeric customer reference number.
- Encoding: ASCII
- maxLength: 20 characters
- If you send more than 20 characters, the customer reference number is truncated
- Must not start with a space or be all spaces.
- additionalData key:
airline.customer_reference_number
designatorCodestringThe IATA 2-letter accounting code (PAX) that identifies the carrier.
- Encoding: ASCII
- Example: KLM = KL
- minLength: 2 characters
- maxLength: 2 characters
- Must not start with a space or be all spaces.
- additionalData key:
airline.airline_designator_code
documentTypestringA code that identifies the type of item bought. The description of the code can appear on credit card statements.
- Encoding: ASCII
- Example: Passenger ticket = 01
- minLength: 2 characters
- maxLength: 2 characters
- additionalData key:
airline.document_type
flightDatestringThe flight departure date. Time is optional.
- Format for date only:
yyyy-MM-dd - Format for date and time:
yyyy-MM-ddTHH:mm - Use local time of departure airport.
- minLength: 10 characters
- maxLength: 16 characters
- additionalData key:
airline.flight_date
legsarray[object]carrierCodestringThe IATA 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details.
- Example: KLM = KL
- minLength: 2 characters
- maxLength: 2 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].carrier_code
classOfTravelstringA one-letter travel class identifier. The following are common:
-
F: first class
-
J: business class
-
Y: economy class
-
W: premium economy
-
Encoding: ASCII
-
minLength: 1 character
-
maxLength: 1 character
-
Must not start with a space or be all spaces.
-
Must not be all zeros.
-
additionalData key:
airline.leg[N].class_of_travel
dateOfTravelstringDate and time of travel in format
yyyy-MM-ddTHH:mm.- Use local time of departure airport.
- minLength: 16 characters
- maxLength: 16 characters
- additionalData key:
airline.leg[N].date_of_travel
departureAirportCodestringThe IATA three-letter airport code of the departure airport. This field is required if the airline data includes leg details.
- Encoding: ASCII
- Example: Amsterdam = AMS
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].depart_airport
departureTaxintegerThe amount of departure tax charged, in minor units.
- Encoding: Numeric
- minLength: 1
- maxLength: 11
- Must not be all zeros.
- additionalData key:
airline.leg[N].depart_tax
destinationAirportCodestringThe IATA 3-letter airport code of the destination airport. This field is required if the airline data includes leg details.
- Example: Amsterdam = AMS
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].destination_code
fareBasisCodestringThe fare basis code, alphanumeric.
- minLength: 1 character
- maxLength: 15 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].fare_base_code
flightNumberstringThe flight identifier.
- minLength: 1 character
- maxLength: 5 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.leg[N].flight_number
stopOverCodestringA one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 1 character
- additionalData key:
airline.leg[N].stop_over_code
passengerNamestringThe passenger's name, initials, and title.
- Format: last name + first name or initials + title
- Example: FLYER / MARY MS
- minLength: 1 character
- maxLength: 20 characters
- If you send more than 20 characters, the name is truncated
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.passenger_name
passengersarray[object]dateOfBirthstringThe passenger's date of birth.
- Format
yyyy-MM-dd - minLength: 10
- maxLength: 10
- additionalData key:
airline.passenger[N].date_of_birth
firstNamestringThe passenger's first name.
This field is required if the airline data includes passenger details or leg details.
- Encoding: ASCII
- additionalData key:
airline.passenger[N].first_name
lastNamestringThe passenger's last name.
This field is required if the airline data includes passenger details or leg details.
- Encoding: ASCII
- additionalData key:
airline.passenger[N].last_name
phoneNumberstringThe passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs.
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 30 characters
- additionalData key:
airline.passenger[N].phone_number
travellerTypestringThe IATA passenger type code (PTC).
- Encoding: ASCII
- minLength: 3 characters
- maxLength: 6 characters
- additionalData key:
airline.passenger[N].traveller_type
ticketobjectissueAddressstringThe address of the organization that issued the ticket.
- minLength: 0 characters
- maxLength: 16 characters
- additionalData key:
airline.ticket_issue_address
issueDatestringThe date that the ticket was issued to the passenger.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
airline.issue_date
numberstringThe ticket's unique identifier.
- minLength: 1 character
- maxLength: 15 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.ticket_number
travelAgencyobjectcodestringThe unique identifier from IATA or ARC for the travel agency that issues the ticket.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 8 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.travel_agency_code
namestringThe name of the travel agency.
- Encoding: ASCII
- minLength: 1 character
- maxLength: 25 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
airline.travel_agency_name
carRentalobjectCar rental enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
customerServicePhoneNumberstringThe customer service phone number of the car rental company.
- Format: Alphanumeric
- maxLength: 17
- For US and CA numbers must be 10 characters in length
- Must not contain any special characters such as + or -
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.customerServiceTollFreeNumber
noShowbooleanIndicates if the customer didn't pick up their rental car.
- additionalData key:
carRental.noShowIndicator
pickupInfoobjectcitystringThe city where the car is rented.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.locationCity
countryCodestringThe country where the car is rented, in ISO 3166-1 alpha-2 format.
- maxLength: 2 characters
- additionalData key:
carRental.locationCountry
datestringThe pick-up date.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
carRental.checkOutDate
stateOrProvincestringThe state or province where the car is rented.
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.locationStateProvince
rateTypestringIndicates whether the rental rate is daily or weekly.
- additionalData key:
carRental.rateIndicator
rentalAgreementNumberstringThe rental agreement number for the car rental.
- Format: ASCII
- maxLength: 9 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.rentalAgreementNumber
rentalClassIdstringThe classification of the rental car.
- Format: Alphanumeric
- maxLength: 4 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.rentalClassId
rentalDaysintegerThe number of days the car is rented for.
- Format: Numeric
- Max value: 9999
- additionalData key:
carRental.daysRented
rentalRateintegerRental rate, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- Frequency of the rental rate is specified in the rateType field.
- additionalData key:
carRental.rate
rentalSurchargesobjectfuelintegerThe fuel charges associated with the rental, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.fuelCharges
insuranceintegerAny insurance charges associated with the rental, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.insuranceCharges
oneWayDropOffintegerThe charge for not returning a car to the original rental location, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
carRental.oneWayDropOffCharges
renterNamestringThe name of the person renting the car.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.renterName
returnInfoobjectcitystringThe city where the car must be returned.
- Format: ASCII
- maxLength: 18 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnCity
countryCodestringThe country where the car must be returned, in ISO 3166-1 alpha-2 format.
- maxLength: 2 characters
- additionalData key:
carRental.returnCountry
datestringThe date by which the car must be returned.
- minLength: 10 characters
- maxLength: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
carRental.returnDate
locationIdstringThe agency code, phone number, or address abbreviation.
- Format: ASCII
- maxLength: 10 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnLocationId
stateOrProvincestringThe state or province where the car must be returned.
- Format: ASCII
- maxLength: 3 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
carRental.returnStateProvince
taxExemptbooleanIndicates if the goods or services were tax-exempt, or if tax was not collected.
- additionalData key:
carRental.taxExemptIndicator
healthcareobjectHealthcare auto-substantiation amounts for FSA/HSA card transactions. The amounts are used to qualify for reduced interchange rates on healthcare-eligible cards.
dentalValueintegerThe dental amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
otherMedicalValueintegerThe other medical amount not covered by the specific categories, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
prescriptionValueintegerThe prescription/Rx amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
totalHealthcareValueintegerThe total healthcare amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
visionPrescriptionValueintegerThe vision/optical prescription amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
levelTwoThreeobjectLevel 2 and Level 3 enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
customerReferenceNumberstringThe reference number to identify the customer and their order.
- Format: ASCII
- Max length: 25 characters
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.customerReference
destinationobjectThe destination address information.
countryCodestringThe two-letter ISO 3166-1 alpha-2 or three-letter ISO 3166-1 alpha-3 country code for the destination address.
- Encoding: ASCII
- Min length: 2 characters
- Max length: 3 characters
- additionalData key:
enhancedSchemeData.destinationCountryCode
postalCodestringThe postal code of the destination address.
- Encoding: ASCII
- Max length: 10 characters
- Must not start with a space.
- For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000.
- For Canada, it must be in 6 digits format. For example, M4B 1G5.
- additionalData key:
enhancedSchemeData.destinationPostalCode
stateOrProvincestringThe state or province code of the destination address.
- Encoding: ASCII
- Max length: 3 characters
- Must not start with a space.
- additionalData key:
enhancedSchemeData.destinationStateProvinceCode
dutyAmountintegerThe duty tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.dutyAmount
freightAmountintegerThe shipping amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.freightAmount
itemDetailLinesarray[object]The list of item detail lines.
commodityCodestringThe code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes:
-
Encoding: ASCII
-
Max length: 12 characters
-
Must not start with a space or be all spaces.
-
Must not be all zeros.
-
additionalData key:
enhancedSchemeData.itemDetailLine[N].commodityCode
descriptionstringA description of the item, that provides details about the purchase.
For Visa transactions with level 3 ESD, the description must not be the same or very similar to your merchant name, or, consist only of common words like "product", or "service".
- Encoding: ASCII
- Max length: 26 characters
- Must not be a single character.
- Must not be blank.
- Must not be all special characters.
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.itemDetailLine[N].description
discountAmountintegerThe discount amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.itemDetailLine[N].discountAmount
productCodestringThe product code. Must be a unique product code associated with the item or service. This can be your unique code for the item, or the manufacturer's product code.
- Encoding: ASCII.
- Max length: 12 characters
- additionalData key:
enhancedSchemeData.itemDetailLine[N].productCode
quantityintegerThe number of items. Must be an integer greater than zero.
- Encoding: Numeric
- Max value: 9999
- additionalData key:
enhancedSchemeData.itemDetailLine[N].quantity
totalAmountintegerThe total amount for the line item, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
See Amount requirements for level 2/3 ESD to learn more about how to calculate the line item total.
- additionalData key:
enhancedSchemeData.itemDetailLine[N].totalAmount
unitOfMeasurestringThe unit of measurement for an item.
- Encoding: ASCII
- Max length: 3 characters
- additionalData key:
enhancedSchemeData.itemDetailLine[N].unitOfMeasure
unitPriceintegerThe unit price, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.itemDetailLine[N].unitPrice
orderDatestringThe date of the order.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.orderDate
shipFromPostalCodestringThe postal code of the address where the item is shipped from.
- Encoding: ASCII
- Max length: 10 characters
- For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000.
- For Canada, it must be in 6 digits format. For example, M4B 1G5.
- additionalData key:
enhancedSchemeData.shipFromPostalCode
totalTaxAmountintegerThe amount of state or provincial tax included in the total transaction amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- For L2 data: must not be all zeroes.
- For L3 data: can be zero.
- additionalData key:
enhancedSchemeData.totalTaxAmount
lodgingobjectLodging enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
checkInDatestringThe check-in date.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
lodging.checkInDate
checkOutDatestringThe check-out date.
- Min Length: 10 characters
- Max Length: 10 characters
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
lodging.checkOutDate
customerServicePhoneNumberstringThe toll-free phone number for the lodging customer service.
- Format: Alphanumeric
- For US and CA numbers must be 10 characters in length
- Must not start with a space
- Must not contain any special characters such as + or -
- Must not be all zeros.
- additionalData key:
lodging.customerServiceTollFreeNumber
fireSafetyCompliancebooleanIndicates that the facility complies with the Hotel and Motel Fire Safety Act of 1990.
- additionalData key:
lodging.fireSafetyActIndicator
folioobjectThe folio information for the booking.
cashAdvancesintegerThe folio cash advances, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.folioCashAdvances
numberstringThe card acceptor's internal invoice or billing ID reference number.
- Format: Alphanumeric
- Must not start with a space
- Must not contain any special characters
- Must not be all zeros.
- additionalData key:
lodging.folioNumber
foodBeverageChargesintegerAny charges for food and beverages associated with the booking, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.foodBeverageCharges
lodgingChargeTypestringThe category of lodging charges for the payment.
- additionalData key:
lodging.specialProgramCode
noShowbooleanIndicates if the customer didn't check in for their booking.
- additionalData key:
lodging.noShowIndicator
prepaidExpensesintegerThe prepaid expenses for the booking, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.prepaidExpenses
propertyPhoneNumberstringThe lodging property location's phone number.
- Format: Alphanumeric
- Min length: 10 characters
- For US and CA numbers must be 10 characters in length
- Must not start with a space
- Must not contain any special characters such as + or -
- Must not be all zeros.
- additionalData key:
lodging.propertyPhoneNumber
renterNamestringThe name of the person renting the room.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
lodging.renterName
roomsarray[object]The list of rooms booked.
numberOfNightsintegerThe total number of nights the room is booked for.
- Format: Numeric
- Must be a number between 1 and 99
- additionalData key:
lodging.room[N].numberOfNights
rateintegerRoom rate per night, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.room[N].rate
totalRoomTaxintegerThe total room tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.totalRoomTax
totalTaxintegerThe total tax amount, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
lodging.totalTax
temporaryServicesobjectTemporary services enhanced scheme data that may be required for processing the transaction and/or for interchange savings.
employeeNamestringThe name or ID of the person working in a temporary capacity.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.employeeName
endDatestringThe billing period end date.
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.tempWeekEnding
hourRateintegerThe hourly rate for the temporary services, in minor units.
- For example, 2000 means USD 20.00.
- Encoding: Numeric
- Max value: 10000000000
- additionalData key:
enhancedSchemeData.regularHoursRate
hoursWorkedintegerThe number of hours worked during the billing period.
- Format: Numeric
- additionalData key:
enhancedSchemeData.regularHoursWorked
jobDescriptionstringThe job description of the person working in a temporary capacity.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.jobDescription
serviceRequestorstringThe name of the person requesting the temporary services.
- Format: ASCII
- Must not start with a space or be all spaces.
- Must not be all zeros.
- additionalData key:
enhancedSchemeData.requestName
startDatestringThe billing period start date.
- Format ISO 8601: yyyy-MM-dd
- additionalData key:
enhancedSchemeData.tempStartDate
expiresAtstringThe date the session expires in ISO8601 format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.
fundOriginobjectThe person or entity funding the money.
billingAddressobjectThe address where to send the invoice.
citystringMax length: 3000The name of the city. Maximum length: 3000 characters.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.houseNumberOrNamestringMax length: 3000The number or name of the house. Maximum length: 3000 characters.
postalCodestringA maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
stateOrProvincestringThe two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
streetstringMax length: 3000The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.shopperEmailstringThe email address of the person funding the money.
shopperNameobjectThe name of the person funding the money.
firstNamestringMax length: 80The first name.
lastNamestringMax length: 80The last name.
telephoneNumberstringThe phone number of the person funding the money.
walletIdentifierstringThe unique identifier of the wallet where the funds are coming from.
fundRecipientobjectthe person or entity receiving the money
IBANstringThe IBAN of the bank account where the funds are being transferred to.
billingAddressobjectThe address where to send the invoice.
citystringMax length: 3000The name of the city. Maximum length: 3000 characters.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.houseNumberOrNamestringMax length: 3000The number or name of the house. Maximum length: 3000 characters.
postalCodestringA maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
stateOrProvincestringThe two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
streetstringMax length: 3000The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.paymentMethodobjectThe payment method used by the shopper.
billingSequenceNumberstringThe sequence number for the debit. For example, send 2 if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
brandstringSecondary brand of the card. For example: plastix, hmclub.
checkoutAttemptIdstringThe checkout attempt identifier.
cupsecureplus.smscodestringDeprecatedcvcstringThe card verification code. Only collect raw card data if you are fully PCI compliant.
encryptedCardstringMax length: 40000Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
encryptedCardNumberstringMax length: 15000The encrypted card number.
encryptedExpiryMonthstringMax length: 15000The encrypted card expiry month.
encryptedExpiryYearstringMax length: 15000The encrypted card expiry year.
encryptedPasswordstringMax length: 15000This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
encryptedSecurityCodestringMax length: 15000The encrypted card verification code.
expiryMonthstringThe card expiry month. Only collect raw card data if you are fully PCI compliant.
expiryYearstringThe card expiry year. Only collect raw card data if you are fully PCI compliant.
fastlaneDatastringThe encoded fastlane data blob
fundingSourcestringThe funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to debit.
holderNamestringMax length: 15000The name of the card holder.
networkPaymentReferencestringThe transaction identifier from card schemes. This is the
networkTxReferencefrom the response to the first payment.numberstringThe card number. Only collect raw card data if you are fully PCI compliant.
recurringDetailReferencestringDeprecated in version 49Use
storedPaymentMethodIdinstead.This is the
recurringDetailReferencereturned in the response when you created the token.sdkDatastringMax length: 50000Base64-encoded JSON object containing SDK related parameters required by the SDK
shopperNotificationReferencestringThe
shopperNotificationReferencereturned in the response when you requested to notify the shopper. Used only for recurring payments in India.srcCorrelationIdstringAn identifier used for the Click to Pay transaction.
srcDigitalCardIdstringThe SRC reference for the Click to Pay token.
srcSchemestringThe scheme that is being used for Click to Pay.
srcTokenReferencestringThe reference for the Click to Pay token.
storedPaymentMethodIdstringMax length: 64This is the
recurringDetailReferencereturned in the response when you created the token.threeDS2SdkVersionstringMax length: 12Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
typestringDefault payment method details. Common for scheme payment methods, and for simple payment method details.
shopperEmailstringThe email address of the shopper.
shopperNameobjectThe name of the shopper.
firstNamestringMax length: 80The first name.
lastNamestringMax length: 80The last name.
shopperReferencestringMin length: 3Max length: 256Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters.
Your reference must not include personally identifiable information (PII) such as name or email address.
storedPaymentMethodIdstringMax length: 64This is the
recurringDetailReferencereturned in the response when you created the token.subMerchantobjectRequired for back-to-back/purchase-driven-load transactions, where the funds are taken from the shopper's stored card when the wallet balance is insufficient. The final merchant who will receive the money, also known as a sub-merchant.
citystringThe city of the sub-merchant's address.
- Format: Alphanumeric
- Maximum length: 13 characters
countrystringThe three-letter country code of the sub-merchant's address. For example, BRA for Brazil.
- Format: ISO 3166-1 alpha-3
- Fixed length: 3 characters
mccstringThe sub-merchant's 4-digit Merchant Category Code (MCC).
- Format: Numeric
- Fixed length: 4 digits
namestringThe name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement.
- Format: Alphanumeric
- Maximum length: 22 characters
taxIdstringThe tax ID of the sub-merchant.
- Format: Numeric
- Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
telephoneNumberstringThe telephone number of the shopper.
walletIdentifierstringThe unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.
walletOwnerTaxIdstringThe tax identifier of the person receiving the funds.
walletPurposestringThe purpose of a digital wallet transaction.
idstringA unique identifier of the session.
installmentOptionsobjectA set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, card to specify installment options for all cards, or visa or mc. The value must be an object containing the installment options.
plansarray[string]Defines the type of installment plan. If not set, defaults to regular.
Possible values:
- regular
- revolving
- bonus
preselectedValueintegerPreselected number of installments offered for this payment method.
valuesarray[integer]An array of the number of installments that the shopper can choose from. For example, [2,3,5].
lineItemsarray[object]Price and product information about the purchased items, to be included on the invoice sent to the shopper.
This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
amountExcludingTaxintegerItem amount excluding the tax, in minor units.
amountIncludingTaxintegerItem amount including the tax, in minor units.
brandstringBrand of the item.
colorstringColor of the item.
descriptionstringMax length: 10000Description of the line item.
idstringID of the line item.
imageUrlstringLink to the picture of the purchased item.
itemCategorystringItem category, used by the payment methods PayPal and Ratepay.
manufacturerstringManufacturer of the item.
marketplaceSellerIdstringMarketplace seller id.
productUrlstringLink to the purchased item.
quantityintegerNumber of items.
receiverEmailstringEmail associated with the given product in the basket (usually in electronic gift cards).
returnShippingCompanystringShipping company handling the return of the item.
returnTrackingNumberstringTracking number for the return of the item.
returnTrackingUristringTracking URI for the return of the item.
riskCategorystringAn optional, free-text category for the item to be used in the risk evaluation. When provided, Protect uses this value to evaluate custom risk rules.
shippingCompanystringShipping company handling the delivery of the item.
shippingMethodstringShipping method used to deliver the item.
sizestringSize of the item.
skustringStock keeping unit.
taxAmountintegerTax amount, in minor units.
taxPercentageintegerTax percentage, represented as a basis point integer. For example:
- 530 for 5.3% (five point three percent)
- 2100 for 21% (twenty-one percent)
trackingNumberstringTracking number for the delivery of the item.
trackingUristringTracking URI for the delivery of the item.
upcstringUniversal Product Code.
mandateobjectThe mandate details to initiate recurring transaction.
amountstringThe billing amount (in minor units) of the recurring transactions.
amountRulestringThe limitation rule of the billing amount.
Possible values:
-
max: The transaction amount can not exceed the
amount. -
exact: The transaction amount should be the same as the
amount.
billingAttemptsRulestringThe rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date.
Possible values:
-
on: On a specific date.
-
before: Before and on a specific date.
-
after: On and after a specific date.
billingDaystringThe number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date.
Possible values: 1-31 based on the
frequency.countstringThe number of transactions that can be performed within the given frequency.
endsAtstringEnd date of the billing plan, in YYYY-MM-DD format.
frequencystringThe frequency with which a shopper should be charged.
Possible values: adhoc, daily, weekly, biWeekly, monthly, quarterly, halfYearly, yearly.
remarksstringThe message shown by UPI to the shopper on the approval screen.
startsAtstringStart date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.
mccstringThe merchant category code (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.
merchantAccountstringThe merchant account identifier, with which you want to process the transaction.
merchantOrderReferencestringThis reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations.
We strongly recommend you send the
merchantOrderReferencevalue to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provideretry.orderAttemptNumber,retry.chainAttemptNumber, andretry.skipRetryvalues inPaymentRequest.additionalData.metadataobjectMetadata consists of entries, each of which includes a key and a value. Limits:
- Maximum 20 key-value pairs per request.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
modestringIndicates the type of front end integration. Possible values:
- embedded (default): Drop-in or Components integration
- hosted: Hosted Checkout integration
mpiDataobjectAuthentication data produced by an MPI (Mastercard SecureCode, Visa Secure, or Cartes Bancaires).
authenticationResponsestringIn 3D Secure 2, this is the
transStatusfrom the challenge result. If the transaction was frictionless, omit this parameter.cavvstringThe cardholder authentication value (base64 encoded, 20 bytes in a decoded form).
cavvAlgorithmstringThe CAVV algorithm used. Include this only for 3D Secure 1.
challengeCancelstringIndicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to 3D Secure API reference.
directoryResponsestringIn 3D Secure 2, this is the
transStatusfrom theARes.dsTransIDstringSupported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction.
ecistringThe electronic commerce indicator.
riskScorestringRisk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations.
threeDSVersionstringThe version of the 3D Secure protocol.
tokenAuthenticationVerificationValuestringNetwork token authentication verification value (TAVV). The network token cryptogram.
transStatusReasonstringProvides information on why the
transStatusfield has the specified value. For possible values, refer to our docs.xidstringSupported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).
payablebooleanIndicates if the session is payable. If the payment amount is final, set this to true to indicate that the session is payable, so that the shopper can proceed to submit the payment. When you set this to true, you can no longer update the session.
If you set this to false, you must make another request to update the session and set this to true before the shopper can submit the payment.
If not specified, this defaults to true.
platformChargebackLogicobjectDefines how to book chargebacks when using Adyen for Platforms.
behaviorstringThe method of handling the chargeback.
Possible values: deductFromLiableAccount, deductFromOneBalanceAccount, deductAccordingToSplitRatio.
costAllocationAccountstringThe unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account.
targetAccountstringThe unique identifier of the balance account against which the disputed amount is booked.
Required if
behavioris deductFromOneBalanceAccount.recurringExpirystringDate after which no further authorisations shall be performed. Only for 3D Secure 2.
recurringFrequencystringMinimum number of days between authorisations. Only for 3D Secure 2.
recurringProcessingModelstringDefines a recurring payment type. Required when creating a token to store payment details. Allowed values:
Subscription– A transaction for a fixed or variable amount, which follows a fixed schedule.CardOnFile– With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction.UnscheduledCardOnFile– An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount.
redirectFromIssuerMethodstringSpecifies the redirect method (GET or POST) when redirecting back from the issuer.
redirectToIssuerMethodstringSpecifies the redirect method (GET or POST) when redirecting to the issuer.
referencestringThe reference to uniquely identify a payment.
returnUrlstringMax length: 1024The URL to return to in case of a redirection. The format depends on the channel.
- For web, include the protocol
http://orhttps://. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example:https://your-company.example.com/checkout?shopperOrder=12xy - For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the Apple Developer documentation.
Example:
my-app:// - For Android, use a custom URL handled by an Activity on your app. You can configure it with an intent filter.
Example:
my-app://your.package.name
If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value.
The URL must not include personally identifiable information (PII), for example name or email address.
riskDataobjectAny risk-related settings to apply to the payment.
clientDatastringMax length: 5000Contains client-side data, like the device fingerprint, cookies, and specific browser settings.
customFieldsobjectAny custom fields used as part of the input to configured risk rules.
fraudOffsetintegerAn integer value that is added to the normal fraud score. The value can be either positive or negative.
profileReferencestringThe risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied.
sessionDatastringThe payment session data you need to pass to your front end.
shopperEmailstringThe shopper's email address.
shopperIPstringThe shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).
Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the
shopperEmail. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, contact Support.shopperInteractionstringSpecifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.
This field has the following possible values:
Ecommerce- Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request.ContAuth- Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment).Moto- Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone.POS- Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
shopperLocalestringThe language for the payment. The value combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code. For example, nl-NL.
When using Drop-in/Components, the specified language appears if your front-end global configuration does not set the
locale.shopperNameobjectThe shopper's full name. This object is required for some payment methods such as AfterPay, Klarna, or if you're enrolled in the PayPal Seller Protection program.
firstNamestringMax length: 80The first name.
lastNamestringMax length: 80The last name.
shopperReferencestringMin length: 3Max length: 256Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters.
Your reference must not include personally identifiable information (PII) such as name or email address.
shopperStatementstringThe 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 . , ' _ - ? + * /.
showInstallmentAmountbooleanSet to true to show the payment amount per installment.
showRemovePaymentMethodButtonbooleanSet to true to show a button that lets the shopper remove a stored payment method.
socialSecurityNumberstringThe shopper's social security number.
splitCardFundingSourcesbooleanBoolean value indicating whether the card payment method should be split into separate debit and credit options.
splitsarray[object]An array of objects specifying how to split a payment when using Adyen for Platforms, Classic Platforms integration, or Issuing.
accountstringThe unique identifier of the account to which the split amount is booked. Required if
typeis MarketPlace or BalanceAccount.- Classic Platforms integration: The
accountCodeof the account to which the split amount is booked. - Balance Platform: The
balanceAccountIdof the account to which the split amount is booked.
amountobjectThe amount of the split item.
- Required for all split types in the Classic Platforms integration.
- Required if
typeis BalanceAccount, Commission, Surcharge, Default, or VAT in your Balance Platform integration.
currencystringMin length: 3Max length: 3The three-character ISO currency code. By default, this is the original payment currency.
valueintegerThe value of the split amount, in minor units.
descriptionstringYour description for the split item.
referencestringYour unique reference for the part of the payment booked to the specified
account.This is required if
typeis MarketPlace (Classic Platforms integration) or BalanceAccount (Balance Platform).For the other types, we also recommend providing a unique reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.
typestringThe part of the payment you want to book to the specified
account.Possible values for the Balance Platform:
- BalanceAccount: Books part of the payment (specified in
amount) to the specifiedaccount. - Transaction fees types that you can book to the specified
account:- AcquiringFees: The aggregated amount of the interchange and scheme fees.
- PaymentFee: The aggregated amount of all transaction fees.
- AdyenFees: The aggregated amount of Adyen's commission and markup fees.
- AdyenCommission: The transaction fees due to Adyen under blended rates.
- AdyenMarkup: The transaction fees due to Adyen under Interchange ++ pricing.
- Interchange: The fees paid to the issuer for each payment made with the card network.
- SchemeFee: The fees paid to the card scheme for using their network.
- Commission: Your platform's commission on the payment (specified in
amount), booked to your liable balance account. - Remainder: The amount left over after a currency conversion, booked to the specified
account. - Surcharge: The payment acceptance fee imposed by the card scheme or debit network provider, paid by your user's customer.
- TopUp: Allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods.
- VAT: The value-added tax charged on the payment, booked to your platforms liable balance account.
- Default: In very specific use cases, allows you to book the specified
amountto the specifiedaccount. For more information, contact Adyen support.
Possible values for the Classic Platforms integration: Commission, Default, MarketPlace, PaymentFee, VAT.
storestringRequired for Adyen for Platforms integrations if you are a platform model. This is your reference (on balance platform) or the storeReference (in the classic integration) for the ecommerce or point-of-sale store that is processing the payment.
storeFiltrationModestringSpecifies how payment methods should be filtered based on the 'store' parameter:
- 'exclusive': Only payment methods belonging to the specified 'store' are returned.
- 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.
storePaymentMethodbooleanWhen true and
shopperReferenceis provided, the payment details will be stored for future recurring payments.storePaymentMethodModestringIndicates if the details of the payment method will be stored for the shopper. Possible values:
- disabled – No details will be stored (default).
- askForConsent – If the
shopperReferenceis provided, the Drop-in/Component shows a checkbox where the shopper can select to store their payment details for card payments. - enabled – If the
shopperReferenceis provided, the details will be stored without asking the shopper for consent.
telephoneNumberstringThe shopper's telephone number. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail.themeIdstringSets a custom theme for Hosted Checkout. The value can be any of the Theme ID values from your Customer Area.
thirdPartyTokenRedundancyInfoobjectConfiguration for creating redundant payment tokens with third-party token vaults using the Adyen Forward API. This feature requires Forward API webhook integration and pre-configured templates in your Adyen account. Contact your Adyen account manager for setup and availability.
requestParametersobjectRequest-specific parameter values to populate the template placeholders. Each key must match a placeholder defined in the template referenced by
requestTemplateCode.requestTemplateCodestringIdentifier for the third-party token request template configured in your Adyen account. This template defines the structure and endpoint for token requests.
threeDS2RequestDataobjectRequest fields for 3D Secure 2. To check if any of the following fields are required for your integration, refer to Online payments.
homePhoneobjectThe home phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.ccstringMin length: 1Max length: 3Country code. Length: 1–3 digits.
subscriberstringMax length: 15Subscriber number. Length: 4-15 digits.
mobilePhoneobjectThe mobile phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.ccstringMin length: 1Max length: 3Country code. Length: 1–3 digits.
subscriberstringMax length: 15Subscriber number. Length: 4-15 digits.
threeDSRequestorChallengeIndstringIndicates whether a challenge is requested for this transaction. Possible values:
- 01 — No preference
- 02 — No challenge requested
- 03 — Challenge requested (3DS Requestor preference)
- 04 — Challenge requested (Mandate)
- 05 — No challenge (transactional risk analysis is already performed)
- 06 — Data Only
workPhoneobjectThe work phone number provided by the cardholder. The phone number must consist of a country code, followed by the number. If the value you provide does not follow the guidelines, we do not submit it for authentication.
Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the
shopperEmail, and did not send the shopper's phone number intelephoneNumber.ccstringMin length: 1Max length: 3Country code. Length: 1–3 digits.
subscriberstringMax length: 15Subscriber number. Length: 4-15 digits.
threeDSAuthenticationOnlybooleanDeprecated in version 69Use
authenticationData.authenticationOnlyinstead.Required to trigger the authentication-only flow. If set to true, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: false.
trustedShopperbooleanSet to true if the payment should be routed to a trusted MID.
urlstringThe URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment.