# 2. Get Reconciliation

## Get Reconciliation

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

{% hint style="info" %}
**Important:** To use the **Get Reconciliation** service, you must include the **apikeyprivate** and **apiclientprivate** parameters in the **Header**.\
\
[<mark style="color:green;">**PaymentPrivateAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

#### The header information to be sent to the service is as follows:

<table><thead><tr><th width="208.1328125">Parameter</th><th width="106.33333333333331">Type</th><th width="154.50390625">Compolsory</th><th>Description</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Yes</td><td>The <strong>Private Key</strong> obtained from the merchant panel</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Yes</td><td>The <strong>Private Client</strong> obtained from the merchant panel</td></tr><tr><td>reconciliationdate</td><td>date</td><td>Yes</td><td>The reconciliation date to be retrieved. Format: yyyy-MM-dd</td></tr></tbody></table>

**Response returned from the service:**

<table><thead><tr><th width="156">Parameter</th><th width="83.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Body</td><td>object</td><td>Detailed information related to the reconciliation</td></tr><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>Returns 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, it returns the relevant error message and provides 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": {
        "IsReconciled": true,
        "InsertDateTime": "2024-06-17T17:21:08.415729",
        "UpdateDateTime": null,
        "ReconciliationDate": "2024-05-05T00:00:00"
    }
}
```

{% 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/reconciliation-service/virtual-pos/2.-get-reconciliation.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.
