Skip to content

    Pre-authorization closure

    Pre-authorization closure request message (from ECR)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘i’ (0x63)
    118NCash register ID
    191NPresence of message with additional data for the GT:
    • ‘0’ = additional data message not present
    • ‘1’ = additional data message present
    204NReserved – fixed to ‘0’ (0x30)
    248NAuthorization 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)
    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.
    1609NUnique identifier of the pre-authorization received from Host and printed on the pre-authorization receipt issued by the terminal (Original Preathorization Code)
    1698NReserved – fixed to ‘0’ (0x30)

    Pre-authorization closure response message without currency exchange data (from Terminal)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘c’ (0x63)
    112NTransaction result:
    • “00” = OK
    • “01” = KO
    • “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 relating to the current payment operation. The field, if present, applies either to the positive and negative transactions.

    Pre-authorization closure response message with currency exchange data (from Terminal)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘v’ (0x76)
    112NTransaction result:
    • “00” = OK
    • “01” = KO
    • “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 relating to the current payment operation. The field, if present, applies either to the positive and negative transactions.
    751NCurrency exchange transaction flag. The value is set to ‘1’ only when the transaction has been performed with a currency different from terminal currency.
    Important: if this value is ‘0’, following fields are not meaningful.
    768NExchange rate, right aligned with 4 decimal digits. – Received by the host “DCC”.
    843AAlphanumeric currency code of transaction currency, as received by the host.
    8712NTransaction amount in the transaction currency, right aligned with ‘0’ (0x30) filler on the left - Received by the host “DCC”.
    991NPrecision (number of decimals) of transaction currency.
    10010NReserved – fixed to ‘0’ (0x30)

    Was this helpful?

    What was your feeling about it?