> 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/servisler/islem/oedeme-kontrol.md).

# Ödeme Kontrol

Yapılan bir kredi kartı işleminin özet bilgisini gösterir. Ödeme sonrası işlem özet bilgilerine hızlı erişim için kullanabilirsiniz.

{% hint style="warning" %}
Ödeme kontrol servisini kullanabilmeniz için secret\_key ile basic authentication yapmalısınız. [Bakınız](/authentication.md#secret-key)
{% endhint %}

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

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

| Parametre İsmi    | Tip    | Zorunlu | Açıklama                                                                                                    |
| ----------------- | ------ | ------- | ----------------------------------------------------------------------------------------------------------- |
| **xact\_id**      | string | Evet\*  | Paynet işlem ID’si                                                                                          |
| **reference\_no** | string | Evet\*  | Ödeme işleminde kullandığınız referans numaranız. Her işlemde unique bir numara göndermeniz tavsiye edilir. |
| {% endtab %}      |        |         |                                                                                                             |

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

| Parametre İsmi          | Tip      | Açıklama                                                                                            |
| ----------------------- | -------- | --------------------------------------------------------------------------------------------------- |
| **Data\[]**             |          |                                                                                                     |
| =>xact\_id              | string   | İşlemin id’si                                                                                       |
| =>id                    | string   | İşlem id'si                                                                                         |
| =>xact\_date            | datetime | İşlemin tarihi                                                                                      |
| =>transaction\_type     | char     | 1: satış, 2: önprovizyon                                                                            |
| =>pos\_type             | char     | 1: Süpürmeli POS 5: Paynet POS                                                                      |
| =>is\_tds               | bool     | İşlem 3D’li ise true                                                                                |
| =>agent\_id             | string   | İşlemi yapan bayinin Paynet cari hesap kodu                                                         |
| =>note                  | string   | Ödeme sırasında kullandığınız açıklama (data-description)                                           |
| =>ratio                 | float    | Ödeme sırasında kullanılan oran                                                                     |
| =>agent\_reference      | string   | Ödeme işleminde kullandığınız referans numaranız. reference\_no ile aynı                            |
| =>bank\_id              | char     | Bankanın Paynet sistemindeki kodu                                                                   |
| =>instalment            | int      | Taksit sayısı. [Bakınız](/genel-bilgiler/taksit-kodlari.md)                                         |
| =>card\_type            | char     | Kart tipi. [Bakınız](/genel-bilgiler/veri-tipleri/kart-tipi.md)                                     |
| =>card\_no              | string   | Maskeli kart numarası                                                                               |
| =>card\_holder          | string   | Kart sahibi                                                                                         |
| =>amount                | decimal  | Kredi kartından çekilen tutar                                                                       |
| =>netAmount             | decimal  | Komisyon hariç tutar                                                                                |
| =>comission             | decimal  | Komisyon tutarı                                                                                     |
| =>comission\_tax        | decimal  | Komisyon vergisi                                                                                    |
| =>currency              | char     | Para birimi                                                                                         |
| =>authorization\_code   | string   | Banka onay kodu                                                                                     |
| =>reference\_code       | string   | Banka referans kodu                                                                                 |
| =>order\_id             | string   | Banka sipariş no                                                                                    |
| =>is\_succeed           | bool     | İşlemin başarılı olup olmadığını gösterir.                                                          |
| =>xact\_transaction\_id | guid     | Paynet işlem takip numarası                                                                         |
| =>email                 | string   | Ödeme ile ilgili mail bilgisi                                                                       |
| =>phone                 | string   | Ödeme ile ilgili telefon bilgisi                                                                    |
| =>object\_name          | string   | Transaction                                                                                         |
| =>code                  | string   | Sistem sonuç kodu. [Bakınız](https://doc.paynet.com.tr/genel-bilgiler/hata-kodlari/doenues-kodlari) |
| =>message               | string   | Sistem mesajı                                                                                       |
| **object\_name**        | string   | Transaction                                                                                         |
| **code**                | string   | Sistem sonuç kodu. [Bakınız](/genel-bilgiler/hata-kodlari/doenues-kodlari.md)                       |
| **message**             | string   | Sistem mesajı                                                                                       |
| {% endtab %}            |          |                                                                                                     |

{% tab title="Request" %}

```javascript
{  
   xact_id:"xk_EAAAAAh7VYf9HG4+GR9ezqiMWAA8PY6P4eroE4BUUHRCLxGO"
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
    "Data": [
        {
            "id": 2527054,
            "xact_id": "xk_EAAAABjNNQXkp5xN4RyKCdjOn*WlCyAZUfIh7tvswL7Sxnol",
            "xact_date": "2020-02-27T11:00:19.16",
            "transaction_type": 1,
            "pos_type": 5,
            "agent_id": "10",
            "is_tds": false,
            "bank_id": "AXSS",
            "instalment": 0,
            "card_no": "435508******4358",
            "card_holder": "TEST",
            "card_type": "bc",
            "ratio": 0.035,
            "amount": 20.0000,
            "netAmount": 19.3000,
            "comission": 0.7000,
            "comission_tax": 0.0000,
            "currency": "TRY",
            "authorization_code": "aut-4923",
            "reference_code": "ref-4923",
            "order_id": "order-4923",
            "is_succeed": true,
            "xact_transaction_id": "6FA9F0CE-9D3D-4625-B985-DE390F72E78F",
            "email": "",
            "phone": "          ",
            "note": "test 2",
            "agent_reference": "test",
            "object_name": "transaction",
            "code": 0,
            "message": "Başarılı İşlem"
        }
    ],
    "object_name": "transaction",
    "code": 0,
    "message": "Başarılı İşlem"
}
```

{% endtab %}

{% tab title="Service Url" %}

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

{% hint style="info" %}
**xact\_id** ve ya **reference\_no'**&#x64;an en az birini göndermeniz gerekmektedir.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://doc.paynet.com.tr/servisler/islem/oedeme-kontrol.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
