API reference
Payouts
Members pay the owner's own Stripe account, and Stripe pays it out to their bank. The API reads where that account stands and gives the link to connect it or edit it, on Stripe's own page.
The affiliate balance is what the owner earned promoting Sublaunch or another Sublaunch. The API reads it, lists its cash outs and cashes it out to the owner's bank, which it reaches within 8 days. The bank itself is connected in the app.
Only the owner's keys and AI app connections reach payouts, never a team member's. A cash out moves money at once and cannot be undone, so ask the owner first, with the amount.
The payout account object
The owner's Stripe account, which members pay, as the Payout page in the app shows it.
Attributes
- objectstringAlways
payout_account. - connectedbooleanWhether a Stripe account is connected.
- account_idstring or nullIts Stripe account ID.
- countrystring or nullIts country, like
FR. - documents_verifiedbooleanWhether Stripe has every document it asked for.
- payments_enabledbooleanWhether it can take payments.
- payouts_enabledbooleanWhether Stripe pays it out to its bank.
- fee_creditobject or nullWhere Stripe cannot take Sublaunch's fees, in Mexico, Brazil, India, Malaysia, Singapore and Thailand, the credit they come off, with its
amountandcurrency. Checkouts stop below zero. Null elsewhere. - dashboard_urlstring or nullStripe's dashboard, once connected.
{
"object": "payout_account",
"connected": true,
"account_id": "acct_1Q8xK2mLpR4tV9nB",
"country": "FR",
"documents_verified": true,
"payments_enabled": true,
"payouts_enabled": true,
"fee_credit": null,
"dashboard_url": "https://dashboard.stripe.com/dashboard"
}Manage payouts
Reads the owner's payouts and cashes out their affiliate balance, as the Payout page and the affiliate balance in the app. get returns the Stripe account members pay. onboarding_link returns Stripe's page to connect that account or edit it, for the owner to open, back to the Sublaunch's Payout page after. transfers lists the cash outs made from the shared affiliate balance. affiliate_balance returns what the owner earned as an affiliate and can cash out, Sublaunch's own program by default or another Sublaunch's with program_id. cashout sends the available balance to the owner's bank at once, after the app's checks. It cannot be undone, so ask the owner first, with the amount.
Body parameters
- actionstringRequiredWhat to do.
get,transfersandaffiliate_balancewith areadkey,onboarding_linkandcashoutwith awritekey.getonboarding_linktransfersaffiliate_balancecashout - program_idstringFor
affiliate_balanceandcashout, another Sublaunch whose affiliate program the owner promotes, anidofcreator_programsin the Sublaunch affiliate object. Sublaunch's own program by default. - limitintegerFor
transfers, how many to return, from 1 to 100. 25 by default. - cursorstring
Returns
With get, the payout account object. With onboarding_link, a payout_link object with Stripe's url, connected and return_url. With transfers, a list of cash out objects. With affiliate_balance, the affiliate balance object. With cashout, a cash out object with arrives_within_days and the balance after it.
Errors
- A value the API does not accept, or a field another action takes, like
program_idwithget.paramnames it. Nothing changed. - 403forbiddenThe key or AI app is a team member's. Only the owner's keys and connections reach it.
- A
readkey asks for an action that changes something. Use a key withwrite. program_idis not a Sublaunch whose program the owner promotes.- No bank is connected for cash outs. Connect it in the app's affiliate balance.
- Cash outs are paused on this account. Contact Sublaunch's support.
- The available balance is under the minimum a cash out takes.
- 409bank_detailsStripe needs the bank's details checked. Edit the bank in the app's affiliate balance.
- 409daily_limitThe day's cash out limit is reached. Try again tomorrow.
- 409none_todayNo cash out is available today. Try again tomorrow.
- A cash out is on its way already.
- The cash out could not be made. Try again.
- Stripe or a Sublaunch service did not answer. Try again in a minute.
curl -X POST https://api.sublaunch.com/v1/payouts \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "affiliate_balance"
}'{
"object": "affiliate_balance",
"program": {
"id": "T7K1kb7Gdf",
"username": "sublaunch"
},
"all_programs": true,
"currency": "usd",
"available": 57.3,
"pending": null,
"next_available_on": null,
"paid_out": 63.05,
"minimum": 20,
"fee_percent": 3,
"bank": {
"connected": true,
"country": "FR"
},
"on_hold": false,
"cash_outs": [
{
"id": "tr8Kq2XmP4",
"object": "cash_out",
"amount": 24.25,
"currency": "usd",
"fee_percent": 3,
"created_at": "2026-11-25T09:12:40.000Z",
"paid": false
},
{
"id": "tr3Lm9QxK7",
"object": "cash_out",
"amount": 38.8,
"currency": "usd",
"fee_percent": 3,
"created_at": "2026-10-28T14:05:11.000Z",
"paid": true
}
]
}The affiliate balance object
What the owner earned promoting Sublaunch or another Sublaunch as an affiliate, and what they can cash out to their bank.
Attributes
- objectstringAlways
affiliate_balance. - programobjectThe affiliate program.
- all_programsboolean
truefor the one balance every program shares, in US dollars.falsefor a program with its own balance, in its currency. - currencystring or nullIts currency, in lowercase.
- availablenumberWhat can be cashed out now.
- pendingnumber or nullWhat is earned and not available yet. Null on the shared balance.
- next_available_onstring or nullWhen the next pending amount becomes available, ISO 8601.
- paid_outnumberWhat was cashed out so far.
- minimumnumberThe least a cash out takes.
- fee_percentnumber or nullThe cash out fee, in percent.
- bankobjectThe bank cash outs go to, connected in the app's affiliate balance.
- on_holdbooleanWhether cash outs are paused. Contact Sublaunch's support then.
- cash_outsarray of objectsThe last 20 cash outs, newest first.
{
"object": "affiliate_balance",
"program": {
"id": "T7K1kb7Gdf",
"username": "sublaunch"
},
"all_programs": true,
"currency": "usd",
"available": 57.3,
"pending": null,
"next_available_on": null,
"paid_out": 63.05,
"minimum": 20,
"fee_percent": 3,
"bank": {
"connected": true,
"country": "FR"
},
"on_hold": false,
"cash_outs": [
{
"id": "tr8Kq2XmP4",
"object": "cash_out",
"amount": 24.25,
"currency": "usd",
"fee_percent": 3,
"created_at": "2026-11-25T09:12:40.000Z",
"paid": false
},
{
"id": "tr3Lm9QxK7",
"object": "cash_out",
"amount": 38.8,
"currency": "usd",
"fee_percent": 3,
"created_at": "2026-10-28T14:05:11.000Z",
"paid": true
}
]
}The cash out object
Money sent from the affiliate balance to the owner's bank.
Attributes
- idstringUnique identifier for the cash out.
- objectstringAlways
cash_out. - amountnumberWhat was sent.
- currencystring or nullIts currency, in lowercase.
- fee_percentnumber or nullThe fee taken, in percent, when known.
- created_atstring or nullWhen it was made, ISO 8601.
- paidbooleanWhether it reached the bank. A cash out reaches it within 8 days.
{
"id": "tr8Kq2XmP4",
"object": "cash_out",
"amount": 24.25,
"currency": "usd",
"fee_percent": 3,
"created_at": "2026-11-25T09:12:40.000Z",
"paid": false
}