Notice
To get the details of a transaction, you only need to query using an Inquiry request:
TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
It is used to get details about the transaction. It makes sense to use this method if the previous step has been completed - the transaction has been completed, see Step 3: Transaction status
void TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
The input transaction ID is generated during the first step, see Step 1: Register the transaction
Zde najdete detaily odpovědi pro transakci:
Information about the amount
Formats of any amount are always to 2 decimal places *100, which means that e.g. 50,25 CZK is filled as 5025 CZK.
Explanation of fields
EN: Indicates the result of the transaction (e.g. 0 means successful transaction).
EN: Displays the transaction result from authorization (e.g. 201)
EN: Unique ID generated by payment app during the transaction registration process.
1 - Sale 2 - Cancel transaction 4 - Closing EN: Defines the transaction type. Available values are:
1 - Sale, 2 - Transaction cancellation, 4 - Close batch / Close day
EN: Unique merchant ID, usually location ID
EN: Unique terminal ID, on which the transaction is processed.
EN: Three chars currency ISO code.
EN: The amount determines the volume of the transaction. This amount is calculated in the domestic currency used by the terminal. At close day, it contains all card transactions, credited minus debit.
EN: Tip. Filled in if needed.
EN: The cashback amount is filled in when a cashback transaction is used.
EN: Card Number (PAN). It is present in masked form. Example: "479608********1859"
MANUAL – manual entry
ICC – chip
CTLS – contactless
MAG – magnetic stripe.
EN: Identifies the method used to read the card. Possible values:
MANUAL – manual entry
ICC – chip
CTLS – contactless
MAG – magnetic stripe.
EN: Is present just if the transaction is processed.
EN: reference number entered during the payment
EN: Date when transaction was processed.
EN: Time when transaction was processed.
EN: Identifies the EMV app used for transaction processing - for instance Visa Debit
EN: card label of used card
EN: Used for transaction cancellation. Used the received value which was a part of transaction you want to cancel.
EN: Defines batch number. Present during the close batch transaction.
VISA
MASTER
AMEX
DISCOVERY
EN: Possible values:
VISA
MASTER
AMEX
DISCOVERY
EN: Shows whether the PIN was entered
true/false
EN: Shows address of the merchant.
EN: Shows verification method of the card holder (Pin, None).
EN: Transaction identification number in the Genius mobile pay application
EN: Whole amount which was paid included tip.
EN: Receipt identification number
EN: A six-digit numerical code that must be entered before making a payment.
EN: Indicates the DCC status. If "ACCEPTED", the transaction was made via DCC and you must fill in the receipt with DCC data. If "NOT_ACCEPTED", then you can ignore the DCC data.
EN: Transaction amount in DCC currency – in the currency of the customer’s card. You must display this on your receipt exactly as received via the API response, including the correct decimal places.
EN: Currency of the customer's card.
EN: Indicates the exchange rate. This value is in the local terminal currency. You must display it on your receipt exactly as received in the API response, including the correct decimal places.
EN: Markup for the conversion rate. You must display it on your receipt exactly as received in the API response, including the correct decimal places.
EN: Indicates whether the customer's card was issued within the EU or outside. If the value is "0" or "1", the text "Markup" needs to be displayed on the receipt. If the value is "2", the text "Markup over ECB rate" needs to be displayed on the receipt.
Zde najdete příklad odpovědi pro Inquiry po provedení uzávěrky:
{
"batchDetails": {
"amsBatchNumber": "7576f3de-f4d5-41df-9b93-ff666e18819e",
"batchId": "81",
"communicationId": "BA331935",
"currency": "CZK",
"date": "2026-10-05T18:55:06.003Z",
"firstTransactionDate": "2026-10-05T18:54:14.014Z",
"previousBatchDate": "2026-10-05T14:04:47.304Z",
"saleAmount": 71,
"saleCount": 3,
"subBatches": {
"accountPayment": {
"saleAmount": 0,
"saleCount": 0,
"totalCount": 0,
"voidAmount": 0,
"voidCount": 0
},
"blikPayment": {
"saleAmount": 0,
"saleCount": 0,
"totalCount": 0,
"voidAmount": 0,
"voidCount": 0
},
"card": {
"saleAmount": 10,
"saleCount": 1,
"totalCount": 2,
"voidAmount": 2,
"voidCount": 1
},
"cash": {
"saleAmount": 61,
"saleCount": 2,
"totalCount": 2,
"voidAmount": 0,
"voidCount": 0
},
"paymentGateway": {
"saleAmount": 0,
"saleCount": 0,
"totalCount": 0,
"voidAmount": 0,
"voidCount": 0
}
},
"tipAmount": 1.00,
"tipAverage": 1.00,
"tipCount": 1,
"totalAmount": 69,
"totalCount": 4,
"voidAmount": 2,
"voidCount": 1
},
"currencyCode": "CZK",
"date": "261005",
"merchantID": "000000400900025",
"merchantInfo": {
"city": "Praha 10",
"company": "Global Payments Europe s.r.o.",
"house": "82/626",
"street": "V Olšinách",
"zip": "10000"
},
"responseMessage": "APPROVED",
"result": 0,
"terminalID": "00599617",
"time": "205506",
"transacitonType": 0,
"trasanctionID": "7576f3de-f4d5-41df-9b93-ff666e18819e",
"amount": "69"
}
