# Payment Report

It is used for list the payments to be made to you on the basis of due date.

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

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

| Parameter Name | Type | Required | Description                                                                                                           |
| -------------- | ---- | -------- | --------------------------------------------------------------------------------------------------------------------- |
| **date**       | date | No       | To list by specific date. The default value is the date the request was made. It should be sent as yyyy-MM-dd format. |
| {% endtab %}   |      |          |                                                                                                                       |

{% tab title="Response Parameters" %}

| Parameter Name             | Type     | Description                                                                                                                                                                                                                               |
| -------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **total**                  | int      | Total number of the rows.                                                                                                                                                                                                                 |
| **total\_count**           | int      | Total number of the rows shown.                                                                                                                                                                                                           |
| **object\_name**           | string   | The object name of response API.                                                                                                                                                                                                          |
| **Data\[]**                |          |                                                                                                                                                                                                                                           |
| =>agent\_service\_amount   | decimal  | Value of dealer service.                                                                                                                                                                                                                  |
| =>agent\_pay\_amount       | decimal  | The net Amount of payable to the dealer.                                                                                                                                                                                                  |
| =>company\_pay\_amount     | decimal  | The net Amount of payable to the parent company.                                                                                                                                                                                          |
| =>company\_service\_amount | decimal  | Value of parent company service.                                                                                                                                                                                                          |
| =>due\_date                | Datetime | Payment date. The date on which the relevant amount from Paynet will be transferred to your accounts.                                                                                                                                     |
| =>company\_code            | string   | Paynet parent company code of the dealer who made the transaction.                                                                                                                                                                        |
| =>company\_name            | string   | Parent Company Name of the dealer who made the transaction.                                                                                                                                                                               |
| =>agent\_id                | string   | Paynet agent code of the dealer that performed the transaction.                                                                                                                                                                           |
| =>agent\_name              | string   | Agent Name of the dealer that performed the transaction.                                                                                                                                                                                  |
| =>xact\_id                 | string   | Id of the transaction.                                                                                                                                                                                                                    |
| =>xact\_date               | Datetime | Date and Time Information of transaction.                                                                                                                                                                                                 |
| =>bank\_id                 | string   | The bank's code in the paynet system. [See more](https://doc.paynet.com.tr/genel-bilgiler/banka-kodlari)                                                                                                                                  |
| =>bank\_name               | string   | Bank Name.                                                                                                                                                                                                                                |
| =>card\_no                 | string   | Masked card number.                                                                                                                                                                                                                       |
| =>card\_holder             | string   | Card owner.                                                                                                                                                                                                                               |
| =>card\_type               | char(2)  | Card Type. [See More](https://doc.paynet.com.tr/genel-bilgiler/veri-tipleri/kart-tipi)                                                                                                                                                    |
| =>authorization\_code      | string   | Bank confirmation code.                                                                                                                                                                                                                   |
| =>reference\_code          | string   | Bank reference code.                                                                                                                                                                                                                      |
| =>order\_id                | string   | Bank order no.                                                                                                                                                                                                                            |
| =>xact\_type               | char(2)  | Transaction Type.[ See more](https://doc.paynet.com.tr/genel-bilgiler/veri-tipleri/islem-tipi)                                                                                                                                            |
| =>is\_succeed              | bool     | It returns true if the transaction successful. If the transaction is successful, it returns as http 200 and and is\_succeed return as true. If the bank does not approve transaciton, it returns http 200 and is\_succed return as false. |
| =>pos\_type                | int      | 5: Paynet POS                                                                                                                                                                                                                             |
| =>instalment               | int      | Number of instalment. [See more](https://doc.paynet.com.tr/genel-bilgiler/taksit-kodlari)                                                                                                                                                 |
| =>plus\_installment        | int      | Number of Plus İnstallment.                                                                                                                                                                                                               |
| =>ratio                    | float    | Rate that used during payment.                                                                                                                                                                                                            |
| =>user\_id                 | string   | User Information that made transaction.                                                                                                                                                                                                   |
| =>amount                   | decimal  | Amount witdrawn from credit card.                                                                                                                                                                                                         |
| =>company\_cost\_ratio     | float    | Value of Parent company service fee (%).                                                                                                                                                                                                  |
| {% endtab %}               |          |                                                                                                                                                                                                                                           |

{% tab title="Request" %}

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

{% endtab %}

{% tab title="Response" %}

```
{
   "total":14,
   "total_count":14,
   "object_name":"transaction_payment_list",
   "Data":[
      {
         "company_code":"1001",
         "company_name":"Paynet Ödeme Hizmetleri",
         "agent_id":"1001",
         "agent_name":"Paynet Ödeme Hizmetleri",
         "xact_id":"7197***",
         "xact_date":"03.02.2020 17:44:41",
         "bank_id":"AXSS",
         "bank_name":"Axess",
         "card_no":"435508******4358",
         "card_holder":"A*** D***",
         "card_type":"cc",
         "authorization_code":"461***",
         "reference_code":"0034171*****",
         "order_id":"3837B183*************C344611A207",
         "xact_type":"S",
         "is_succeed":true,
         "pos_type":5,
         "instalment":10,
         "plus_installment":2,
         "ratio":0.0,
         "company_cost_ratio":0.1052,
         "user_id":"paynet",
         "amount":3500.0000,
         "due_date":"2020-02-05T00:00:00",
         "agent_service_amount":0.0,
         "agent_pay_amount":0.0,
         "company_pay_amount":3131.8000,
         "company_service_amount":368.2000
      }
```

{% endtab %}

{% tab title="Service Url" %}

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