Modifications
Modifications
If you are submitting modifications the contents of field #4 can be one of cancel, capture, refund,
cancelOrRefund, or authoriseReferral (see the Adyen Merchant Integration Manual for more information on
modifications). 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 # Format Optional Description
12 [0-9]+ N original (psp) reference of the payment
13 [A-z0-9]+ Y/N Authorisation code (only for authoriseReferral)
L,3,ExampleMerchant,refund,2200,EUR,,,,,,1312563136350028,,L
L,2,ExampleMerchant,cancel,0,EUR,,,,,,1412563070430299,,L
Example 8: Modifications – Refund (1
st
line) and Cancel (2
nd
line)
Example File
The following file is a complete payment batch submission file for a merchant ExampleMerchant. The file
submission number is 201 and there are four payments in two blocks. The EUR block contains one
directdebit_NL, elv and credit card payment with a total sum of 5997 minor units (the total value is 59.97 EUR).
The GBP block has a singe credit card payment for 1999 minor units (the total value is 19.99 GBP) and has
billing address data included.
FH,ExampleMerchant,201,FH
BH,ExampleMerchant,201,1,BH
L,1,ExampleMerchant,directdebit_NL,1999,EUR,DD5401,user10,j.janssen@test.com,Test Product
6,123456789,Jan Janssen,NL,L
L,2,ExampleMerchant,elv,1999,EUR,DD5422,user11,karlbecker@test.com,Test Product
6,,1234567890,12345678,Karl Becker,Test Bank,Koln,L
L,3,ExampleMerchant,card,1999,EUR,DD5474,user12,jdupont@test.com,Test Product
6,,5555444433331111,12,2012,737,J. DUPONT,,,,,,,,,,L
BT,ExampleMerchant,201,1,3,5997,EUR,BT
BH,ExampleMerchant,201,2,BH
L,1,ExampleMerchant,card,1999,GBP,DD5666,user16,r.johnson@test.com,Test Product
6,,4111111111111111,12,2012,737,R. JOHNSON,,,,Marylebone High Street,11,London,W1U 4RY,London,GB,L
BT,ExampleMerchant,201,2,3,1999,GBP,BT
FT,ExampleMerchant,201,1,FT
Example 9: File - Payment Batch
10 Copyright © Adyen B.V. 2010