Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...

  Documentation

Line authorisation

Authorisations requests can be submitted in a Batch file for the following payment methods

  1. SEPA direct debits
  2. Credit cards

SEPA Direct Debit (SEPA DD) fields

These are the fields for the payment method "sepadirectdebit" (field # 4).

Field Number Format Required Description

12

Alphanumeric

-white_check_mark-

The bank account IBAN code.

13

Alphanumeric

-white_check_mark-

The name of the bank account holder.

14

Alphabetic

[A-Z]{2}

-white_check_mark-

The country value format needs to adhere to the ISO 3166-1 alpha-2 standard. An invalid country code results in a transaction/request rejection. You can look up country codes on the ISO website.

Example

L,1,TestMerchant,sepadirectdebit,1999,EUR,DD5401,user10,j.janssen@test.com,Test Product 6,,NL13TEST0123456789,Jan Janssen,NL,L

Credit card fields

These are the fields for the payment method "card" (field # 4).

Field Number Format Required Description

12

Numeric

-white_check_mark-

The card number. Do not use any separators.

13

Numeric

[0-9]{2}

-white_check_mark-

The card expiry month.

Format: 2 digits, zero-padded for single digits. For example:

  • 03 = March
  • 11 = November

14

Numeric

[0-9]{4}

-white_check_mark-

The card expiry year.

Format: 4 digits. For example: 2018.

15

Numeric

[0-9]{3,4}

-white_check_mark-

The card verification code. Depending on the card brand, it is known also as:

  • CVV2/CVC2 – length: 3 digits
  • CID – length: 4 digits

16

Alphanumeric

-white_check_mark-

The name of the card holder, as printed on the card.

17

Numeric

[0-9]{2}

-x-

Start month (Maestro UK/Solo only) (e.g. 06)

18

Numeric

[0-9]{4}

-x-

Start year (Maestro UK/Solo only) (e.g. 2009)

19

Numeric

[0-9]{1}

-x-

Issue number (Maestro UK/Solo only)

20

Alphanumeric

-x-

Billing address street

21

Alphanumeric

-x-

Billing address house number or name

22

Alphanumeric

-x-

Billing address city

23

Alphanumeric

-x-

Billing address ZIP/postal code

24

Alphanumeric

-x-

Billing address province/county

25

Alphabetic

[A-Z]{2}

-x-

Billing address country code (ISO, e.g. GB,NL)

Example:

    L,1,TestMerchant,card,1999,EUR,DD5401_22,user10,r.johnson@test.com,Test Product 6,,4111111111111111,08,2018,737,R. JOHNSON,,,,Marylebone High Street,11,London,W1U 4RY,London,GB,L

When supplying billing address you must either populate all the billing address fields or none. A partially filled address fails validation and is not processed correctly.