cURL
curl --request GET \ --url https://app.mlm-platform.com/api/v1/members/{userId}/commissions/breakdown \ --header 'x-tenant-api-key: <api-key>'
{ "totalAmount": 123, "bySource": { "sales": 123, "subscription": 123 }, "byStatus": { "pending": 123, "cleared": 123, "processing": 123, "paid": 123 }, "byLevel": [ { "level": 123, "amount": 123, "count": 123, "percentage": 123 } ], "trend": [ { "period": "<string>", "amount": 123, "count": 123 } ] }
Returns commission breakdown by source, status, and level.
Tenant API key for authentication
Period in YYYY-MM format or 'all'
Commission breakdown
Show child attributes