Skip to content

Fan funding ​

Supporters fund creator profiles directly, through a funding link, or inside a live stream (live module, via FundingApi.fund). Payments go through the wallet (fan_funding, fee FEE_FAN_FUNDING_PERCENT, default 10%, taken from the creator's side). Money is { amountMinor: string, currency } in responses; requests use { amountMinor: number, currency }.

MethodPathAuthBody / queryResponseErrors
GET/v1/funding-links/:slugpublic—LinkFUNDING_LINK_NOT_FOUND
GET/v1/profiles/:profileId/funding-linkspublic (owner sees inactive with includeInactive=true)cursor, limit, includeInactivepage of Link—
POST/v1/profiles/:profileId/funding-linksuser, owner of a creator profile{ slug, title, message?, currency, goalMinor?, suggestedAmountsMinor?[≤6], isActive?, endsAt? }201 LinkPROFILE_NOT_FOUND, FUNDING_SLUG_TAKEN, VALIDATION_FAILED (max 20 links)
PATCH/v1/funding-links/:iduser, ownerany of the above except currencyLinkFUNDING_LINK_NOT_FOUND, FUNDING_SLUG_TAKEN
DELETE/v1/funding-links/:iduser, owner—{ status: "ok" }FUNDING_LINK_NOT_FOUND

Link: id, profileId, creatorName, slug, shareUrl, title, message, currency, goal|null, raised, fundingCount, progressBps|null, suggestedAmounts[], isActive, isOpen, endsAt, createdAt.

Funding ​

Both routes need Idempotency-Key; the same key returns the same funding and payment. Rate limited (30/hour per person).

MethodPathAuthBodyResponseErrors
POST/v1/funding-links/:slug/funduser`{ amount, method: walletcardbank_transfer, isAnonymous?, message? (≤280) }`
POST/v1/profiles/:profileId/fundusersamesamesame, minus link errors
GET/v1/fundings/:idsupporter, or creator owner once settled—FundingFUNDING_NOT_FOUND
GET/v1/me/fundingsusercursor, limitpage of Funding—
GET/v1/profiles/:profileId/fundingsuser, ownercursor, limitpage of ReceivedFunding (succeeded/refunded)PROFILE_NOT_FOUND

Funding: id, profileId, fundingLinkId, source (link|profile|live), referenceId, amount, method, isAnonymous, message, status (pending|succeeded|failed|refunded), paymentId, createdAt, succeededAt. With card/bank_transfer the payer finishes at checkoutUrl; the funding turns succeeded when the wallet settles. Pending attempts whose payment failed are marked failed after an hour; a later settlement still wins.

ReceivedFunding: id, supporter: { userId, profileId, displayName } | null (anonymous), fundingLinkId, source, referenceId, amount, message, status, createdAt.

Supporters ​

MethodPathAuthQueryResponse
GET/v1/profiles/:profileId/supporterspubliccurrency (required), cursor, limitpage of `{ supporter
GET/v1/profiles/:profileId/funding-totalspublic—[{ raised, supporterCount }] per currency

Anonymous support is a separate leaderboard row with no identity, so it is never shown under a supporter's name.

Events and notifications ​

funding.succeeded, funding.refunded (payload includes isAnonymous, referenceId for live). Notifications funding.received (creator owner) and funding.sent (supporter), with the email templates of the same names.

In-app funding ​

Fund requests accept method: apple_iap | google_play with storePriceTierId from GET /store-price-tiers?kind=fan_funding; amount must equal the tier's price. Refunds notify the supporter (funding.refunded).

Presets ​

GET /funding/presets?currency=NGN (public, cached 60 s) returns [{ currency, amountsMinor: string[], min: Money, max: Money }], all currencies without currency. The gift sheet draws its buttons from it. Every funding (profile, link, live) must sit between min and max for its currency (FUNDING_AMOUNT_INVALID); a currency without presets takes none. Staff edit the funding.presets setting.

Plemuz API v2