Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...



The fields described below are the generic payment fields you specify when making an /authorise call to the Adyen payment API.

Field Type Required Description
additionalAmount Amount -x-

A container for the data concerning the additional amount to be authorised. It corresponds to the additional/surcharged part of the amount, and it needs to be in the same currency as amount.

additionalAmount is required only if you want to submit a non-zero value auth BIN or card verification request.

To be accepted by the schemes, the value specified in the additionalAmount field needs to be higher than the currency equivalent of 0.02 USD.

additionalData Object -x-

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. For more information on possible key-value pairs, refer to the additionalData section.

amount Amount -white_check_mark-

A container object for the payable amount information for the transaction.

For BIN or card verification requests , its value needs to be 0 (zero).

bankAccount BankAccount -x-

The details of the bank account, from which the payment should be made from.

Either bankAccount or card field must be provided in a payment request.

billingAddress Address -x- The address where to send the invoice.
browserInfo BrowserInfo -x- A user's browser information.
captureDelayHours Int -x- The delay between the authorisation and scheduled auto capture, specified in hours.
card Card -x-

A container for card data.

Either bankAccount or card field must be provided in a payment request.

dateOfBirth String -x-

The shopper's date of birth. Format: ISO-8601; example: YYYY-MM-DD

dccQuote ForexQuote -x- The forex quote as returned in the response of the forex service.
deliveryAddress Address -x- The address where the purchased goods should be delivered to.
deliveryDate Date/Time -x-

The date and time the purchased goods should be delivered.

  • Format: ISO 8601;  YYYY-MM-DDThh:mm:ss.sssTZD
  • Example: 2017-07-17T13:42:40.428+01:00
deviceFingerprint String -x- A string containing a shopper's device fingerprint. For more information, refer to Device fingerprinting .
fraudOffset Int -x-

An integer value that is added to the normal fraud score. The value can be either positive or negative.

installments Installments -x- Contains information on an installment. For more information, refer to Installments .
mcc String -x-

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 list of MCCs can be found here .

merchantAccount String -white_check_mark-

The merchant account identifier you want to process the (transaction) request with.

merchantOrderReference String -x-

This reference allows linking multiple transactions to each other.

We strongly recommend you send the merchantOrderReference value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide retry.orderAttemptNumber , retry.chainAttemptNumber , and retry.skipRetry values in PaymentRequest.additionalData .

metadata Object -x-

Metadata consists of entries, each of which includes a key and a value.

Limitations: Maximum 20 key-value pairs per request. When exceeding, the "177" error occurs: "Metadata size exceeds limit".

key String -x-

Key for the information to be provided.

Example: key = 'storeCountry'

Maximum length: 20 characters. When exceeding, the "178" error occurs: "Metadata key size exceeds limit".

value String -x-

The value associated with the key.

Example: value = 'US'

Maximum length: 80 characters. When exceeding, the value is truncated to 80 characters with '...' appended to it.

mpiData ThreeDSecureData -x- Authentication data produced by an MPI (Mastercard SecureCode or Verified By Visa).
orderReference String -x-

When you are doing multiple partial (gift card) payments, this is the pspReference of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the merchantOrderReference instead.

recurring Recurring -x-

The recurring properties of the payment.

Specify this property when you want to enable recurring payments .

recurringProcessingModel String -x-

:v30: This element was added in the version 30.

Defines a recurring payment type.

Allowed values:

  • Subscription: A transaction for a fixed or variable amount, which follows a fixed schedule. This is the default value.
  • CardOnFile: 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 as a card-on-file transaction.
  • UnscheduledCardOnFile: 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.

If all your transactions must have the same recurringProcessingModel value, contact your account manager or Support Team to set the default value for your merchant account.

reference String -white_check_mark-

A reference to uniquely identify the payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, you can enter them in this field. Separate each reference value with a hyphen character ("-"). This field has a length restriction: you can enter max. 80 characters.

selectedBrand String -x-

Some payment methods require defining a value for this field to specify how to process the transaction.

For the Bancontact payment method, it can be set to:

  • maestro (default), to be processed like a Maestro card, or
  • bcmc , to be processed like a Bancontact card.

The selectedBrand values are case sensitive. For information on available selectedBrand values, refer to Payment methods .

selectedRecurringDetailReference String -x-

The recurringDetailReference you want to use for this payment.

The value "LATEST" can be used to select the most recently stored recurring detail.

sessionId String -x-

A session identifier used to identify a payment session.

shopperEmail String -x-

The shopper's email address.

We recommend you provide this data, as it is used in velocity fraud checks.

shopperIP String -x-

The shopper's IP address.

We recommend you provide this data, as it is used in a number of risk checks. For example: number of payment attempts, location based checks.

This field is mandatory for some merchants depending on your business model, contact the Support Team for more information.

shopperInteraction String -x-

Specifies the following information:

  • The sales channel the shopper gives their card details through;
  • Whether the shopper is a returning customer.

By default, for the web service API Adyen assumes Ecommerce shopper interaction.

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. For one-click payments, shopperInteraction must be set to Ecommerce.
  • ContAuth - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer).
  • POS - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
  • Moto - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone.
shopperLocale String -x- The combination of a language code and a country code to specify the language to be used in the payment.
shopperName Name -x- A shopper's full name and gender (if specified).
shopperReference String -x-

A shopper's reference for the payment transaction.

We recommend you provide this data.

This field is required for recurring payments.

shopperStatement String -x-

Set this field in your payment request if you want to include a variable shopper statement. You can include placeholders for the references. For example:

  • ${reference} for the merchant reference
  • ${pspReference} for the PSP reference.
  • Not all acquirers support dynamic shopper statements.
  • Maximum allowed character length: 135 characters. For Visa/Mastercard: 25/22 respectively.
  • Allowed characters: a-zA-Z0-9.,-?|
  • Not supported for all payments methods, for further information contact Support Team.
socialSecurityNumber String -x- A shopper's social security number.
telephoneNumber String -x-

A shopper's telephone number.

This field is mandatory in case of Secure+ /authorise requests.

The country code should be preceded with a + sign.