Payment with extended result
Extended payment 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: ‘X’ (0x58) |
| 11 | 8 | N | Cash register ID |
| 19 | 1 | N | Presence of message with additional data for the GT:
|
| 20 | 2 | N | Reserved – fixed to ‘0’ (0x30) |
| 22 | 1 | N | Start transaction when card already present:
|
| 23 | 1 | N | Payment type:
|
| 24 | 8 | N | Transaction amount, right aligned, filled with ‘0’ (0x30) on the left. Amount is always considered to be expressed in cents (e.g. 650 = 6,50) |
| 32 | 128 | AN | Text to be print (Code contract) at the end of the payment receipt. The field is always 128 chars long, it’s right aligned, filled with ‘ ‘ (0x20) on the left. The terminal shall only print valid chars, skipping the blanks. |
| 160 | 8 | N | Reserved – fixed to ‘0’ (0x30) |
Extended payment 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 | Authorization code received from host |
| 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 | 8 | N | Transaction amount received by host, right aligned, with ‘0’ filling on the left. Amount is always considered to be expressed in cents (e.g. 650 = 6,50) |
| 83 | 10 | N | Reserved – fixed to ‘0’ (0x30) |