# 2. Fetch Reconciliation

### Balance Check <a href="#bakiye-kontrol" id="bakiye-kontrol"></a>

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

{% hint style="info" %}
**Important**: To use the Fetch Reconciliation service, you need to send '**apikeyprivate**' and '**apiclientprivate**' parameters in the 'Header' field.

[<mark style="color:green;">**PaymentPrivateAPI Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% 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="106.33333333333331">Type</th><th width="145">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>reconciliationdate</td><td>date</td><td>Yes</td><td>The reconciliation date you want to fetch. Format: yyyy-MM-dd</td></tr></tbody></table>

**The response returned from the service:**

<table><thead><tr><th width="156">Parameter</th><th width="103.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Body</td><td>object</td><td>Details regarding the reconciliation</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 is the error message specified for that 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": {
        "IsReconciled": true,
        "InsertDateTime": "2024-06-17T17:21:08.415729",
        "UpdateDateTime": null,
        "ReconciliationDate": "2024-05-05T00:00:00"
    }
}

```

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