cardGetTransactionInfo
Returns information about payment operation based on UUID. The order for OP, TR, TM, ST, RC is guaranteed (the order of remaining keys is not guaranteed).
Use
Device type | | Note |
|---|
eKasa | yes | Without payment services and responses |
eKasa + POS | yes | |
POS | yes | |
Key | Description |
|---|
OP | Operation |
TR | TR: Transaction result (0 - OK, 1 - Operation denied, 9 - Rejection local error) |
TM | Message for the user in the device language |
ST | Status code |
RC | Payment protocol return code (according to the table) |
ID | Payment terminal ID |
A | Authorization code |
b | Card brand (VISA, MCI .. etc) |
t | Transaction approval time |
S | Variable symbol |
B | Card number |
TextZ | Receipt for the costumer (multiline, every line starts with TextZ) |
TextZ | Receipt for the merchant (multiline, every line starts with TextP) |
C | Amount |
CT | Card type (contact, contactless, magnetic, manualPan) |
MID | Merchant ID |
TID | Terminal ID |
AID | Card type application identifier |
TRTYPE | Transaction type |
SIG | Required signature |
OFFLINE | Offline transaction command |
TRNERR | POS transaction error command |
RID | Receipt identifier (In the form: “yyyyMMddHHmm \| RCL \| RN”, 24 characters in total, RLC and RN aligned to 6 characters and supplemented with initial zeros) |
TRNTYPE | Transaction type |
RCL | Local receipt counter |
RCG | Global receipt counter |
RN | Report number |
TRNSEQ | Transaction sequence number |
Parameters
cardGetTransactionInfo:[0]
Parameter | Description |
|---|
[0] | Payment identifier (e.g. UUID, the add-on application is responsible for identifier exactness) |
Example results
Result OK - cardAsyncLineCheck
00/cardGetTransactionInfo:8654a715-9a15-4246-82d5-bce86db71064
>OP:cardLineCheck
>TR:0
>TM:Handshake done!
>RC:0
00/
Result OK (cardAsyncPayment2)
00/cardGetTransactionInfo:c56c9702-aa5e-4cb6-b005-aec5e0950809
>OP:cardPayment2
>TR:0
>TM:Online transaction approval.
>ST:OK
>RC:66
>S:2023101001
>ID:EPO000004
>A:020625
>b:Visa Debit
>t:15.11.23 06:55:02
>C:0.05
>B:**** **** **** 8090
>CT:Contactless
>MID:TEST01
>AID:A0000000031010
>TRNTYPE:purchase
>SIG:false
>OFF:false
>TRNERR:false
>RID:202311150655000003000002
>RCL:3
>RCG:112
>RN:2
>TRNSEQ:84
>TextZ: The quick brown
>TextZ: fox jumps over
>TextZ:the lazy dog additional header.
>TextZ:--------------------------------
>TextZ: 15.11.2023 06:55:02
>TextZ: POTVRDENKA PRE ZÁKAZNÍKA
>TextZ:000003 000002 000112
>TextZ:--------------------------------
>TextZ: PLATBA
>TextZ:
>TextZ:MERCHANT ID: TEST01
>TextZ:TERMINÁL: EPO000004
>TextZ:PAN : **** **** **** 8090
>TextZ:Visa Debit
>TextZ:AID : A0000000031010
>TextZ:
>TextZ:
>TextZ:~1B~21~30Suma EUR: 0,05~1B~21~00
>TextZ:CONTACTLESS
>TextZ:AUTORIZAČNÝ KÓD: 020625
>TextZ:RC: 000
>TextZ:
>TextZ: TRANSAKCIA VYKONANÁ
>TextZ:--------------------------------
>TextZ: Ďakujeme Vám
>TextZ: Potvrdenku si odložte
>TextZ: pre prípadnú kontrolu
>TextP: The quick brown
>TextP: fox jumps over
>TextP:the lazy dog additional header.
>TextP:--------------------------------
>TextP: 15.11.2023 06:55:02
>TextP: POTVRDENKA PRE OBCHODNÍKA
>TextP:000003 000002 000112
>TextP:--------------------------------
>TextP: PLATBA
>TextP:
>TextP:MERCHANT ID: TEST01
>TextP:TERMINÁL: EPO000004
>TextP:PAN : **** **** **** 8090
>TextP:Visa Debit
>TextP:AID : A0000000031010
>TextP:
>TextP:
>TextP:~1B~21~30Suma EUR: 0,05~1B~21~00
>TextP:CONTACTLESS
>TextP:AUTORIZAČNÝ KÓD: 020625
>TextP:RC: 000
>TextP:
>TextP: TRANSAKCIA VYKONANÁ
>TextP:--------------------------------
>TextP: Ďakujeme Vám
>TextP: Potvrdenku si odložte
>TextP: pre prípadnú kontrolu
00/
Result OK - transaction denied by payment getaway (cardAsyncPayment2)
00/cardGetTransactionInfo:c56c9702-aa5e-4cb6-b005-aec5e0950809
>OP:cardPayment2
>TR:1
>TM:Operation cancelled by user.
>ST:ERROR
>RC:20
>S:2023101001
>ID:EPO000004
>t:15.11.23 06:53:20
>C:500.00
>B:**** **** **** 8090
>CT:Contactless
>MID:TEST01
>TRNTYPE:purchase
>SIG:false
>OFF:false
>TRNERR:true
>RID:202311150653000002000002
>RCL:2
>RCG:111
>RN:2
>TextZ: The quick brown
>TextZ: fox jumps over
>TextZ:the lazy dog additional header.
>TextZ:--------------------------------
>TextZ: 15.11.2023 06:53:20
>TextZ: POTVRDENKA PRE ZÁKAZNÍKA
>TextZ:000002 000002 000111
>TextZ:--------------------------------
>TextZ: PLATBA
>TextZ:
>TextZ:MERCHANT ID: TEST01
>TextZ:TERMINÁL: EPO000004
>TextZ:PAN : **** **** **** 8090
>TextZ:
>TextZ:
>TextZ:~1B~21~30Suma EUR: 500,00~1B~21~00
>TextZ:CONTACTLESS
>TextZ:20 Operation cancelled by user.
>TextZ:
>TextZ:RC:20 Operation cancelled by user.
>TextZ:
>TextZ:--------------------------------
>TextZ: Ďakujeme Vám
>TextZ: Potvrdenku si odložte
>TextZ: pre prípadnú kontrolu
>TextP: The quick brown
>TextP: fox jumps over
>TextP:the lazy dog additional header.
>TextP:--------------------------------
>TextP: 15.11.2023 06:53:20
>TextP: POTVRDENKA PRE OBCHODNÍKA
>TextP:000002 000002 000111
>TextP:--------------------------------
>TextP: PLATBA
>TextP:
>TextP:MERCHANT ID: TEST01
>TextP:TERMINÁL: EPO000004
>TextP:PAN : **** **** **** 8090
>TextP:
>TextP:
>TextP:~1B~21~30Suma EUR: 500,00~1B~21~00
>TextP:CONTACTLESS
>TextP:20 Operation cancelled by user.
>TextP:
>TextP:RC:20 Operation cancelled by user.
>TextP:
>TextP:--------------------------------
>TextP: Ďakujeme Vám
>TextP: Potvrdenku si odložte
>TextP: pre prípadnú kontrolu
00/
Result OK - cardAsyncReversal
00/cardGetTransactionInfo:8039d50d-4356-4662-9b30-9615cc510d9b
>OP:cardReversal
>TR:0
>TM:Reversal done!
>RC:0
00/
Error - the command has not been completed yet (it is being processed)
04/cardGetTransactionInfo:09e48519-2270-4d49-9fee-8c70497d5fda
99/
Error - non-existent UUID
96/cardGetTransactionInfo:54b673f1-2e51-4dee-950d-bd654910b2a1
99/
Error - incorrect number of parameters
32/cardGetTransactionInfo:54b673f1-2e51-4dee-950d-bd654910b2a1;4562314875
99/
Last modified: 23 februára 2026