Start payout onboarding
For a campaign that pays through the Zernio treasury: creates the creator's payee on first
use and returns a Stripe-hosted onboarding link where they enter identity and bank
details. country is required the first time and cannot change afterwards. About 20
attempts per participant every 10 minutes.
Path Parameters
A participant token or an open invite token. A malformed token answers 404 like an unknown one.
^[A-Za-z0-9_-]{16,128}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorportal.startCreatorPayouts({ body: { action: 'onboard', },});console.log(data);{ "url": "http://example.com"}Start connecting a creator account
Returns the authorization URL that connects one of the creator's own social accounts, read-only, so their posts can be verified. Send the creator's browser to `authUrl`; they come back to their participant page. Only the campaign's platforms are accepted.
Submit a post
Submits the link to a post the creator published from a connected account. The post opens a tracking window and fires `campaign_submission.received` to the operator. About 30 attempts and 10 accepted posts per participant every 10 minutes.