Downloading Payment Batch Summary Report
The Payment Batch Summary report shows total sales and refunds by currency and payment method. To request the report, your client application must send an HTTP GET message to the report server. Format the URL as follows:
https://<url_prefix>/reporting/v3/payment-batch-summaries&startTime={startTime}&endTime={endTime}
Value | Description | Required/ Optional |
---|---|---|
<
url_prefix > | Name of the server from which to
download the report. Use one of these values:
| Required |
{startTime} | Report start date to search on in ISO
8601 format (yyyy-MM-dd'T'HH:mm:ss.SSSZ). Example:
2019-05-01T12:00:00-05:00 | Required |
{endTime} | Report end date to search on in ISO
8601 format (yyyy-MM-dd'T'HH:mm:ss.SSSZ). Example:
2019-08-30T12:00:00-05:00 | Required |
{organizationId} | The organization ID under which the
report is subscribed. This can be the merchant ID, account ID, or reseller
ID. | Optional |
{rollUp} | Specifies whether to present data in
spans of a single day, week, or month. The options are:
| Conditional. Required when requesting
breakdown data for a merchant. |
{breakdown} | Used to request data at the
parent-level account, such as Reseller. The options are:
| Conditional. Required when requesting
breakdown data for a merchant. |
{startDayOfWeek} | Start day of week to breakdown data.
The options are:
| Optional |
Responses
This call can return one of the following HTTP status codes:
- 200: Ok.
- 400: Invalid request.
- 404: Report not found or no transactions are available.
For detailed information on the responses,
including which fields are returned, see the Reporting REST API Reference
.