Skip to content

Commission overview ​

Commission is earned on each sale, held, and then released into your spendable balance in batches. This endpoint shows what is waiting and what was released recently.

GET /api/v1/reports/commission-overview/{currency}

bash
curl https://app.xash.co.zw/api/v1/reports/commission-overview/USD \
  -H "Authorization: Bearer YOUR_SERVER_TOKEN"

Response 200 ​

json
{
  "success": true,
  "message": "Commission summary retrieved successfully",
  "data": {
    "currency": "USD",
    "pending": {
      "total": 0.23,
      "release_at": "2026-11-23T04:30:00+02:00",
      "is_due": false
    },
    "releases": [
      {
        "released_at": "2026-11-16T04:30:00+02:00",
        "amount": 1.84,
        "currency": "USD",
        "transaction_count": 31
      }
    ]
  }
}
FieldDescription
pending.totalCommission earned and not yet released. A number; round it to cents for display.
pending.release_atWhen the oldest waiting commission is due for release. null when nothing is waiting.
pending.is_duetrue when release_at has passed and the release has not run yet.
releasesUp to the 10 most recent releases, newest first, each with its total and the number of commission entries it covered.

pending.total is the same money as profit_on_hold in GET /api/v1/wallet/{currency}.