> 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/odeme-servisi/16.-odeme-urun-yonetimi/1.-urun-listesi.md).

# 1. Ürün Listesi

## Ödeme'deki Ürünleri Listele

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

{% hint style="info" %}
Önemli: **Ürün Listesi** servisini kullanabilmeniz için 'Header' alanında '**apikeyprivate**' ve '**apiclientprivate**' parametrelerini göndermeniz gerekmektedir.\
\
[<mark style="color:green;">**PaymentAPI Adresi**</mark>](/ortam.md)
{% endhint %}

<table><thead><tr><th width="188">Parametre</th><th width="79">Tip</th><th width="107">Zorunlu</th><th width="403">Açıklama</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Evet</td><td>Üye işyeri panelinden temin etmiş olduğunuz Private Key.</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Evet</td><td>Üye işyeri panelinden temin etmiş olduğunuz Private Client.</td></tr><tr><td>paymentid</td><td>int</td><td>Evet</td><td>Ödeme'nin Id bilgisi</td></tr></tbody></table>

**Servisten dönen cevap:**

<table><thead><tr><th width="189">Parametre</th><th width="100.33333333333331">Tip</th><th>Açıklama</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Hata kodu. İşlem başarılı ise '0' değerini döner.</td></tr><tr><td>Result</td><td>bool</td><td>True ya da false değeri döner. İşlem başarılı iste 'true' değerini döner.</td></tr><tr><td>Message</td><td>string</td><td>İşlem hatalıysa, bu hataya dair belirtilen mesajdır, locale parametresine göre dil desteği sunar.</td></tr><tr><td>Body</td><td>nesne</td><td>İşlem detay bilgileri</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 %}
