Skip to main content

Daily Donations

Get daily donation aggregation.

GET
/donation/daily
x-api-key<token>

API key used for authentication

In: header

Query Parameters

days?integer

Number of days to look back (1-365, default 30)

Default30
Range1 <= value <= 365

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/donation/daily"
{
  "daily": [
    {
      "date": "2024-01-15",
      "currency": "usd",
      "amount": 5000,
      "count": 3,
      "formattedDate": "Jan 15"
    }
  ]
}
{
  "error": "string",
  "code": "string",
  "details": {}
}