Commissions
Create commission
Manually creates a commission for a referral.
Commissions are automatically created from Stripe payments made by referrals. Only use this endpoint to manually create commissions that aren't tracked through Stripe.
POST
/
commissionsAuthorization
AuthorizationRequiredBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Request Body
application/jsonRequiredreferral_idRequiredstring
UUID of the referral this commission is for (required)
Format:
"uuid"revenue_amountRequirednumber
Transaction/revenue amount (required, must be greater than 0)
commission_amountRequirednumber
Commission earned (required, must be greater than 0)
referral_datestring
Date of the referral (defaults to now)
Format:
"date-time"stripe_payment_idstring
Stripe payment ID reference
Commission created