Bloss Docs

Mark a referral payout paid

Developers
POST
/brands/{brandId}/referral-payouts/{payoutId}/mark-paid

Record that a referral bonus was paid to the referring creator outside Bloss, as the referral payouts table's Mark paid button does. Sends no money. Marking it again moves its paid time to now. Moves money, so it must be previewed first: call it with ?dryRun=true (MCP: dryRun: true), check the preview with the user, then call it again with the same inputs and the confirmToken the preview returned. Without the token it answers 400 validation_failed (details[0].reason "dry_run_required"); with a token from before something changed, 409 conflict (details.reason "preview_stale"): preview again. Full admins only, and never with a brand key.

Authorization

bearerAuth payments: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: payments:write

Path Parameters

brandId*string

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

Length1 <= length
payoutId*string

A referral payout id from GET /brands/{brandId}/referral-payouts.

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
confirmToken?string

The confirmToken a dry run (?dryRun=true) of this same call returned. Required for the real call; it stops working once anything it previewed changes.

Length1 <= length <= 64

Response Body

Success.

application/json
  1. response
id*string
referrerId*string|null
referredCreatorId*string|null
amount*number

US dollars.

status*string
paidAt*string|null
curl -X POST 'https://example.com/api/v1/brands/string/referral-payouts/string/mark-paid' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "string",  "referrerId": "string",  "referredCreatorId": "string",  "amount": 0,  "status": "string",  "paidAt": "string"}

Was this page helpful?