Bitsby documentation
Bitsby documentation
Bitsby documentation
Bitsby documentation
  • General information
  • Balance and tariffs
  • FAQ
  • Invoice creation
    • In my personal account
    • In the telegram bot
    • HTML forms and links
    • Via API
  • Settings
    • Wallets
    • Payment by bank cards
  • API documentation
    • General information
    • Invoice list
    • Invoice creation
    • Invoice cancellation
    • Bind payment to invoice
    • List of payments
    • Invoice statistics
    • Payment statistics
    • User balances
    • Balance change history
    • Project tariffs
  • Webhook URL
  • Plugins for online stores and CMS
  • Документация на русском
Powered by GitBook
On this page
  • Request
  • Request parameters
  • Example answer
  1. API documentation

Payment 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

Parameter
Data type
Description
Example
Mandatory?

startDate

String

Start date of transaction in blockchain in Y-m-d format

2000-01-01

no

endDate

String

End date of transaction in blockchain in Y-m-d format

2030-01-01

no

Example answer

{
    "result": "success",
    "data": {
        "usdt": 336.555589
    }
}
PreviousInvoice statisticsNextUser balances

Last updated 1 year ago