# 5. List (System Level)

## **Merchant Commission List**

<mark style="color:blue;">`GET`</mark>`{{WalletUrl}}/api/v1/commission/by/merchant?PageNumber=1&PageSize:10`&#x20;

{% hint style="info" %}
**Note:** To use this service, the **apikeypublic** and **apiclientpublic** parameters must be included in the Header field.

\
[<mark style="color:green;">**WalletAPI Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

**The parameters that need to be sent to the service (Header) are as follows:**

<table><thead><tr><th width="162">Parameter</th><th width="79">Type</th><th width="107">Required</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the general key used to provide API access.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the public identification key specific to the API client.</td></tr></tbody></table>

**The parameters that need to be sent to the service (QueryString) are as follows:**

| Parameter  | Description                                                       |
| ---------- | ----------------------------------------------------------------- |
| PageNumber | The value corresponding to the page number you want to list.      |
| PageSize   | The number of records you want to be returned on the listed page. |

{% tabs %}
{% tab title="Service Reguest - JSON" %}
{% code lineNumbers="true" %}

```json
{
    "Items": [
        {
            "Id": "99e41c25-1a1b-411c-8e86-829801af6628",
            "Level": "Merchant",
            "MerchantId": 2071,
            "WalletOwnerId": null,
            "WalletId": null,
            "TransactionType": "GiftBalanceAdded",
            "FeeType": "Fixed",
            "FeeValue": 1.00,
            "ConditionType": "None",
            "ConditionThreshold": 0.00,
            "CurrencyCode": "TRY",
            "IsActive": true,
            "CreatedAt": "2025-05-01T15:22:46.604943Z",
            "UpdatedAt": null
        },
        {
            "Id": "1c05713c-4bd0-42e3-be40-c4ac1edb648c",
            "Level": "Merchant",
            "MerchantId": 2071,
            "WalletOwnerId": null,
            "WalletId": null,
            "TransactionType": "OutgoingTransfer",
            "FeeType": "Fixed",
            "FeeValue": 1.00,
            "ConditionType": "None",
            "ConditionThreshold": 0.00,
            "CurrencyCode": "TRY",
            "IsActive": true,
            "CreatedAt": "2025-05-01T15:22:45.971296Z",
            "UpdatedAt": null
        },
        {
            "Id": "9e4bbe65-443f-4250-9f90-8a074a7d1c37",
            "Level": "Merchant",
            "MerchantId": 2071,
            "WalletOwnerId": null,
            "WalletId": null,
            "TransactionType": "Purchase",
            "FeeType": "Fixed",
            "FeeValue": 1.00,
            "ConditionType": "None",
            "ConditionThreshold": 0.00,
            "CurrencyCode": "TRY",
            "IsActive": true,
            "CreatedAt": "2025-05-01T15:22:45.245164Z",
            "UpdatedAt": null
        },
        {
            "Id": "8508d6d6-2f44-4e66-be63-cc76b5c9c5a6",
            "Level": "Merchant",
            "MerchantId": 2071,
            "WalletOwnerId": null,
            "WalletId": null,
            "TransactionType": "Withdrawal",
            "FeeType": "Fixed",
            "FeeValue": 1.00,
            "ConditionType": "None",
            "ConditionThreshold": 0.00,
            "CurrencyCode": "TRY",
            "IsActive": true,
            "CreatedAt": "2025-05-01T15:22:44.473166Z",
            "UpdatedAt": null
        },
        {
            "Id": "6a07c25a-0843-46b8-b167-5013f67feffe",
            "Level": "Merchant",
            "MerchantId": 2071,
            "WalletOwnerId": null,
            "WalletId": null,
            "TransactionType": "Deposit",
            "FeeType": "Fixed",
            "FeeValue": 1.00,
            "ConditionType": "None",
            "ConditionThreshold": 0.00,
            "CurrencyCode": "TRY",
            "IsActive": true,
            "CreatedAt": "2025-05-01T14:23:07.77366Z",
            "UpdatedAt": null
        }
    ],
    "PageNumber": 1,
    "TotalPages": 1,
    "TotalCount": 5,
    "HasPreviousPage": false,
    "HasNextPage": false,
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## **Service Response**

<table><thead><tr><th width="192">Parameter</th><th width="147.89192708333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>IsFailure</td><td>bool</td><td>Indicates whether the operation was unsuccessful. If true, an error has occurred.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>Indicates whether the operation was successful. If true, it has been completed successfully.</td></tr><tr><td>Errors</td><td>Array</td><td>A list containing the details of any errors that occurred.</td></tr><tr><td>Value</td><td>Array</td><td>Contains the main data content returned in the case of a successful response.</td></tr></tbody></table>

## **Service Response** (Items)

<table><thead><tr><th width="234.05859375">Parameter</th><th width="162.38671875">Type</th><th width="348.94140625">Description</th></tr></thead><tbody><tr><td>Id</td><td>Guid</td><td>The unique identifier for the commission.</td></tr><tr><td>Level</td><td>string</td><td>Commission Level<br><br>See: <a href="broken-reference">Commission Levels</a></td></tr><tr><td>MerchantId</td><td>int</td><td>Your merchant (business) PayWall identification information.</td></tr><tr><td>WalletOwnerId</td><td>Guid</td><td>Your merchant (business) PayWall identification information.</td></tr><tr><td>WalletId</td><td>Guid</td><td>The wallet identification information to which the commission is assigned.</td></tr><tr><td>TransactionType</td><td>string</td><td>The type of transaction for which the commission will be applied.<br><br>See: <a href="broken-reference">Transaction Types</a></td></tr><tr><td>FeeType</td><td>string</td><td>The type of fee for the commission.<br><br>See: <a href="broken-reference">Cost Types</a></td></tr><tr><td>FeeValue</td><td>decimal</td><td>The value of the commission fee.</td></tr><tr><td>ConditionType</td><td>string</td><td>The condition type for the commission.<br><br>See: <a href="broken-reference">Condition Types</a></td></tr><tr><td>ConditionThreshold</td><td>decimal</td><td>The condition value for the commission.</td></tr><tr><td>CurrencyCode</td><td>string</td><td>The currency in which the commission will be applied.</td></tr><tr><td>IsActive</td><td>bool</td><td>The active status of the commission.</td></tr><tr><td>CreatedAt</td><td>DateTime</td><td>The creation date of the record.</td></tr><tr><td>UpdatedAt</td><td>DateTime</td><td>The date when the record was last updated.</td></tr></tbody></table>
