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