Create a commission rule
Create a commission rule with calculation entries. Optionally scope to specific tiers, categories, or partnerships via their UUIDs.
Calculation structure
The calculation object contains entries — an array of payment triggers:
{
"entries": [
{
"payment_stage_id": 123,
"calculation": {
"type": "oneOff",
"option": "percentage",
"value": 10
}
}
]
}
Calculation types
- oneOff: Single payment when stage is reached.
option: fixed (flat amount), percentage (of deal value), or scaling (varies by custom field). - recurring: Multiple payments over time. Additional fields:
recurring_period(weekly/monthly/quarterly/yearly),number_of_occurrences. SupportsperiodRatesfor variable rates per period. - split: Different calculations for one-off and recurring components. Contains
split.oneOffandsplit.recurringsub-calculations.
Scaling
When option is scaling, provide scalingConfig with customFieldId and tiers array mapping custom field option IDs to fixed/percentage values.
Scoping
Commissions can be scoped to apply only to specific partners:
tier_uuids— apply to partners in these tierscategory_uuids— apply to partners in these categoriespartnership_uuids— apply to these specific partnerships (highest priority)
Authorizations
API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".
Body
Commission rule name
Which partner type this rule applies to
referral, reseller, distributor partnership (partner org receives payment) or individual (specific user/contact)
partnership, individual lead_creator, deal_owner, manual Commission calculation with one or more payment entries triggered by deal stage changes.
Restrict to partners in these tiers. Replaces current.
Restrict to partners in these categories. Replaces current.
Restrict to specific partnerships. Replaces current.
Response
Default Response
referral, reseller, distributor Commission calculation with one or more payment entries triggered by deal stage changes.