Bloss Docs

Clear per-set bonuses so the creator's deal applies

Developers
POST
/brands/{brandId}/creators/{creatorId}/set-bonuses/clear

Remove the bonus set on individual sets of a creator, so those sets earn the creator's own bonus deal again, as the Pay dialog's "clear set bonuses" step does. Only once the creator has a deal of their own (409 otherwise: clearing would move the sets onto the campaign's bonus). Up to 25 sets per call; each set is checked and repriced on its own and a refusal is reported, not thrown. Repeat while remaining > 0. Set ids come from brand.creator.pay.get or GET /brands/{brandId}/sets. Full admins only, personal tokens only. With ?dryRun=true nothing is written: the answer says which sets have their own bonus and would be cleared.

Authorization

bearerAuth payouts:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: payouts:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length
creatorId*string

A creator id from GET /brands/{brandId}/creators.

Length1 <= length

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Request Body

application/json
  1. body
setIds*array<>

The sets whose own bonus to clear.

Items1 <= items <= 25

Response Body

Success.

application/json
  1. response
cleared*array<string>
refused*array<>
remaining*integer
Range-9007199254740991 <= value <= 9007199254740991
failure*string|null
curl -X POST 'https://example.com/api/v1/brands/string/creators/string/set-bonuses/clear' \  -H 'Content-Type: application/json' \  -d '{  "setIds": [    "string"  ]}'
{  "cleared": [    "string"  ],  "refused": [    {      "setId": "string",      "reason": "string"    }  ],  "remaining": -9007199254740991,  "failure": "string"}

Was this page helpful?