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 · query

    Items per page, 1 to 100.

  • cursorstring · query

    The previous page's pagination.nextCursor; absent for the first page.

  • updatedSincestring · query

    Only what changed at or after this instant (ISO-8601, with its offset).

Returns

A page of Gift Aid claims.

  • objectlist

    Always list.

  • dataobject[]

    The items of this page.

    Show child attributes (17)
    • objectgift_aid_claim

      Always gift_aid_claim.

    • idstring

      The claim id.

    • statusstring | null

      pending, submitted, polling, accepted, rejected, error or superseded.

    • typestring | null

      auto (the weekly claim) or manual.

    • periodStartstring | null

      The first donation date it claims on (ISO-8601).

    • periodEndstring | null

      The last donation date it claims on (ISO-8601).

    • submittedAtstring | null

      When it was sent to HMRC (ISO-8601).

    • claimReferencestring | null

      The HMRC claim reference.

    • declarationCountnumber

      Gift Aid declarations it carries.

    • smallDonationCountnumber

      Small donations (GASDS) it carries.

    • donorCountnumber | null

      Donors it covers.

    • amountnumber | null

      The donations it claims on, in minor units of the currency (pence, cents).

    • expectedRepaymentnumber | null

      What HMRC should repay, in minor units of the currency (pence, cents).

    • adjustmentnumber | null

      Earlier over-claims it deducts, in minor units of the currency (pence, cents).

    • testModeboolean

      Sent to HMRC's test gateway.

    • createdAtstring | null

      When it was created (ISO-8601).

    • updatedAtstring | null

      When it last changed: the order of the list (ISO-8601).

  • paginationobject

    Where this page stands.

    Show child attributes (3)
    • limitinteger

      The page size asked for.

    • hasMoreboolean

      Whether another page follows: stop on false, never on a short page.

    • nextCursorstring | null

      The cursor of 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.

GET /v1/masjid/gift-aid-claims
curl "https://hub.masjidbox.com/v1/masjid/gift-aid-claims" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidGiftAidClaimsPage
{
  "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 · pathrequired

    The HMRC claim id.

Returns

The claim.

  • objectgift_aid_claim

    Always gift_aid_claim.

  • idstring

    The claim id.

  • statusstring | null

    pending, submitted, polling, accepted, rejected, error or superseded.

  • typestring | null

    auto (the weekly claim) or manual.

  • periodStartstring | null

    The first donation date it claims on (ISO-8601).

  • periodEndstring | null

    The last donation date it claims on (ISO-8601).

  • submittedAtstring | null

    When it was sent to HMRC (ISO-8601).

  • claimReferencestring | null

    The HMRC claim reference.

  • declarationCountnumber

    Gift Aid declarations it carries.

  • smallDonationCountnumber

    Small donations (GASDS) it carries.

  • donorCountnumber | null

    Donors it covers.

  • amountnumber | null

    The donations it claims on, in minor units of the currency (pence, cents).

  • expectedRepaymentnumber | null

    What HMRC should repay, in minor units of the currency (pence, cents).

  • adjustmentnumber | null

    Earlier over-claims it deducts, in minor units of the currency (pence, cents).

  • testModeboolean

    Sent to HMRC's test gateway.

  • createdAtstring | null

    When it was created (ISO-8601).

  • updatedAtstring | null

    When it last changed: the order of the list (ISO-8601).

GET /v1/masjid/gift-aid-claims/{id}
curl "https://hub.masjidbox.com/v1/masjid/gift-aid-claims/gac_6af5c9e2bc095fbd2dc57362" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidGiftAidClaim
{
  "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"
}