> 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/english/transaction/adding-transaction-information.md).

# Adding Transaction Information

It is used for add or update your e-mail, phone, reference code and note about your transactions after payment is received.

{% hint style="warning" %}
You should perform basic authentication with secret\_key to use adding transaction information service. [See more](https://doc.paynet.com.tr/authentication#secret-key)
{% endhint %}

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

{% tabs %}
{% tab title="Request Parameters" %}

| Parameter Name       | Type   | Required | Description                                        |
| -------------------- | ------ | -------- | -------------------------------------------------- |
| **xact\_id**         | string | Yes      | Paynet Transaction Number.                         |
| **note**             | string | No       | Note information about payment.                    |
| **email**            | string | No       | Email information about payment.                   |
| **phone**            | string | No       | Phone Information about payment.                   |
| **agent\_reference** | string | No       | Dealer Reference Number Information about payment. |
| **reference\_no**    | string | No       | Reference Number to associate.                     |
| {% endtab %}         |        |          |                                                    |

{% tab title="Response Parameters" %}

| Parameter Name   | Type   | Description                                                                                                    |
| ---------------- | ------ | -------------------------------------------------------------------------------------------------------------- |
| **object\_name** | string | The object name of response API.                                                                               |
| **code**         | string | The code of response result. [See more](https://doc.paynet.com.tr/genel-bilgiler/hata-kodlari/doenues-kodlari) |
| **message**      | string | Response result message.                                                                                       |
| {% endtab %}     |        |                                                                                                                |

{% tab title="Request" %}

```
{  
   "xact_id":"xk_EAAAAEwBHM0lIgwZbfPU5TmiHhhc/ARIrakW/9476pYzEyta",
   "note":"note alanı",
   "phone":"1111111111",
   "email":"mail@mail.comı",
   "agent_reference":"agent_reference alanı"
}
```

{% endtab %}

{% tab title="Response" %}

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

{% endtab %}

{% tab title="Service Url" %}

| System          | URL                                                        |
| --------------- | ---------------------------------------------------------- |
| **Live System** | <https://api.paynet.com.tr/v1/transaction/add\\_info>      |
| **Test System** | ​<https://pts-api.paynet.com.tr/v1/transaction/add\\_info> |
| {% endtab %}    |                                                            |
| {% endtabs %}   |                                                            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/english/transaction/adding-transaction-information.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.
