POST /sdk/v1/campaign-creators/payout-previews/query
Calculates the fixed, CPM, and bonus parts of each creator’s payout. The response separates payable and non-payable media and tells you whether the calculation is ready to pay. All requests requireX-Application-Id and X-Api-Key.
Choose creators
Send exactly one of:campaignCreatorRecordIds: up to 500 campaign creator record IDs.campaignId: one campaign, with optionalpageandlimitpagination.limitdefaults to100and cannot exceed500.
Optional fields
startDateandendDate: an inclusiveYYYY-MM-DDpayment range. Send both or neither.includeNonPayable: include non-payable calculated line items. Default:true.
Example request
Response
effectiveTimeZone, resolved from the
campaign override, agency fallback, or UTC. Use it when interpreting payout
business dates and the requested dateRange.
An unknown or inaccessible creator, a creator whose requested endDate
predates their first contract terms, or a creator with a payout item that
predates those terms is returned in failures without stopping the rest of
the request. The failure reason distinguishes the requested-date and
payout-item cases.
Calculation statuses
READY: calculation is complete.readyToPayistrueonly when the total is greater than zero.CALCULATING: the calculated values are refreshing. Try again later.BLOCKED: the payout could not be calculated. Try again later.
Bonus tiers do not stack. The bonus value is the highest tier the creator or
post qualifies for.
payout.total and payout.currency when you
send the payout. Grade recalculates the
amount before sending and rejects the item if it changed. If you also send
additionalLineItems, keep amount equal to this calculated payout.total;
Grade adds those one-off items at payment time. This preview does not include
request-time additional items. See Send campaign creator payouts
for the combined total and invoice behavior.
Common errors
400: invalid selector, pagination, or date range401: missing or invalid SDK credentials404: selected campaign not found