Bloss Docs

Set one set's own pay

Developers
PATCH
/brands/{brandId}/sets/{setId}/pay

Give one set (pair) its own pay, as the set's Custom pay dialog does: base pay, bonus (tiered or linear, with a cap), minimum views and a note. Send every field: null means the set inherits it from the creator's deal, their group or the campaign's rules. The set is repriced right away. Refused with 409 conflict when its campaign is Closed or paid, or while a payment is in flight. Full admins only, personal tokens only. With ?dryRun=true nothing is written: the answer has the set's pay now and what it would be.

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
setId*string

A set (pair) id from GET /brands/{brandId}/sets.

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
customBasePay*|

This set's base pay; null = inherit.

customBonusModel*|

"tiered", "linear", or null = inherit the bonus.

customBonusTiers*array<>|

The ladder when tiered ([] = no bonus); null otherwise.

customBonusRate*|

US dollars per 1,000 views when linear (0 = no bonus); null otherwise.

customBonusCap*|

The most this set's linear bonus can earn; null = no cap.

customMinimumViewsThreshold*|

This set's minimum views; null = inherit.

note?|null

Response Body

Success.

application/json
  1. response
setId*string
creatorId*string
rulePay*

What the set earns under the rules it inherits, before its own pay.

customBasePay*|null
customBonusModel*|null
customBonusTiers*array<>|null
customBonusRate*|null
customBonusCap*|null
customMinimumViewsThreshold*|null
curl -X PATCH 'https://example.com/api/v1/brands/string/sets/string/pay' \  -H 'Content-Type: application/json' \  -d '{  "customBasePay": 0,  "customBonusModel": "tiered",  "customBonusTiers": [    {      "viewThreshold": 0,      "bonusAmount": 0    }  ],  "customBonusRate": 0,  "customBonusCap": 0,  "customMinimumViewsThreshold": 0}'
{  "setId": "string",  "creatorId": "string",  "rulePay": {    "base": 0,    "bonus": 0  },  "customBasePay": 0,  "customBonusModel": "tiered",  "customBonusTiers": [    {      "viewThreshold": 0,      "bonusAmount": 0    }  ],  "customBonusRate": 0,  "customBonusCap": 0,  "customMinimumViewsThreshold": -9007199254740991}

Was this page helpful?