Your masjid · Donations
Your donations
Every donation, by last change: keep the last page's cursor and the next call reads only what changed. Donor names and emails need a secret key.
Right on the key: Donations: read for a read, edit (secret key) for a write.
Your donations
GET/v1/masjid/donations
Your organization's donations — succeeded, refunded in part or in whole — oldest change first, by cursor (limit 1 to 100, 25 by default; cursor from the previous page): keep the last page's cursor and the next call reads only what changed since. updatedSince starts from an instant instead. Donor names and emails: needs a secret key with Donations: read.
Parameters
limitinteger · queryItems per page, 1 to 100.
cursorstring · queryThe previous page's
pagination.nextCursor; absent for the first page.updatedSincestring · queryOnly what changed at or after this instant (ISO-8601, with its offset).
Returns
A page of donations.
objectlistAlways
list.dataobject[]The items of this page.
Show child attributes (16)
objectdonationAlways
donation.idstringThe donation id.
amountnumber | nullPaid, in minor units of the currency (pence, cents).
currencystring | nullISO 4217.
statusstring | nullSUCCEEDED,PARTIALLY_REFUNDEDorREFUNDED.refundedAmountnumberRefunded so far, in minor units.
campaignstring | nullThe campaign it went to.
subscriptionstring | nullThe recurring donation it is a payment of.
sourcestring | nullWhere it was given:
web,terminal,application,one,widget,pages.namestring | nullThe donor's name.
emailstring | nullThe donor's email.
receiptstring | nullIts fiscal receipt, if one was issued.
giftAidbooleanA Gift Aid declaration covers it.
paymentDatestring | nullWhen it was paid (ISO-8601).
createdAtstring | nullWhen it was recorded (ISO-8601).
updatedAtstring | nullWhen it last changed: the order of the list (ISO-8601).
paginationobjectWhere this page stands.
Show child attributes (3)
limitintegerThe page size asked for.
hasMorebooleanWhether another page follows: stop on false, never on a short page.
nextCursorstring | nullThe
cursorof the next page; null on the last one.
curl "https://hub.masjidbox.com/v1/masjid/donations" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"amount": 2500,
"campaign": "cmp_6af5c9e2bc095fbd2dc5735b",
"createdAt": "2026-11-12T08:00:00.000Z",
"currency": "GBP",
"email": "donor@example.org",
"giftAid": false,
"id": "don_6af5c9e2bc095fbd2dc5735c",
"name": "A Donor",
"object": "donation",
"paymentDate": "2026-11-12T08:00:00.000Z",
"receipt": null,
"refundedAmount": 0,
"source": "web",
"status": "SUCCEEDED",
"subscription": null,
"updatedAt": "2026-11-12T08:00:00.000Z"
}
],
"object": "list",
"pagination": {
"hasMore": false,
"limit": 25,
"nextCursor": null
}
}