> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/payment-orchestration-integration-document/reconciliation-service/virtual-pos/3.-end-of-day-data.md).

# 3. End-of-Day Data

## **End-of-Day Data**

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

{% hint style="info" %}
Önemli: **Gün Sonu Verileri** servisini kullanabilmeniz için 'Header' alanında '**apikeyprivate**' ve You must include the **apiclientprivate** parameter in the request.\
\
[<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="197.91015625">Parameter</th><th width="122.33333333333331">Type</th><th width="153.95703125">Compolsory</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 for which end-of-day data is requested<br>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 about the end-of-day data</td></tr><tr><td>ErrorCode</td><td>int</td><td>Error code. Returns <code>'0'</code> if the operation is successful</td></tr><tr><td>Result</td><td>bool</td><td>Returns <strong>true</strong> or <strong>false</strong>. If the operation is successful, it returns <strong>true</strong></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 <strong>locale</strong> 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 %}
