ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPayments

Daily payment statistics

GET
/api/v1/payments/stats/daily

Income/spend/fee/count per UTC day for the last N days (default 30, max 365). LNbits-style aggregation for dashboard charts.

Authorization

bearer

Query Parameters

projectId?string
days?number

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Example Request
curl -X GET 'http://localhost:3001/api/v1/payments/stats/daily'
Example Response200
Empty