Transaction Cancellation and Returns

Method Name: TP_Islem_Iptal_Iade_Kismi

Used to cancel or make a successful credit card transaction.

Parameters to Send:

Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
GUID * String 36 Key Belonging to Member Workplace
Durum * String 10 For cancellation IPTAL
For return IADE
Dekont_ID * Long - Transaction’s receipt ID
Tutar * Double - Cancellation / Return Amount, All amount must be written for CANCELLATION. All amount or smaller amount (partial) must be written for RETURN.

*Non-required fields must be submitted with empty values.

Result Parameters:

Parameter Type Length Description
Sonuc Integer - The transaction result
Sonuc_Str String - Transaction result explanation

Sample Result Parameters:



<ST_Sonuc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://turkpos.com.tr/">
<Sonuc>1</Sonuc>
<Sonuc_Str>Process Successfull</Sonuc_Str>
</ST_Sonuc>