Bloss Docs

Recalculate every creator's payout in a campaign

Developers
POST
/brands/{brandId}/payout-cycles/{cycleId}/recalculate

Reprice every set in a campaign or payout cycle and rebuild each creator's payout, as the Recalculate button does. Moves no money. 404 for an unknown or deleted one; 409 conflict when it is paid (unmark it first) or any payout in it was already sent through Bloss (those are final). Can take a while on a large brand. Full admins only.

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

A campaign or payout cycle id from GET /brands/{brandId}/campaigns or GET /brands/{brandId}/payout-cycles.

Length1 <= length

Request Body

application/json
  1. body
snapshotDate?string

Price at this day's view counts (YYYY-MM-DD). Default: the latest.

Response Body

Success.

application/json
  1. response
payoutsCreated*integer
Range-9007199254740991 <= value <= 9007199254740991
totalAmount*number

The campaign's total after the recalculation.

curl -X POST 'https://example.com/api/v1/brands/string/payout-cycles/string/recalculate' \  -H 'Content-Type: application/json' \  -d '{}'
{  "payoutsCreated": -9007199254740991,  "totalAmount": 0}

Was this page helpful?