API reference

Payments

A payment is money a member paid your Sublaunch, with your share once fees are taken. Revenue sums them over a period, with the MRR curve of your Dashboard.

The payment object

Money a member paid your Sublaunch, with your share once fees are taken.

Attributes

  • idstring
    Unique identifier for the payment.
  • objectstring
    Always payment.
  • amountnumber
    What the member paid.
  • currencystring or null
    The currency, in lowercase.
  • amount_creatornumber
    Your share, once fees are taken.
  • statusstring
    The payment's status, like paid.
  • typestring
    What it paid for.
    subscriptiontrialone_timepost
  • member_idstring or null
    The member who paid.
  • emailstring or null
    The email of who paid.
  • tier_idstring or null
    The tier it paid for.
  • affiliate_idstring or null
    The affiliate who brought the member.
  • paid_atstring
    When it was paid, ISO 8601.
Payment object
{
  "id": "In7pQ2xKLm",
  "object": "payment",
  "amount": 29,
  "currency": "usd",
  "amount_creator": 26.1,
  "status": "paid",
  "type": "subscription",
  "member_id": "Ms8kL2QpXz",
  "email": "sam@example.com",
  "tier_id": "tier1",
  "affiliate_id": null,
  "paid_at": "2026-11-02T18:41:09.000Z"
}

List payments

GET/v1/paymentsread scopeMCPlist_payments

Returns the Sublaunch's payments, newest first.

Query parameters

  • member_idstring
    Only this member's payments.
  • sincestring
    Only the payments from this date on, ISO 8601.
  • untilstring
    Only the payments before this date, ISO 8601.
  • limitinteger
    How many objects to return, from 1 to 100. 25 by default.
  • cursorstring
    The next_cursor of the previous page, to get the page after it. Keep the other parameters the same. See Pagination.

Returns

A list of payment objects.

Errors

  • A parameter has a value the API does not accept. param names it.
  • The cursor is not one this list gave, was made for other filters, or goes deeper than its limit.
GET/v1/payments
curl -G https://api.sublaunch.com/v1/payments \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d since=2026-11-01T00:00:00Z
Response200
{
  "object": "list",
  "data": [
    {
      "id": "In7pQ2xKLm",
      "object": "payment",
      "amount": 29,
      "currency": "usd",
      "amount_creator": 26.1,
      "status": "paid",
      "type": "subscription",
      "member_id": "Ms8kL2QpXz",
      "email": "sam@example.com",
      "tier_id": "tier1",
      "affiliate_id": null,
      "paid_at": "2026-11-02T18:41:09.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0"
}

The revenue object

Your Sublaunch's payments over a period, and its MRR curve as the Dashboard shows it.

Attributes

  • objectstring
    Always revenue.
  • sincestring
    The period's start, ISO 8601.
  • untilstring
    The period's end, ISO 8601.
  • currencystring or null
    The Sublaunch's currency, in lowercase.
  • paymentsarray of objects
    The period's payments by currency, the most frequent first.
  • mrrarray of objects
    The MRR curve, one point per step.
Revenue object
{
  "object": "revenue",
  "since": "2026-11-01T00:00:00.000Z",
  "until": "2026-11-17T00:00:00.000Z",
  "currency": "usd",
  "payments": [
    {
      "currency": "usd",
      "count": 241,
      "amount": 7480,
      "amount_creator": 6732
    }
  ],
  "mrr": [
    {
      "date": "2026-11-14",
      "value": 6380
    },
    {
      "date": "2026-11-15",
      "value": 6409
    },
    {
      "date": "2026-11-16",
      "value": 6438
    }
  ]
}

Retrieve revenue

GET/v1/revenueread scopeMCPget_revenue

Returns a period's payments by currency and the MRR curve the Dashboard shows. The last 30 days by default, 3 years at most.

Query parameters

  • sincestring
    The period's start, ISO 8601. 30 days before until by default.
  • untilstring
    The period's end, ISO 8601. Now by default.
  • scalestring
    The MRR curve's step. day by default.
    daymonthyear
  • timezonestring
    The IANA time zone of the days, like Europe/Paris. UTC by default.

Returns

The revenue object.

Errors

GET/v1/revenue
curl -G https://api.sublaunch.com/v1/revenue \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d since=2026-11-01T00:00:00Z \
  -d scale=day \
  --data-urlencode "timezone=Europe/Paris"
Response200
{
  "object": "revenue",
  "since": "2026-11-01T00:00:00.000Z",
  "until": "2026-11-17T00:00:00.000Z",
  "currency": "usd",
  "payments": [
    {
      "currency": "usd",
      "count": 241,
      "amount": 7480,
      "amount_creator": 6732
    }
  ],
  "mrr": [
    {
      "date": "2026-11-14",
      "value": 6380
    },
    {
      "date": "2026-11-15",
      "value": 6409
    },
    {
      "date": "2026-11-16",
      "value": 6438
    }
  ]
}