# 7. Details

## Card - Details

<mark style="color:blue;">`GET`</mark> `{{Base Address}}/api/paywall/card/production/detail`

Simply sending a request to the address provided above will suffice. You can use the 'Base Address' as you wish for both the Testing Environment and the Production Environment.

{% hint style="info" %}
**Important**: In order to use the 'Card - Details' service, you need to send the '**apikeyprivate**' and '**apiclientprivate**' parameters in the 'Header' field.

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

**The header information that needs to be sent to the service is as follows:**

<table><thead><tr><th width="182">Parameter</th><th width="96.33333333333331">Type</th><th width="139">Compulsory</th><th>Description</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Yes</td><td>The Private Key obtained from the merchant panel.</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Yes</td><td>The Private Client obtained from the merchant panel.</td></tr><tr><td>cardid</td><td>string</td><td>Yes</td><td>The Id information of the card in Paywall. Returned during creation.</td></tr></tbody></table>

**The response from the service:**

<table><thead><tr><th width="156">Parameter</th><th width="95.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Body</td><td>object</td><td>The detailed information related to the card.</td></tr><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, providing language support according to the locale parameter.</td></tr></tbody></table>

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

```json5
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "CardId": 15,
        "CardIdExternal": 66735,
        "ExternalId": "1231231a3",
        "BalanceInfo": {
            "TotalBalance": 1.00
        },
        "CardInfo": {
            "CardNumberMasked": "529799******0142",
            "CardNumber": "5297990033450142",
            "ExpiryMonth": "08",
            "ExpiryYear": "27",
            "Cvv": "413"
        }
    }
}
```

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.paywall.one/payment-orchestration-integration-document/card-production-service/7.-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
