Amadis
PaymentRequest
Description and Usage
The PaymentRequest contains payment request data received from the Sale System, ready to be completed by the application and sent to Arkos for processing.
Fields
The request object contains up to 4 fields, depending on the request
 |  |  |
---|---|---|
preparedPaymentData | byte[] | Prepared data in Arkos format, ready to be completed and sent to Arkos for processing |
SaleTransactionID | TransactionIdentitication | Â |
OriginalTransactionID | TransactionIdentification | Â |
SaleReferenceID | String | Â |
Response
Using NexoRetailModule.respond()
The response TLV should contain two separate fields:
0xFF01 → The payment result from Arkos, as-is
0xFF02 → The Merchant data (currently empty, but field must be present)
Receipt data can be create by the application and given to the respond
function - see the PaymentReceipt
documentation in the Javadoc.