Skip to main content

Donation Stats

Get donation statistics grouped by currency.

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

API key used for authentication

In: header

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/donation/stats"
{
  "stats": [
    {
      "currency": "usd",
      "total": 50000,
      "count": 25,
      "thisMonthTotal": 10000,
      "thisMonthCount": 5,
      "average": 2000
    }
  ]
}
{
  "error": "string",
  "code": "string",
  "details": {}
}