Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...

  Documentation

Line modification

If you are submitting modifications, the contents of field #4 can be one of

  • cancel
  • capture
  • refund
  • cancelOrRefund
  • authoriseReferral

Fields 7 through 11 should be left blank. For cancel and cancelOrRefund, field 5 (the amount) should be set to 0, but the currency code (field 6) should match the original transaction.

Two specific fields are used for modifications:

Field Number Format Required Description

12

Alphanumeric

-white_check_mark-

The original payment PSP reference.

13

Alphanumeric

-x-

Authorisation code.

Required for authoriseReferral.

Example:

L,2,TestMerchant,refund,2200,EUR,,,,,,1312563136350028,,L 
L,3,TestMerchant,cancel,0,EUR,,,,,,1412563070430299,,L