Your masjid · Donations
Your Gift Aid claims
The Gift Aid claims your organization sent, or will send, to HMRC: their status, counts and amounts, by last change. They need a secret key.
Right on the key: Donations: read for a read, edit (secret key) for a write.
Your Gift Aid claims
GET/v1/masjid/gift-aid-claims
Your organization's Gift Aid claims to HMRC, with their counts and amounts, 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. A change shows here about 30 seconds after it is made, once settled. An item can come more than once, unchanged too: apply each one as the current state of its id. A write slower than that to commit can, rarely, be missed: to catch up, read again with updatedSince set a few minutes back. updatedSince starts from an instant instead of a cursor. 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 Gift Aid claims.
objectlistAlways
list.dataobject[]The items of this page.
Show child attributes (17)
objectgift_aid_claimAlways
gift_aid_claim.idstringThe claim id.
statusstring | nullpending,submitted,polling,accepted,rejected,errororsuperseded.typestring | nullauto(the weekly claim) ormanual.periodStartstring | nullThe first donation date it claims on (ISO-8601).
periodEndstring | nullThe last donation date it claims on (ISO-8601).
submittedAtstring | nullWhen it was sent to HMRC (ISO-8601).
claimReferencestring | nullThe HMRC claim reference.
declarationCountnumberGift Aid declarations it carries.
smallDonationCountnumberSmall donations (GASDS) it carries.
donorCountnumber | nullDonors it covers.
amountnumber | nullThe donations it claims on, in minor units of the currency (pence, cents).
expectedRepaymentnumber | nullWhat HMRC should repay, in minor units of the currency (pence, cents).
adjustmentnumber | nullEarlier over-claims it deducts, in minor units of the currency (pence, cents).
testModebooleanSent to HMRC's test gateway.
createdAtstring | nullWhen it was created (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. A change feed keeps it on its last page: the next call with it reads only what changed since.
curl "https://hub.masjidbox.com/v1/masjid/gift-aid-claims" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"adjustment": 0,
"amount": 15000,
"claimReference": null,
"createdAt": "2026-11-12T08:00:00.000Z",
"declarationCount": 3,
"donorCount": 3,
"expectedRepayment": 3750,
"id": "gac_6af5c9e2bc095fbd2dc57362",
"object": "gift_aid_claim",
"periodEnd": "2026-11-12T08:00:00.000Z",
"periodStart": "2026-11-05T08:00:00.000Z",
"smallDonationCount": 0,
"status": "accepted",
"submittedAt": "2026-11-12T08:00:00.000Z",
"testMode": false,
"type": "auto",
"updatedAt": "2026-11-12T08:00:00.000Z"
}
],
"object": "list",
"pagination": {
"hasMore": false,
"limit": 25,
"nextCursor": null
}
}One of your Gift Aid claims
GET/v1/masjid/gift-aid-claims/{id}
A Gift Aid claim of your organization to HMRC: its status, how many declarations it carries and what it claims. Needs a secret key with Donations: read.
Parameters
idstring · pathrequiredThe HMRC claim id.
Returns
The claim.
objectgift_aid_claimAlways
gift_aid_claim.idstringThe claim id.
statusstring | nullpending,submitted,polling,accepted,rejected,errororsuperseded.typestring | nullauto(the weekly claim) ormanual.periodStartstring | nullThe first donation date it claims on (ISO-8601).
periodEndstring | nullThe last donation date it claims on (ISO-8601).
submittedAtstring | nullWhen it was sent to HMRC (ISO-8601).
claimReferencestring | nullThe HMRC claim reference.
declarationCountnumberGift Aid declarations it carries.
smallDonationCountnumberSmall donations (GASDS) it carries.
donorCountnumber | nullDonors it covers.
amountnumber | nullThe donations it claims on, in minor units of the currency (pence, cents).
expectedRepaymentnumber | nullWhat HMRC should repay, in minor units of the currency (pence, cents).
adjustmentnumber | nullEarlier over-claims it deducts, in minor units of the currency (pence, cents).
testModebooleanSent to HMRC's test gateway.
createdAtstring | nullWhen it was created (ISO-8601).
updatedAtstring | nullWhen it last changed: the order of the list (ISO-8601).
curl "https://hub.masjidbox.com/v1/masjid/gift-aid-claims/gac_6af5c9e2bc095fbd2dc57362" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"adjustment": 0,
"amount": 15000,
"claimReference": null,
"createdAt": "2026-11-12T08:00:00.000Z",
"declarationCount": 3,
"donorCount": 3,
"expectedRepayment": 3750,
"id": "gac_6af5c9e2bc095fbd2dc57362",
"object": "gift_aid_claim",
"periodEnd": "2026-11-12T08:00:00.000Z",
"periodStart": "2026-11-05T08:00:00.000Z",
"smallDonationCount": 0,
"status": "accepted",
"submittedAt": "2026-11-12T08:00:00.000Z",
"testMode": false,
"type": "auto",
"updatedAt": "2026-11-12T08:00:00.000Z"
}