This method is used to cancel or refund a successful credit card transaction. Cancellations are made for transactions made on the same day and refunds are made for different days.
Parameter | Required | Type | Length | Description |
---|---|---|---|---|
G | * | Object | - | ST_WS_Guvenlik Object |
PYSiparis_GUID | * | String | 36 | Pazaryeri Order GUID Value(Result of (Pazaryeri_TP_Siparis_Detay_Ekle method) |
GUID | * | String | 36 | GUID of the merchant |
Durum | * | String | - | CANCEL for cancellation REFUND is written for returns. |
Siparis_ID | * | String | - | Order ID value of the transaction (Result of Pos_Odeme) |
Sipariş Tutar | * | Double | - | Order Amount ( If “SiparisTutar=0” the full amount is reffunded. If value “SiparisTutar > 0” is sent, partial cancellation/refund is performed.) |
Odenecek Tutar/td> | * | Double | - | Current amount payable to seller |
G Object:
Parameter | Required | Type | Length | Description |
---|---|---|---|---|
CLIENT_CODE | * | Integer | 5 | Terminal ID will be forwarded by us. |
CLIENT_USERNAME | * | String | max 16 | Username will be transmitted by us. |
CLIENT_PASSWORD | * | String | max 11 | Password will be transmitted by us. |
Parameter | Type | Length | Description |
---|---|---|---|
Sonuc | Integer | 1 | Result Value |
Sonuc_Str | String | 150 | Result Description, Sonuc_Ack Parameter > 0 Operation Successful, otherwise failed. |
Durum | String | 36 | Status code |
Durum_Str | String | - | Status Description |