cardPayment
Payment execution using a payment terminal with checking FM statuses in the current receipt (in the block paragonBegin and paragonEnd).
Use
Device type | Note | |
|---|---|---|
eKasa | no | Command for payment services only |
eKasa + POS | yes | |
POS | yes | Not recommended |
Parameters
cardPayment:[0];[1];[2];[3];[4];[5];[6];[7]
Parameter | Description |
|---|---|
[0] | Line number |
[1] | Payment method number |
[2] | Total |
[3] | Offered amount |
[4] | Rate |
[5] | Payment method description |
[6] | Amount for payment terminal (if the amount is < 0 then the command works like REFUND (return)) |
[7] | Variable symbol |
Example
paragonBegin:0;0;0;0;0;0
itemSale:1;Test;00.01;A;1.000;00.01;ks
cardPayment:2;1;0;0;0;Karta;00.01;4562314875
paragonEnd:3;0
cardPrintCustomerParagon:
cardPrintMerchantParagon:
Example results
Result OK
00/paragonBegin:0;0;0;0;0;0
00/itemSale:1;Jahody;00.01;A;1.000;00.01;ks
00/cardPayment:2;1;0;0;0;Karta;00.01;4562314875
00/paragonEnd:3;0
00/cardPrintCustomerParagon:
00/cardPrintMerchantParagon:
00/
Result error
00/paragonBegin:0;0;0;0;0;0
00/itemSale:1;Test Polozka;00.01;A;1.000;00.01;ks
-3/cardPayment:2;1;0;0;0;Karta;00.01;0512202219
>67
-1/paragonEnd:3;0
-1/cardPrintCustomerParagon:
-1/cardPrintMerchantParagon:
99/
Error code 67 you can find the description of error codes in the chapter payment-terminal-error-code-list
Last modified: 23 februára 2026