Bloss Docs

Set a creator group's trial pay

Developers
PATCH
/brands/{brandId}/creator-groups/{groupId}/trial-pay

A creator group's trial pay, for its members. How trial sets are paid at this level: inherit (no setting), normal, no_pay, or trial_rates with every rate. hold keeps trial sets' pay until the trial is passed. For every campaign, or only in one (campaignId; { mode: "inherit", campaignId } removes it there). Creators on a running trial whose trial pay comes from here are repriced right away. alsoTopUpPaid: true also moves sets that already have money paid (they are topped up at the next payment); by default they keep the pay they were priced with. Only for brands on campaign trials (409 conflict, not_converted, otherwise). 409 conflict while a payment is in flight or when expectedPayVersion no longer matches. Full admins only. With ?dryRun=true nothing is written: the answer lists the creators it reaches, their trial sets, payVersion and campaignImpact.

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

A group id from GET /brands/{brandId}/creator-groups.

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

"inherit" (no setting here), "normal" (trial sets earn normal pay), "no_pay", or "trial_rates" (these rates).

Value in"inherit""normal""no_pay""trial_rates"
hold?boolean

Hold trial sets' pay until the trial is passed. Required unless inherit.

rates?

Required for "trial_rates".

campaignId?|

A campaign id from GET /brands/{brandId}/campaigns: save only in that campaign. Omit (or null) for every campaign.

alsoReplaceCampaignRates?boolean

Every-campaign saves only: also remove the creator's own pay in single campaigns (Closed ones keep theirs), so this pay applies there too.

alsoTopUpPaid?boolean

Also move sets that already have money paid. Default false.

expectedPayVersion?string

payVersion from a dry run: the save is refused (409) if the creator's pay changed since.

Lengthlength <= 200

Response Body

Success.

application/json
  1. response
changed*boolean
payChanged*boolean
creatorsReached*integer

Creators on a running trial whose trial pay comes from here.

Range-9007199254740991 <= value <= 9007199254740991
replacedCampaignRates*integer
Range-9007199254740991 <= value <= 9007199254740991
payVersion*string
curl -X PATCH 'https://example.com/api/v1/brands/string/creator-groups/string/trial-pay' \  -H 'Content-Type: application/json' \  -d '{  "mode": "inherit"}'
{  "changed": true,  "payChanged": true,  "creatorsReached": -9007199254740991,  "replacedCampaignRates": -9007199254740991,  "payVersion": "string"}

Was this page helpful?

Change a creator group's pay PATCH

Change what a creator group pays its members: base pay per set, the bonus, the minimum-views threshold, or the note. Moves money: every member whose pay changes has their sets repriced right away in the campaigns the change reaches, except Closed ones, and `repriced` says how many creators. Sets with money already paid keep the pay they had. Send only what changes: an omitted field keeps its value, null makes the group stop setting it so members get the campaign's rule. The bonus is replaced as a whole. A creator's own deal still wins over the group's. Pay can be set for every campaign (omit `campaignId`) or only in one campaign (`campaignId`). Inside that campaign the group's pay there replaces its every-campaign pay as a whole: a null field there falls to the campaign's own rule, not to the every-campaign pay. A save for every campaign doesn't change campaigns where the group has its own pay, unless `alsoReplaceCampaignRates` is true. `campaignRates` lists the group's pay for one campaign. With `campaignId`, the campaign must be one of this brand's and not Closed or deleted (404 not_found for an unknown or deleted one, 409 conflict for a Closed one: reopen it first). `alsoReplaceCampaignRates` is only accepted without `campaignId` (400 otherwise). A note on its own needs pay to explain: 400 when the group sets no pay for every campaign, or, with `campaignId`, has no pay of its own in that campaign (send values to create it). Refused with 409 conflict while a payment is being sent to a member whose pay would move. Full admins only. A preview's `changes` says which of base pay, bonus, minimum views and note would change; a note alone reprices nobody. With ?dryRun=true nothing is written: the answer adds `payImpact` (how many creators' group-level pay would change, so their sets in campaigns that aren't closed would be repriced, and for up to 100 of them their group pay before and after; the rates are left out, with `payShown: false`, unless the token can also read money (**Payout settings, cycles and payouts**, full admin)) and fails with the same 403, 404 or 409 the real call would. A preview also has `campaignImpact`, the same figures the app's confirm step shows: `payChanged` (false when no set's price would move, as for a note alone or a campaign's pay equal to what the group pays there now), `writeNeeded` (false when there is nothing to save), `refusal` (null, or why the save would be refused), `creatorsRepriced`, and for each campaign the sets whose price would move and what's still owed there before and after (US dollars), or `notChanged` with why (`own_pay`: the group has its own pay there and keeps it; `closed`; `pay_everyone`: the campaign pays everyone its own rates). For a save for every campaign, `alsoReplace` gives the same figures for the campaigns `alsoReplaceCampaignRates: true` would add, with `topUpOffered`. `topUp` is what paid sets would gain if the app's top-up were ticked (the API never tops up). Owed amounts are null, with `payShown: false`, unless the token can also read money.

Set a creator group's trial rule PATCH

Set the campaign trial rule a group gives its members (plan 94 trials): "default" (the brand's), "no_trial", or "custom" with a `rule`, as in brand.creator.trial-rule.update. A creator's own rule still wins over the group's. Open trials it reaches follow the new rule at once: any whose videos already meet it, or whose rule becomes "no_trial", pass straight away, which can pay a referral bonus, so a save that would pass anyone needs `payouts:write` (403 with `details.creatorIds` otherwise). Brands still on payout cycles answer 409 `not_converted`. With ?dryRun=true nothing is written: the answer has `current`, `next`, `changed` and `openTrials` (who it reaches and what happens to each, up to 100 listed).