# 2. Search

## Search for Recurring Payment Product/Content

<mark style="color:blue;">`GET`</mark> `{{Base Adres}}/api/paywall/recurring/item/pool/search`

{% hint style="info" %}
**Important:** To use the Product/Content Search service, you need to send the '**apikeypublic**' and '**apiclientpublic**' parameters in the 'Header' field.

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

<table><thead><tr><th width="162">Parameter</th><th width="122">Type</th><th width="139">Compulsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>Public Key obtained from the member merchant panel.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>Public Client obtained from the member merchant panel.</td></tr><tr><td>itemname</td><td>string</td><td>Yes</td><td>The customer name you want to search for.</td></tr></tbody></table>

**The parameters returned from the service are as follows:**

<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>It 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 indicating the error.</td></tr><tr><td>Body</td><td>object</td><td>The card details are being returned.</td></tr></tbody></table>

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

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 19,
            "Type": 2,
            "Name": "Gold Package",
            "Amount": 150.00,
            "LastChangesDateTime": "0001-01-01T00:00:00",
            "ActiveUsedSubscription": 6
        }
    ]
}
```

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