Upozornění
Pro získání detailu transakce je nutné doptávat se pouze pomocí Inquiry requestu:
TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
Slouží k získání detailů o provedené transakci. Tuto metodu má smysl používat v případě, že byl dokončen předchozí krok – transakce byla dokončena, viz Krok 3: Stav transakce
void TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
Vstupní transaction ID se vygeneruje během prvního kroku, viz Krok 1: Registrace transakce
Zde najdete detaily odpovědi pro transakci:
Informace o částce
Formáty jakékoliv částky jsou vždy na 2 desetinná místa *100, což znamená, že např. 50,25 Kč je vyplněno jako 5025 Kč.
Vysvětlení polí
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 - Prodej 2 - Storno transakce 4 - Uzávěrka 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 - ruční zadání
ICC - čip
CTLS - Bezkontaktní
MAG - magnetický proužek.
EN: Identifies used methodfor card read. Possible values:
MANUAL - manual entry
ICC - chip
CTLS - Contactless
MAG - magstripe.
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 present it on your receipt exactly as received through API response including correct decimal numbers.
EN: Currency of the customer's card.
EN: Indicates the exchange rate. This value is in the local terminal currency. You must present it on your receipt exactly as received through API response including correct decimal numbers.
EN: Markup for the conversion rate. You must present it on your receipt exactly as received through API response including correct decimal numbers.
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"
}
