Reversal
Reversal request message (from ECR)
Pos | Length | Type | Content |
---|---|---|---|
1 | 8 | N | Terminal ID (00000000-99999999) |
9 | 1 | A | Reserved – fixed to ‘0’ (0x30) |
10 | 1 | A | Message code: ‘S’ (0x53) |
11 | 8 | N | Cash register ID |
19 | 6 | N | STAN of the transaction to be reversed. If the field is filled with ‘0’ (0x30) no check is performed. If the value is different from “000000”, the terminal performs the reversal only if the value is equal to the last payment transaction STAN. |
25 | 1 | N | Presence of message with additional data for the GT:
|
26 | 1 | N | Reserved – fixed to ‘0’ (0x30) (Terminal requires the same card to perform the reversal) |
Reversal response message (from Terminal)
Pos | Length | Type | Content |
---|---|---|---|
1 | 8 | N | Terminal ID (00000000-99999999) |
9 | 1 | A | Reserved – fixed to ‘0’ (0x30) |
10 | 1 | A | Message code: ‘E’ (0x45) |
11 | 2 | N | Transaction result:
|
If transaction result is positive (00)
Pos | Length | Type | Content |
---|---|---|---|
13 | 19 | N | Card PAN, right aligned, filled with ‘0’ (0x30) on the left. The PAN is |
32 | 3 | A | Transaction type:
|
35 | 6 | A | Reserved – fixed to ‘0’ (0x30) |
41 | 7 | A | Transaction date and time received from host in DDDHHMM. The day is expressed as number of days since 01/01 of current year. For example, July 29, 15:20 is sent as 2111520. |
If transaction result is negative (01)
Pos | Length | Type | Content |
---|---|---|---|
13 | 24 | A | Result description. This field shall report, using only ASCII characters, the reason of the denial. The field is left aligned, filled with blank on the right. |
37 | 11 | N | Reserved – fixed to ‘0’ (0x30) |
Common to any response
Pos | Length | Type | Content |
---|---|---|---|
48 | 1 | N | Card type:
|
49 | 11 | N | Acquirer ID. The field is left aligned, filled with blanks on the right. |
60 | 6 | N | STAN. Transaction sequence number. |
66 | 6 | N | ID online. Online operation progressive number. |
72 | 3 | N | Action code related to current payment operation. |
75 | 10 | N | Reserved – fixed to ‘0’ (0x30) |