Commissions
Reject a commission
Unpaid only. The reason is required and lands in the audit log and the partner's view.
Scope: commissions:write (or write)
post/v1/commissions/{id}/reject
Request
- Base URL: https://api.affiliaterail.com
- URL: https://api.affiliaterail.com/v1/commissions/{id}/reject
- Auth: HTTP bearer
Path parameters
idstring required
Prefixed id (com_…)
Example:com_7uSyy9FqVLCFWrdPeZaK
Request body
Response
The commission
Example response
{
"id": "com_7uSyy9FqVLCFWrdPeZaK",
"program_id": "prg_7uSyy9FqVLCFWrdPeZaK",
"partner_id": "part_7uSyy9FqVLCFWrdPeZaK",
"sale_id": "sale_7uSyy9FqVLCFWrdPeZaK",
"customer_id": "cus_7uSyy9FqVLCFWrdPeZaK",
"rule_id": "flw_7uSyy9FqVLCFWrdPeZaK",
"rule_branch_id": "flb_7uSyy9FqVLCFWrdPeZaK",
"amount_minor": 2500,
"revenue_minor": 2500,
"currency": "USD",
"mature_at": "2026-08-21T10:15:30.000Z",
"approved_at": "2026-08-21T10:15:30.000Z",
"voided_at": "2026-08-21T10:15:30.000Z",
"payout_id": "pyt_7uSyy9FqVLCFWrdPeZaK",
"created_at": "2026-08-21T10:15:30.000Z",
"updated_at": "2026-08-21T10:15:30.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.