Skip to content

    Payment with extended result

    Extended payment request message (from ECR)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘X’ (0x58)
    118NCash register ID
    191NPresence of message with additional data for the GT:
    • ‘0’ = additional data message not present
    • ‘1’ = additional data message present
    202NReserved – fixed to ‘0’ (0x30)
    221NStart transaction when card already present:
    • ‘0’ = start with card not yet inserted in the terminal
    • ‘1’ = start with card already inserted in the terminal
    231NPayment type:
    • ‘0’ = automatic card recognition on terminal with customer selection in case of cobranded cards
    • ‘1’ = only debit cards
    • ‘2’ = only credit cards
    • ‘3’ = other cards
    248NTransaction amount, right aligned, filled with ‘0’ (0x30) on the left. Amount is always considered to be expressed in cents (e.g. 650 = 6,50)
    32128ANText 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.
    1608NReserved – fixed to ‘0’ (0x30)

    Extended payment response message (from Terminal)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘E’ (0x45)
    112NTransaction result:
    • “00” = OK
    • “01” = KO
    • “05” = card not present (valid only if field 22 in request message is ‘1’ = start with card already present
    • “09” = received unknown Tag from GT

    If transaction result is positive (00)

    PosLengthTypeContent
    1319NCard PAN, right aligned, filled with ‘0’ (0x30) on the left. The PAN is
    323ATransaction type:
    • “ICC” = ICC card
    • “MAG” = magnetic stripe card
    • “MAN” = manual PAN entry
    • “CLM” = c-less magstripe
    • “CLI” = c-less ICC
    356AAuthorization code received from host
    417ATransaction 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)

    PosLengthTypeContent
    1324AResult 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.
    3711NReserved – fixed to ‘0’ (0x30)

    Common to any response

    PosLengthTypeContent
    481NCard type:
    • '1' = Bancomat card
    • '2' = Credit card
    • '3' = Other card
    4911NAcquirer ID. The field is left aligned, filled with blanks on the right.
    606NSTAN. Transaction sequence number.
    666NID online. Online operation progressive number.
    723NAction code related to current payment operation.
    758NTransaction 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)
    8310NReserved – fixed to ‘0’ (0x30)

    Was this helpful?

    What was your feeling about it?