Skip to Content
TrackCrest Docs

Create payout rule

Add a payout override for some affiliates, an event or countries.

POST
/api/v1/network/offers/{publicId}/payout-rules

Requires scope offers:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Request Body

application/json
  1. body
name?string
payout?number
Formatdouble
payoutModel?string|null
payoutPercent?|
Formatdouble
currency?string|null
affiliateIds?array<>|null
event?string|null
countries?array<string>|null
priority?integer
Formatint32
enabled?boolean
excludeAffiliates?boolean
excludeEvents?boolean
excludeCountries?boolean
revenue?|
Formatdouble
revenuePercent?|
Formatdouble

Response Body

Created

application/json
  1. response
data?
Example Request
curl -X POST 'https://trakcrt.com/api/v1/network/offers/0/payout-rules' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "name": "string",    "payoutModel": "string",    "payout": 0.1,    "payoutPercent": 0,    "currency": "string",    "affiliateIds": [      0    ],    "event": "string",    "countries": [      "string"    ],    "priority": 0,    "enabled": true,    "excludeAffiliates": true,    "excludeEvents": true,    "excludeCountries": true,    "revenue": 0,    "revenuePercent": 0  }}