Create campaign adjustment
Posts a manual adjustment to a participant's payable balance against the campaign budget: a
positive amount credits the participant (a bonus), a negative one claws back. cause is kept
on the ledger entry. A claw-back larger than the payable balance answers 409.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Campaign ID.
Header Parameters
Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. A request cut off mid-handler (for example by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
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.creatorcampaigns.createCampaignAdjustment({ path: { campaignId: 'campaign_abc123', }, body: { participantId: 'participant_abc123', amountCents: 0, cause: 'string', },});console.log(data);{ "entry": { "id": "string", "kind": "adjustment", "participantId": "string", "amountCents": 0, "cause": "string", "actor": "string", "createdAt": "2019-08-24T14:15:22Z" }}List creator campaigns
Lists the team's campaigns in the profiles this key can reach, newest first.
Create campaign invite link
Creates the campaign's open invite link: anyone with it can join as a participant (up to `caps.maxParticipants`). Creating a new link revokes the previous one. The URL is returned only here. Answers 409 on a closed campaign.