Zernio
APIFor you
Zernio
APIFor you
API Reference

Creator Portal

Open the creator's Stripe dashboardPOSTDownload a payout statementGETList a creator's earnings historyGETRead a creator invite or participant pageGETJoin a campaignPOSTEmail a creator their campaign linksPOSTStart connecting a creator accountPOSTStart payout onboardingPOSTSubmit a postPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Creator Portal

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.


POST
/public/creator-campaigns/{token}/payouts

Path Parameters

token*string

A participant token or an open invite token. A malformed token answers 404 like an unknown one.

Match^[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"}
Was this page helpful?

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.

action*"onboard"

Value in

  • "onboard"
country?string

ISO 3166-1 alpha-2 country the creator lives in. Required on the first call.

Match^[A-Za-z]{2}$