# Escrow Durum Güncelleme

Escrowlu işlemlerde işlemin onaylanacağı ya da reddedileceği servistir.

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

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

| Parametre İsmi    | Tip     | Zorunlu | Açıklama                                                                                                   |
| ----------------- | ------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| **xact\_id\***    | string  | Evet    | Paynet işlem ID’si                                                                                         |
| **xact\***        | int     | Evet    | Şifrelenmemiş Paynet işlem ID'si                                                                           |
| **note**          | string  | Hayır   | İşlemi onayladığınıza ya da reddettiğinize dair alacağınız nottur. En fazla 256 karakter olmalıdır.        |
| **status**        | int     | Evet    | İşlemi onaylıyorsanız "2", reddedecekseniz "3" yazmalısınız.                                               |
| **agent\_id**     | string  | Hayır   | Anafirmanın hangi bayisine ödeme yapacağını belirleyeceği, paynet bayi kodunu göndermesi gereken alan      |
| **agent\_amount** | decimal | Hayır   | Anafirmanın ilk ödeme kaydında gönderilen amount içerisinden ne kadarının bayisine aktarılacağı bilgisidir |
| {% endtab %}      |         |         |                                                                                                            |

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

| Parametre İsmi   | Tip    | Açıklama                                                                                               |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------ |
| **object\_name** | string | Dönüşü yapılan API'nin nesne adı                                                                       |
| **code**         | string | Dönüş sonucunun kodu. [Bakınız](https://doc.paynet.com.tr/genel-bilgiler/hata-kodlari/doenues-kodlari) |
| **message**      | string | Dönüş sonuç kodunun açıklaması                                                                         |
| {% endtab %}     |        |                                                                                                        |

{% tab title="Request" %}

```
{ 
"xact_id":"xk_EAAAAMzj8EmdfJKZCh79xPHIlfL62pfo6Q08T3frlnV/97HY",
"xact":"2531058",
"note":"Onaylıyorum",
"status":2
}
```

{% endtab %}

{% tab title="Response" %}

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

{% endtab %}

{% tab title="Service Url" %}

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

{% hint style="info" %}
**\*xact\_id ve xact parametrelerinden en az biri zorunludur.**
{% endhint %}


---

# 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/islem/escrow-durum-guncelleme.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.
