# Finansallaştırma İptal

Başarılı finansallaştırılmış kredi kartı işlemlerinin iptali için kullanılır.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/transaction/capture\\_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                                                                                                                                          |
| ---------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **xact\_id**                 | string   | İşlemin id'si                                                                                                                                     |
| **xact\_date**               | datetime | İşlemin tarihi                                                                                                                                    |
| **transaction\_type**        | char     | 4:Finansallaştırma / 6: Finansallaştırma İptal                                                                                                    |
| **pos\_type**                | char     | 5: Paynet POS                                                                                                                                     |
| **is\_tds**                  | bool     | İşlem 3D’li ise true                                                                                                                              |
| **agent\_id**                | string   | İşlemi yapan bayinin Paynet cari hesap kodu                                                                                                       |
| **user\_id**                 | string   | İşlemi yapan kullanıcı                                                                                                                            |
| **email**                    | string   | Mail adresi                                                                                                                                       |
| **phone**                    | string   | Telefon bilgisi                                                                                                                                   |
| **bank\_id**                 | char     | Bankanın Paynet sistemindeki kodu                                                                                                                 |
| **instalment**               | int      | Taksit sayısı                                                                                                                                     |
| **ratio**                    | float    | Ödeme sırasında kullanılan oran                                                                                                                   |
| **card\_no\_masked**         | string   | Maskeli kart numarası                                                                                                                             |
| **card\_holder**             | string   | Kart sahibi                                                                                                                                       |
| **amount**                   | decimal  | Kredi kartından çekilen tutar                                                                                                                     |
| **net\_amount**              | decimal  | Hizmet bedeli hariç tutar                                                                                                                         |
| **comission**                | decimal  | Hizmet bedeli tuturı                                                                                                                              |
| **comission\_tax**           | decimal  | Hizmet bedeli vergisi                                                                                                                             |
| **currency**                 | decimal  | Para birimi                                                                                                                                       |
| **authorization\_code**      | char     | Banka onay kodu                                                                                                                                   |
| **reference\_code**          | string   | Banka referans kodu                                                                                                                               |
| **order\_id**                | string   | Banka sipariş no                                                                                                                                  |
| **is\_succeed**              | string   | İşlem başarılı ise true. Eğer işlem başarılı ise http 200 ve is\_succeed true döner. Banka onay vermemiş ise http 200 ve is\_succedd false döner. |
| **paynet\_error\_id**        | bool     | Paynet sistemi hata kodu                                                                                                                          |
| **paynet\_error\_message**   | string   | Paynet sistemi hata mesajı                                                                                                                        |
| **bank\_error\_id**          | string   | Banka sisteminin hata kodu                                                                                                                        |
| **bank\_error\_message**     | string   | Banka sisteminin hata mesajı                                                                                                                      |
| **bank\_error\_short\_desc** | string   | Banka sisteminin hata mesajı                                                                                                                      |
| **bank\_error\_long\_desc**  | string   | Banka sisteminin hata mesajı                                                                                                                      |
| **object\_name**             | string   | transaction                                                                                                                                       |
| **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_EAAAAHTqbS04hq4sU877ZQIiNuIhJ*PVko0sJyhtHOdvxjpf"
}
```

{% endtab %}

{% tab title="Response" %}

```
{
"xact_id": "xk_*******qbS04hq4sU877ZQIiNuIhJ*PVko0sJyh*********"
"xact_date": "2016-04-07T15:33:09.543"
"transaction_type": 6
"pos_type": 5
"is_tds": false
"agent_id": "1001"
"user_id": "PaynetApi"
"email": ""
"phone": ""
"bank_id": "VAKF"
"instalment": 0
"ratio": 0.02
"card_no_masked": "435508******4358"
"card_holder": "cardholder"
"amount": 15
"net_amount": 14.65
"comission": 0.3
"comission_tax": 0.05
"currency": "TRY"
"authorization_code": ""
"reference_code": ""
"order_id": ""
"is_succeed": true
"paynet_error_id": ""
"paynet_error_message": ""
"bank_error_id": "6000"
"bank_error_message": "Invalid Ip Address : "
"bank_error_short_desc": ""
"bank_error_long_desc": ""
"object_name": "transaction"
"code": 1
"message": ""
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                 |
| ---------------- | ------------------------------------------------------------------- |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/transaction/capture\\_reversal>       |
| **Test Sistemi** | ​<https://pts-api.paynet.com.tr​/v1/transaction/capture\\_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/finansallastirma-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.
