# Ödeme Raporu

Bu servis ile vade tarihi bazında alınacak ödemelerin listesini listeleyebilirsiniz.

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

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

| Parametre İsmi | Tip  | Zorunlu | Açıklama                                                                             |
| -------------- | ---- | ------- | ------------------------------------------------------------------------------------ |
| **date**       | date | Hayır   | Belirli tarih bazında listeleme yapmak için. Varsayılan değer istek atılan tarihtir. |
| {% endtab %}   |      |         |                                                                                      |

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

| Parametre İsmi               | Tip      | Açıklama                                                                                                                                          |
| ---------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **agent\_service\_amount**   | decimal  | Bayi hizmet tutarı                                                                                                                                |
| **agent\_pay\_amount**       | decimal  | Bayiye ödenecek net tutar                                                                                                                         |
| **company\_pay\_amount**     | decimal  | Ana firma ödenecek net tutar                                                                                                                      |
| **company\_service\_amount** | decimal  | Ana firma komisyon tutarı                                                                                                                         |
| **due\_date**                | Datetime | Ödeme tarihi                                                                                                                                      |
| **company\_code**            | string   | İşlemi yapan bayinin Paynet ana firma hesap kodu                                                                                                  |
| **company\_name**            | string   | İşlemi yapan bayinin ana firma adı                                                                                                                |
| **agent\_id**                | string   | İşlemi yapan bayinin Paynet cari hesap kodu                                                                                                       |
| **agent\_name**              | string   | İşlemi yapan bayinin adı                                                                                                                          |
| **xact\_id**                 | string   | İşlem’in id’si                                                                                                                                    |
| **xact\_date**               | Datetime | İşlemin tarihi                                                                                                                                    |
| **bank\_id**                 | string   | Bankanın Paynet sistemindeki kodu. Bknz.[Banka Kodları](/uornek/genel-bilgiler/banka-kodlari.md)                                                  |
| **bank\_name**               | string   | Banka adı                                                                                                                                         |
| **card\_no**                 | string   | Maskeli kart numarası                                                                                                                             |
| **card\_holder**             | string   | Ödemenin yapıldığı kart sahibi ad ve soyad bilgisi                                                                                                |
| **card\_type**               | char(2)  | Ödemenin yapıldığı kart tipi.Bknz.[Kart Tipi](/uornek/genel-bilgiler/veri-tipleri/kart-tipi.md)                                                   |
| **authorization\_code**      | string   | Banka onay kodu                                                                                                                                   |
| **reference\_code**          | string   | Banka referans kodu                                                                                                                               |
| **order\_id**                | string   | Banka sipariş numarası                                                                                                                            |
| **xact\_type**               | char(2)  | İşlem tipi . Bknz.[İşlem Tipi](/uornek/genel-bilgiler/veri-tipleri/islem-tipi.md)                                                                 |
| **is\_succeed**              | bool     | İşlem başarılı ise true. Eğer işlem başarılı ise http 200 ve is\_succeed true döner. Banka onay vermemiş ise http 200 ve is\_succedd false döner. |
| **pos\_type**                | int      | 5: Paynet POS                                                                                                                                     |
| **instalment**               | int      | Taksit sayısı. Bknz.[Taksit Kodları](/uornek/genel-bilgiler/taksit-kodlari.md)                                                                    |
| **ratio**                    | float    | Ödeme sırasında kullanılan oran                                                                                                                   |
| **user\_id**                 | string   | İşlemi yapan kullanıcı                                                                                                                            |
| **amount**                   | decimal  | Kredi kartından çekilen tutar                                                                                                                     |
| {% endtab %}                 |          |                                                                                                                                                   |

{% tab title="Request" %}

```
{    
  "date":"2018-12-24" 
} 
```

{% endtab %}

{% tab title="Response" %}

```
{  
   "total":1,
   "total_count":1,
   "object_name":"transaction_payment_list",
   "Data":[  
      {  
         "company_code":"1124",
         "company_name":"FIRATPEN",
         "agent_id":"1124",
         "agent_name":"FIRATPEN",
         "xact_id":"2507677",
         "xact_date":"19.12.2018",
         "bank_id":"AXSS",
         "bank_name":"Axess",
         "card_no":"435508******4358",
         "card_holder":"ONUR ÖZDEMİR",
         "card_type":"cc",
         "authorization_code":"408338",
         "reference_code":"835309695576",
         "order_id":"DA96BF9E9FD846B3949E69EFBB4BEBA0",
         "xact_type":"S",
         "is_succeed":true,
         "pos_type":5,
         "instalment":0,
         "ratio":0.025,
         "user_id":"tst",
         "amount":1,
         "due_date":"2018-12-24T00:00:00",
         "agent_service_amount":0,
         "agent_pay_amount":0,
         "company_pay_amount":1.96,
         "company_service_amount":0.04
      }
   ]
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                    |
| ---------------- | -------------------------------------------------------------------------------------- |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/payment_list>                                            |
| **Test Sistemi** | [ ](< https://pts-api.paynet.com.tr​​>)<https://pts-api.paynet.com.tr/v1/payment_list> |
| {% 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/uornek/servisler/islem/oedeme-raporu.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.
