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.
Endpoints
The payment object
Money a member paid your Sublaunch, with your share once fees are taken.
Attributes
- idstringUnique identifier for the payment.
- objectstringAlways
payment. - amountnumberWhat the member paid.
- currencystring or nullThe currency, in lowercase.
- amount_creatornumberYour share, once fees are taken.
- statusstringThe payment's status, like
paid. - typestringWhat it paid for.
subscriptiontrialone_timepost - member_idstring or nullThe member who paid.
- emailstring or nullThe email of who paid.
- tier_idstring or nullThe tier it paid for.
- affiliate_idstring or nullThe affiliate who brought the member.
- paid_atstringWhen 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
Returns the Sublaunch's payments, newest first.
Query parameters
- member_idstringOnly this member's payments.
- sincestringOnly the payments from this date on, ISO 8601.
- untilstringOnly the payments before this date, ISO 8601.
- limitintegerHow many objects to return, from 1 to 100. 25 by default.
- cursorstringThe
next_cursorof 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.
paramnames it. - The
cursoris 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:00ZResponse200
{
"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
- objectstringAlways
revenue. - sincestringThe period's start, ISO 8601.
- untilstringThe period's end, ISO 8601.
- currencystring or nullThe Sublaunch's currency, in lowercase.
- paymentsarray of objectsThe period's payments by currency, the most frequent first.
- mrrarray of objectsThe 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
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
- sincestringThe period's start, ISO 8601. 30 days before
untilby default. - untilstringThe period's end, ISO 8601. Now by default.
- scalestringThe MRR curve's step.
dayby default.daymonthyear - timezonestringThe IANA time zone of the days, like
Europe/Paris.UTCby default.
Returns
The revenue object.
Errors
- A parameter has a value the API does not accept.
paramnames it.
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
}
]
}