cardAsyncPayment
Description
Payment execution by payment terminal with FM status control in current receipt (in the block paragonBegin and paragonEnd). In the block paragonBegin and paragonEnd it is necessary to use the command setTransactionID or setTransactionID2, which determines payment identifier in the database.
Use
Device type | Note | |
|---|---|---|
eKasa | no | Command for payment services only |
eKasa + POS | yes | |
POS | yes | Not recommended |
Parameters
cardAsyncPayment:[0];[1];[2];[3];[4];[5];[6];[7]
Parameter | Description |
|---|---|
[0] | Line number |
[1] | Payment method number |
[2] | Total |
[3] | Amount offered |
[4] | Rate |
[5] | Payment method description |
[6] | Amount for payment terminal (if the amount is < 0 then the command behaves as REFUND (return) |
[7] | Variable symbol |
Example
paragonBegin:0;0;0;0;0;0
setTransactionID2:41efe9ea-5b6b-4305-aafe-5bba6f3e5f74
itemSale:1;Test polozka;00.01;A;1.000;00.01;ks
cardAsyncPayment:2;1;0;0;0;Karta;00.01;0512202219
paragonEnd:3;0
cardPrintLastTransactionMerchantReceipt:
cardPrintLastTransactionCustomerReceipt:
Result examples
Result OK
Error - Duplicate UUID
Error - Incorrect number of parameters:
Last modified: 23 februára 2026