> 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/payment-service/18.-batch-processing-method/5.-query-summary.md).

# 5. Query / Summary

## **Bulk Payment Summary Query Service**

<mark style="color:blue;">`GET`</mark> `{{Base Adres}}/api/paywall/payment/bulk/payment/query/summary`

{% hint style="info" %}
**Important:** To use the bulk payment summary query service, you must include the **apikeypublic** and **apiclientpublic** parameters in the header.

[<mark style="color:green;">**PaymentAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

**The parameters to be sent to the service are as follows:**

<table><thead><tr><th width="204.63671875">Parameter</th><th width="106">Type</th><th width="167.5">Compolsory</th><th width="336">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>The <strong>Public Key</strong> obtained from the merchant panel.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>The <strong>Public Client</strong> obtained from the merchant panel.</td></tr><tr><td>merchantuniquecode</td><td>string</td><td>Yes</td><td>A unique identifier code specific to the merchant, sent to Paywall as a parameter during transaction initiation.</td></tr></tbody></table>

**Response Returned from the Service >** <mark style="color:blue;">Main Directory</mark>

<table><thead><tr><th width="225">Parameter</th><th width="167.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Result</td><td>bool</td><td>Indicates whether the transaction has been successfully received by Paywall. A <strong>true</strong> response does not mean the payments are successful; it means they have been successfully received for processing. Payment results will be delivered via callback.</td></tr><tr><td>TotalPaymentCount</td><td>int</td><td>Total number of transactions</td></tr><tr><td>TotalPaymentAmount</td><td>decimal</td><td>Total transaction amount</td></tr><tr><td>TotalSuccessPaymentCount</td><td>int</td><td>Total number of successful transactions</td></tr><tr><td>TotalSuccessPaymentAmount</td><td>decimal</td><td>Total amount of successful transactions</td></tr><tr><td>TotalUnsuccessfulPaymentCount</td><td>int</td><td>Total number of failed transactions</td></tr><tr><td>TotalUnsuccessfulPaymentAmount</td><td>decimal</td><td>Total amount of failed transactions</td></tr><tr><td>TotalUnprocessedPaymentCount</td><td>int</td><td>Number of transactions that could not be processed due to possible disaster scenarios</td></tr><tr><td>TotalUnprocessedPaymentAmount</td><td>decimal</td><td>Amount of transactions that could not be processed due to possible disaster scenarios</td></tr></tbody></table>

**Sample JSON Response from the Service**

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

```json
{
    "Result": true,
    "TotalPaymentCount": 47211,
    "TotalPaymentAmount": 236672865.97,
    "TotalSuccessPaymentCount": 47167,
    "TotalSuccessPaymentAmount": 236400652.25,
    "TotalUnsuccessfulPaymentCount": 44,
    "TotalUnsuccessfulPaymentAmount": 272213.72,
    "TotalUnprocessedPaymentCount": 0,
    "TotalUnprocessedPaymentAmount": 0.00
}
```

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