> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/payment-orchestration-integration-document/payment-service/16.-payment-product-management/1.-product-list.md).

# 1. Product List

## **List Products in Payment**

<mark style="color:blue;">`GET`</mark> `{{Base Adres}}/api/paywall/product`

{% hint style="info" %}
**Important:** To use the Product List service, you must include the **apikeyprivate** and **apiclientprivate** parameters in the **Header** section.\
\
[<mark style="color:green;">**PaymentAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

<table><thead><tr><th width="188">Parameter</th><th width="100.30078125">Type</th><th width="138.81640625">Compolsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Yes</td><td>Private Key obtained from the merchant panel.</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Yes</td><td>Private Client obtained from the merchant panel.</td></tr><tr><td>paymentid</td><td>int</td><td>Yes</td><td>Payment's ID information</td></tr></tbody></table>

**Response returned from the service:**

<table><thead><tr><th width="189">Parameter</th><th width="100.33333333333331">Type</th><th>description</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Error code. Returns '0' if the operation is successful.</td></tr><tr><td>Result</td><td>bool</td><td>Returns a true or false value. Returns 'true' if the operation is successful.</td></tr><tr><td>Message</td><td>string</td><td>If the operation fails, this is the message describing the error, and it supports localization based on the locale parameter.</td></tr><tr><td>Body</td><td>object</td><td>Detailed information about the transaction</td></tr></tbody></table>

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

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 2114065,
            "MemberId": 0,
            "ProductId": null,
            "ProductName": "ProductName",
            "ProductCategory": "ProductCategory",
            "ProductDescription": "ProductDescription",
            "ProductAmount": 100.00,
            "IsMarketPlaceSales": true,
            "Cargo": {
                "CurrencyId": 0,
                "CargoOwnerType": 1,
                "CargoCost": 120.00
            },
            "Discount": {
                "DiscountOwnerType": 1,
                "DiscountType": 1,
                "DiscountValue": 10.00
            }
        }
    ]
}
```

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