# Ön Otorizasyon İptal

&#x20;Ön otorizasyonlu yapılan kredi kartı işlemlerinin iptali için kullanılır.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/transaction/preauth\\_reversal>
{% endhint %}

{% tabs %}
{% tab title="İstek Parametreleri" %}

| Parametre İsmi | Tip    | Zorunlu | Açıklama      |
| -------------- | ------ | ------- | ------------- |
| **xact\_id**   | string | Evet    | İşlemin id'si |
| {% endtab %}   |        |         |               |

{% tab title="Dönüş Parametreleri" %}

| Parametre İsmi   | Tip    | Açıklama                                                                      |
| ---------------- | ------ | ----------------------------------------------------------------------------- |
| **object\_name** | string | Dönüş yapılan API'nin nesne adı                                               |
| **code**         | string | Sistem sonuç kodu. [Bakınız](/genel-bilgiler/hata-kodlari/doenues-kodlari.md) |
| **message**      | string | Sistem mesajı                                                                 |
| {% endtab %}     |        |                                                                               |

{% tab title="Request" %}

```
{  
   "xact_id":"xk_EAAAANFhOW7SioFxO8LHPMruxp0hX3wE8NmJSmGUD*W3uISj"
}
```

{% endtab %}

{% tab title="Response" %}

```
{  
   "object_name":"transaction_preauth_reversed_request",
   "code":0,
   "message":"Başarılı İşlem"
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                |
| ---------------- | ------------------------------------------------------------------ |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/transaction/preauth\\_reversal>      |
| **Test Sistemi** | ​<https://pts-api.paynet.com.tr/v1/transaction/preauth\\_reversal> |
| {% endtab %}     |                                                                    |
| {% endtabs %}    |                                                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.paynet.com.tr/servisler/iptal-iade/oen-otorizasyon-iptal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
