Settle campaign participant
Records a payout of the participant's payable balance and fires campaign_payout.settled. No money moves through Zernio.
Omit amountCents to settle the whole payable balance. An amount above it answers 400, and nothing payable answers 409. Send an Idempotency-Key so a retry never records the payout twice.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Campaign ID.
Participant ID.
Body
application/jsonOptional parameters3 fields
Defaults to the whole payable balance.
Your payout id. Required when the campaign settles externally.
Treasury campaigns only, and required there: record a payout you already made outside Zernio. Ignored on other settlement modes, which always record.
Headers
OptionalOptional 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 (e.g. by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
On the Ads create, boost and duplicate endpoints, a same-body retry runs again once the cut-off request started more than 15 minutes ago.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Settlement modes
nonesettlement: records a payout you made elsewhere.externalsettlement: pay from your own rails whencampaign_payout.payablefires, then call this with your payout id inexternalReference(required in this mode).treasurysettlement: sendrecordOnly: trueto record a payout you made yourself (the webhook then carriesrecorded: true). Without it the call answers 409: Zernio pays creators of these campaigns by card withPOST /v1/creator-campaigns/{campaignId}/payout-batches, never from your balance.
Resend campaign participant invite
Emails an `invited` participant their personal invite link again. The link does not change, so a link you already sent keeps working. The email counts toward the daily invite email cap of your workspace. Answers 409 when the participant has already joined, was suspended or removed, has no email, or the campaign is closed.
Mark campaign sample shipped
Records that you sent an `approved` sample yourself, with an optional tracking link, emails the creator and fires `campaign_sample.shipped`. No store call or money is involved. Any other status answers 409.