Skip to main content
POST
This endpoint creates a first-class Bonus earning with no sale and no referral. The earning is bonus, ready_for_payment, and payout-eligible. Do not send referral_id or sale_amount. For sale commissions, use POST /commissions or POST /conversions instead.

Body Parameters

The request body is strict. Extra properties are rejected.
string
required
Affiliate to credit. Must belong to the authenticated team.
number
required
Bonus amount in the team’s currency. Must be between 0.0001 and 999999.9999 with at most 4 decimal places. Zero, negative, overflow, and extra-precision values are rejected.
string
Optional note stored as the earning description. Maximum 2000 characters.

Response

The response includes the created Bonus earning.
boolean
Always true for successful responses
object
The created Bonus earning.