# 1. Cards

## Cards within the Recurring Payment Scope

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

{% hint style="info" %}
**Important**: In order to use the payment service, you need to send '**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="79">Type</th><th width="138">Compulsory</th><th width="403"> Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>The Public Key obtained from the merchant panel.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>The Public Client obtained from the merchant panel.</td></tr><tr><td>subscriptionid</td><td>int</td><td>Yes</td><td>Sent by Paywall during membership creation and successful callbacks.</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. If the transaction is successful, it returns '0'.</td></tr><tr><td>Result</td><td>bool</td><td>It returns either true or false. If the transaction is successful, it returns 'true'.</td></tr><tr><td>Message</td><td>string</td><td>If the transaction is unsuccessful, this is the specified error message.</td></tr><tr><td>Body</td><td>object</td><td><em>The card details are returned.</em></td></tr></tbody></table>

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

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 1233429,
            "Priority": 1,
            "CardNumber": "454359******6218",
            "ExpiryMonth": 9,
            "ExpiryYear": 2027,
            "Type": "Credit",
            "Kind": "Bireysel Kart",
            "Bank": "T. İŞ BANKASI A.Ş.",
            "Brand": "Visa",
            "Family": "Maximum"
        }
    ]
}
```

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