CancelOrRefund request

Mandatory sub-lines

The CancelOrRefund sub-line described below is mandatory when submitting a cancellation request.

CancelOrRefund

Field #

Format

Required

Description

1

Fixed value: SL

(tick)

Record type identifier

2

Numeric [0-9]+

(tick)

SL sub-line record number reference within its parent line.

The counter starts at 1, and it increments sequentially by one unit.

3

Fixed value: CancelOrRefund

(tick)

Transaction type.
Defines the required field types for the specific sub-line.

4

Numeric [0-9]+

(tick)

The original payment PSP reference.

Example CancelorRefund request
FH,1.0,TEST,Company,TestCompany,Default,3,ws@Company.TestCompany,Modification,FileHeaderEchoData 
BH,1,BlockHeaderEchoData 
L,1,MerchantAccount,TestMerchant,CancelOrRefund,Test Product 3,EchoData 
SL,1,CancelOrRefund,8452147851579029
BT,1
FT,1