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

  • objectstring
    Always payout_account.
  • connectedboolean
    Whether a Stripe account is connected.
  • account_idstring or null
    Its Stripe account ID.
  • countrystring or null
    Its country, like FR.
  • documents_verifiedboolean
    Whether Stripe has every document it asked for.
  • payments_enabledboolean
    Whether it can take payments.
  • payouts_enabledboolean
    Whether Stripe pays it out to its bank.
  • fee_creditobject or null
    Where Stripe cannot take Sublaunch's fees, in Mexico, Brazil, India, Malaysia, Singapore and Thailand, the credit they come off, with its amount and currency. Checkouts stop below zero. Null elsewhere.
  • dashboard_urlstring or null
    Stripe's dashboard, once connected.
Payout account object
{
  "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

POST/v1/payoutsread scopeMCPmanage_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

  • actionstringRequired
    What to do. get, transfers and affiliate_balance with a read key, onboarding_link and cashout with a write key.
    getonboarding_linktransfersaffiliate_balancecashout
  • program_idstring
    For affiliate_balance and cashout, another Sublaunch whose affiliate program the owner promotes, an id of creator_programs in the Sublaunch affiliate object. Sublaunch's own program by default.
  • limitinteger
    For transfers, how many to return, from 1 to 100. 25 by default.
  • cursorstring
    For transfers, the next_cursor of the previous page. See Pagination.

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_id with get. param names it. Nothing changed.
  • The key or AI app is a team member's. Only the owner's keys and connections reach it.
  • A read key asks for an action that changes something. Use a key with write.
  • program_id is 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.
  • Stripe needs the bank's details checked. Edit the bank in the app's affiliate balance.
  • The day's cash out limit is reached. Try again tomorrow.
  • No 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.
POST/v1/payouts
curl -X POST https://api.sublaunch.com/v1/payouts \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "affiliate_balance"
  }'
Response200
{
  "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

  • objectstring
    Always affiliate_balance.
  • programobject
    The affiliate program.
  • all_programsboolean
    true for the one balance every program shares, in US dollars. false for a program with its own balance, in its currency.
  • currencystring or null
    Its currency, in lowercase.
  • availablenumber
    What can be cashed out now.
  • pendingnumber or null
    What is earned and not available yet. Null on the shared balance.
  • next_available_onstring or null
    When the next pending amount becomes available, ISO 8601.
  • paid_outnumber
    What was cashed out so far.
  • minimumnumber
    The least a cash out takes.
  • fee_percentnumber or null
    The cash out fee, in percent.
  • bankobject
    The bank cash outs go to, connected in the app's affiliate balance.
  • on_holdboolean
    Whether cash outs are paused. Contact Sublaunch's support then.
  • cash_outsarray of objects
    The last 20 cash outs, newest first.
Affiliate balance object
{
  "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

  • idstring
    Unique identifier for the cash out.
  • objectstring
    Always cash_out.
  • amountnumber
    What was sent.
  • currencystring or null
    Its currency, in lowercase.
  • fee_percentnumber or null
    The fee taken, in percent, when known.
  • created_atstring or null
    When it was made, ISO 8601.
  • paidboolean
    Whether it reached the bank. A cash out reaches it within 8 days.
Cash out object
{
  "id": "tr8Kq2XmP4",
  "object": "cash_out",
  "amount": 24.25,
  "currency": "usd",
  "fee_percent": 3,
  "created_at": "2026-11-25T09:12:40.000Z",
  "paid": false
}