# 4. Reconciliation List

## Balance Check

<mark style="color:blue;">`GET`</mark> `{{Base Address}}/api/paywall/private/vpos/reconciliation/list`

It will be sufficient to make a request to the address provided above. You can use the 'Base Address' for both the test environment and the production environment as you wish.

{% hint style="info" %}
**Important**: To use the Reconciliation List service, you need to send '**apikeyprivate**' and '**apiclientprivate**' parameters in the 'Header' field.\
\
[<mark style="color:green;">**PaymentPrivateAPI 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="243">Parameter</th><th width="116.33333333333331">Type</th><th width="144">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>datefrom</td><td>date</td><td>Yes</td><td>Start date of the list</td></tr><tr><td>dateto</td><td>date</td><td>Yes</td><td>End date of the list</td></tr><tr><td>start</td><td>int</td><td>Yes</td><td>Start</td></tr><tr><td>length</td><td>int</td><td>Yes</td><td>End</td></tr><tr><td>sortvalue</td><td>string</td><td>No</td><td>Sorting value<br><br>Values: desc, asc</td></tr></tbody></table>

**The response returned from the service:**

<table><thead><tr><th width="156">Parameter</th><th width="94.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Body</td><td>object</td><td>JSON containing details about the balance information (optional).</td></tr><tr><td>ErrorCode</td><td>int</td><td>Error code. If the operation is successful, it returns a value of '0'.</td></tr><tr><td>Result</td><td>bool</td><td>It returns either true or false. If the operation is successful, it returns 'true'.</td></tr><tr><td>Message</td><td>string</td><td>If the operation fails, this message specifies the error, providing language support based on the locale parameter.</td></tr></tbody></table>

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

```json5
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Data": [
            {
                "ReconciliationId": 522344,
                "ReconciliationDate": "2024-05-07T00:00:00",
                "IsReconciled": true,
                "InsertDateTime": "2024-06-23T20:11:55.316038",
                "UpdateDateTime": null
            },
            {
                "ReconciliationId": 232423,
                "ReconciliationDate": "2024-05-05T00:00:00",
                "IsReconciled": true,
                "InsertDateTime": "2024-06-17T17:21:08.415729",
                "UpdateDateTime": null
            },
            {
                "ReconciliationId": 145646,
                "ReconciliationDate": "2024-05-06T00:00:00",
                "IsReconciled": false,
                "InsertDateTime": "2024-06-17T17:20:50.665343",
                "UpdateDateTime": null
            }
        ],
        "TotalRecord": 3
    }
}
```

{% 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/wallet-services/reconciliation-service/virtual-pos/4.-reconciliation-list.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.
