Your masjid · Donations

Your recurring donations

The recurring donations of your donors, whatever their status, by last change. Donor names and emails need a secret key.

Right on the key: Donations: read for a read, edit (secret key) for a write.

Your recurring donations

Masjid key · secret · Donations: read

GET/v1/masjid/donation-subscriptions

Your organization's recurring donations, whatever their status, 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 · 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 recurring donations.

  • objectlist

    Always list.

  • dataobject[]

    The items of this page.

    Show child attributes (16)
    • objectdonation_subscription

      Always donation_subscription.

    • idstring

      The recurring donation id.

    • amountnumber | null

      Each payment, in minor units of the currency (pence, cents).

    • currencystring | null

      The account's currency, ISO 4217.

    • frequencystring | null

      day, week, month or year.

    • statusstring | null

      ACTIVE, TRIALING, PAUSED or CANCELED, among others.

    • campaignstring | null

      The campaign it pays into.

    • sourcestring | null

      Where it was set up.

    • namestring | null

      The donor's name.

    • emailstring | null

      The donor's email.

    • startedAtstring | null

      When it started (ISO-8601).

    • trialEndstring | null

      When its first payment is due, while its campaign has not opened (ISO-8601).

    • currentPeriodEndstring | null

      When it next renews (ISO-8601).

    • canceledAtstring | null

      When it was canceled (ISO-8601).

    • createdAtstring | null

      When it was recorded (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.

GET /v1/masjid/donation-subscriptions
curl "https://hub.masjidbox.com/v1/masjid/donation-subscriptions" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidDonationSubscriptionsPage
{
  "data": [
    {
      "amount": 1000,
      "campaign": "cmp_6af5c9e2bc095fbd2dc5735b",
      "canceledAt": null,
      "createdAt": "2026-11-12T08:00:00.000Z",
      "currency": "GBP",
      "currentPeriodEnd": "2026-12-12T08:00:00.000Z",
      "email": "donor@example.org",
      "frequency": "month",
      "id": "sub_6af5c9e2bc095fbd2dc5735d",
      "name": "A Donor",
      "object": "donation_subscription",
      "source": "web",
      "startedAt": "2026-11-12T08:00:00.000Z",
      "status": "ACTIVE",
      "trialEnd": null,
      "updatedAt": "2026-11-12T08:00:00.000Z"
    }
  ],
  "object": "list",
  "pagination": {
    "hasMore": false,
    "limit": 25,
    "nextCursor": null
  }
}