Skip to main content

Payment statistics

Overview

Returns received totals broken down by cryptocurrency. Only payments matched to invoices are included in the statistics.

Request

curl -X POST https://api.bitsby.app/statistics/payments \
-H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay" \
-F "startDate=2000-01-01" \
-F "endDate=2030-01-01"

Request parameters

ParameterData typeDescriptionExampleRequired?
startDateStringStart date of payment processing by the service, in Y-m-d format2000-01-01no
endDateStringEnd date of payment processing by the service, in Y-m-d format2030-01-01no

Response example

{
"result": "success",
"data": {
"usdt": 336.555589
}
}