Skip to content

    Pre-Authorization request

    Pre-authorization request message (from ECR)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘p’ (0x70)
    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
    248NPre-authorization 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.
    1608NReserved – fixed to ‘0’ (0x30)

    Pre-authorization response message (from Terminal)

    PosLengthTypeContent
    18NTerminal ID (00000000-99999999)
    91AReserved – fixed to ‘0’ (0x30)
    101AMessage code: ‘e’ (0x65)
    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
    418NAmount pre-authorized by the Host, right-aligned, with filler 0 (30 hex) on the left. The amount is always understood in euro cents (e.g. 6,50€ = 650).
    499NUnique identifier of the pre-authorization received from Host and printed on the pre-authorization receipt issued by the terminal (Preauthorization Code).
    583NAction Code of transaction received from Host.
    617NThe temporal parameters of transaction are received from Host in DDDHHMM format. The day is expressed as a sequential number from Jan 1st = 1 to Dec 31st = 365/366 of the current year.
    683NReserved – fixed to ‘0’ (0x30)

    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.
    373NAction Code of transaction received from Host.
    4031NReserved – fixed to ‘0’ (0x30)

    Common to any response

    PosLengthTypeContent
    481NCard type:
    • '1' = Bancomat card
    • '2' = Credit card
    • '3' = Other card
    7211NAcquirer ID. The field is left aligned, filled with blanks on the right.
    836NSTAN. Transaction sequence number.
    896NID online. Online operation progressive number.
    9512NReserved – fixed to ‘0’ (0x30)

    Was this helpful?

    What was your feeling about it?