Skip to main content
GET
Donation count + amount roll-up for a date window

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Query Parameters

date_from
string<date>

Start of the window (inclusive). Defaults to today. Compared against donations.created_at.

date_to
string<date>

End of the window (inclusive). Defaults to today.

Response

Roll-up.

donations
integer

Successful (non-refunded, non-zero) donation rows in the window.

Example:

1240

refunded
integer
Example:

15

failed
integer

Zero-amount or gateway-failed donation rows.

Example:

8

total_donations
number<float>
Example:

125400.5

total_in_kind
number<float>
Example:

1500

total_monetary
number<float>
Example:

123900.5

in_kind_count
integer
Example:

12

monetary_count
integer
Example:

1228