> For the complete documentation index, see [llms.txt](https://doc.paynet.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.paynet.com.tr/servisler/iptal-iade/oen-otorizasyon-iptal.md).

# Ö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 %}    |                                                                    |
