Skip to content

    Accounting closure

    Overview

    Request

    For this operation there are two parameters that initialize the URI

    • scheme: neximpos
    • authority: accounting_closure

    followed by the query parameters composed of the fields shown below:

    NameDescriptionTypeMandatory
    callerNameString used to value the label of the “Torna A …” buttonStringyes
    callerTrxIdIdentification string of the transaction within the third-party appStringyes
    uriURI on which to retrieve the transaction response.Stringyes

    Example request

    neximpos://accounting_closure?callerTrxId=qwerty&callerName=AAA&uri=demonexi%3A%2F% accounting

    Response

    The response has the following attributes:

    • scheme: specified in the URI field shown above
    • authority: specified in the URI field shown above

    while for query parameters the request consists of the following fields:

    NameDescriptionTypeMandatory
    callerTrxIdIdentification string of the transaction within the third-party appStringyes
    operationTypeThis field describe type of operationString (ACCOUNTING_CL OSE)yes
    resultThis field contains the result of the transactionintyes
    hostTotalTotal amount received from the bank, in hundredths of euro. e.g. €123,45 ”12345”intoptional *
    terminalTotalTotal amount stored in the terminal, in hundredths of euro. e.g. €12,50 “1250”intoptional *

    * Valued only if accounting closure is performed The result field can take the following values:

    • 0: accounting closure performed
    • -1: invalid input parameters
    • -2: device not secure
    • -3: Bluetooth off
    • -4: services not available
    • -5: deprecated app
    • -6: login required
    • -7: terminalId suspended
    • -8: terminalId absent
    • -9: terminalId not configured on pos
    • -10: pos connection timeout
    • -12: accounting closure not performed

    Example response

    demonexi:// accounting_closure?result=0&hostTotal=1&terminalTotal=1&callerTrxId=qwerty&operationType=A CCOUNTING_CLOSURE

    Was this helpful?

    What was your feeling about it?