# 3. End of Day Data

## Balance Check

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

{% hint style="info" %}
**Important**: To use the End of Day Data 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="122.33333333333331">Type</th><th width="143">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>endofdaydate</td><td>date</td><td>Yes</td><td>The date information for which the end of day data is requested. Format: yyyy-MM-dd</td></tr></tbody></table>

**The response returned from the service:**

<table><thead><tr><th width="156">Parameter</th><th width="126.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Body</td><td>object</td><td>Details of the end of day data</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": {
        "EndOfDayId": 3417,
        "TotalCount": 4,
        "TotalAmount": 46.00,
        "SuccessfulCount": 0,
        "SuccessfulAmount": 0.00,
        "UnsuccessfulCount": 1,
        "UnsuccessfulAmount": 13.00,
        "RefundCount": 0,
        "RefundAmount": 0.00,
        "PartialRefundCount": 0,
        "PartialRefundAmount": 0.00,
        "CancelCount": 0,
        "CancelAmount": 0.00
    }
}
```

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