# Transaction Marking

When transferring Paynet transactions to your own system, if you want only records that have not been transferred from the list service, you can mark that transaction as transferred with this service.

{% hint style="warning" %}
You should perform basic authentication with secret\_key to use transaction mark service. See more
{% endhint %}

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

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

| Parameter Name     | Type    | Required | Description                         |
| ------------------ | ------- | -------- | ----------------------------------- |
| **xact\_id**       | string  | Yes      | Paynet Transaction Number.          |
| **document\_no**   | string  | No       | Document Number.                    |
| **amount**         | decimal | No       | Transaction Amount.                 |
| **currency**       | string  | No       | Currency of the transaction amount. |
| **exchange\_rate** | decimal | No       | Exchange Rate.                      |
| {% 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_EAAAAAh7VYf9HG4+GR9ezqiMWAA8PY6P4eroE4BUUHRCLxGO"
}
```

{% endtab %}

{% tab title="Response" %}

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

{% endtab %}

{% tab title="Service Url" %}

| System          | URL                                                                |
| --------------- | ------------------------------------------------------------------ |
| **Live System** | <https://api.paynet.com.tr/v1/transaction/mark\\_transferred>      |
| **Test System** | ​<https://pts-api.paynet.com.tr/v1/transaction/mark\\_transferred> |
| {% 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/english/transaction/transaction-marking.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.
