Integračná dokumentácia Help

Deposit refund(cancellation)

From the perspective of eKasa records, the cancellation of a deposit payment is a refund, so the opposite operation to the sale needs to be performed.

Script example

paragonBegin:0;0;0;0;0;0 itemReturn:1;Received deposit;125.00;A;1.00;125.00;ks;O-09DAD1028F2D40BE9AD1028F2D2-TEST payment:2;16;0;0;0;Cash paragonEnd:3;0

Successful response

00/paragonBegin:0;0;0;0;0;0 00/itemReturn:1;Received deposit;125.00;A;1.00;125.00;ks;O-09DAD1028F2D40BE9AD1028F2D2-TEST 00/payment:2;16;0;0;0;Cash 00/paragonEnd:3;0 00/

Error response

00/paragonBegin:0;0;0;0;0;0 00/itemReturn:1;Received deposit;125.00;A;1.00;125.00;ks;O-09DAD1028F2D40BE9AD1028F2D2-TEST 00/payment:2;16;0;0;0;Cash -3/paragonEnd:3;0 99/
Last modified: 23 februára 2026