get https://api.gliderpay.com/glider/report/v1/batch.json/stats/startDate//endDate/
Given a date range (start and end date time) return the aggregate overall reports of all the batches that have been uploaded within the date range.
Start and end date must be in the following format YYYY-MM-DD
and they will be compared with the batch creation time. All dates are in UTC timezone.
Parameter | Description | Example |
---|---|---|
startDate | Initial date where the query will start | 2017-10-10 |
endDate | Final date where the query will end | 2017-11-11 |
API response values are described in the table below:
Name | Description | Example |
---|---|---|
batches | Number of Batches processed | 50 |
noOfInvoices | Total number of invoices | 3 |
approvedInvoices | Total number of approved invoices | 2 |
rejectedInvoices | Total number of rejected invoices | 1 |
totalAmount | Total amount (in dollars) of approved invoices | 615.08 |
smsSent | [DEPRECATED] Total amount of sms sent | null |
smsDelivered | [DEPRECATED] Total amount of sms delivered | null |
smsFailed | [DEPRECATED] Total amount of sms failed | null |
smsPending | [DEPRECATED] Total amount of sms pending | null |
approvedPayments | Total amount of approved transaction | 1 |
declinedPayments | Total amount of declined payments | 0 |
paymentAmount | Total amount (in dollar) of approved transactions | 200.00 |
receipts | Total amount of requested receipts from the end-user | 1 |