> 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/upload-signature.md).

# Upload Signature

This service is used for upload the signature image in base64 format as the transaction confirmation data for your successful transactions that have been paid for.

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

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

| Parameter Name       | Type   | Required | Description                               |
| -------------------- | ------ | -------- | ----------------------------------------- |
| **xact\_id**         | string | Yes      | Paynet transaction number.                |
| **pars\_base64**     | string | Yes      | Converted format of image data to base64. |
| **pars\_file\_name** | string | No       | Name of the image data.                   |
| {% 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",
   "pars_base64":"İmza datasının base64'lü hali"
}
```

{% endtab %}

{% tab title="Response" %}

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

{% endtab %}

{% tab title="Service Url" %}

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