Bloss Docs

Remove a creator's pay for one campaign

Developers
DELETE
/brands/{brandId}/creators/{creatorId}/pay/campaigns/{campaignId}

Remove the pay a creator has only in one campaign: that campaign goes back to the creator's every-campaign deal. Reprices their sets there 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. 409 conflict while a payment to the creator is in flight, for a Closed campaign, or when expectedPayVersion no longer matches. Full admins only. With ?dryRun=true nothing is written: the answer has campaignImpact (see brand.creator.pay.update).

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

A campaign id from GET /brands/{brandId}/campaigns.

Length1 <= length <= 64

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
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
creatorId*string
payVersion*string

The creator's pay as saved; send it as expectedPayVersion with the next change.

repriced*integer

Creators whose sets were repriced (0 or 1).

Range-9007199254740991 <= value <= 9007199254740991
replacedCampaignRates*integer

Single-campaign rates removed by alsoReplaceCampaignRates.

Range-9007199254740991 <= value <= 9007199254740991
curl -X DELETE 'https://example.com/api/v1/brands/string/creators/string/pay/campaigns/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "creatorId": "string",  "payVersion": "string",  "repriced": -9007199254740991,  "replacedCampaignRates": -9007199254740991}

Was this page helpful?