Skip to content

Payment Cancel and Refund

Cancellation is done on the same day. Cancellation can only be done for transactions made on the same day. The relevant parameters (cancel sx value, resultUrl, referenceCode, type, trxDate, hashData) are POSTed as form-data in the Body to https://paynkolaytest.nkolayislem.com.tr/Vpos/Payment/CancelRefundPayment address.

For refund transactions, you must also send the amount parameter.

image

The difference between the refund service and the cancel service is that refund should be written in the type section and amount and trxDate parameters should be added. amount (transaction amount: in the format sent during withdrawal), trxDate (date format yyyy.mm.dd).

To refund part of the transaction amount, i.e., for partial refund, the type parameter should be sent as refundp.

Click to download Postman Collection. You can see the codes of the language you use in Postman Code Snippet.