Skip to Content
HomeLink Hub
Admin

List payouts

GET
/api/v1/admin/payouts

Access: Bearer token required. Roles: ADMIN.

Every outbound bank transfer the platform has recorded (agent commissions, seller proceeds, inspection fees, wallet withdrawals, platform fee sweeps and manual platform withdrawals), newest first, for reconciliation. providerResponse and bank.accountNumber are stripped from each record. beneficiaryId is populated with the user's name, email and avatar, and is null for platform payouts. status is one of pending, processing, success, failed; purpose is one of agent_commission, platform_fee, wallet_withdrawal, platform_withdrawal, seller_proceeds, inspection_fee; sourceType is escrow, inspection, booking or manual. Filter values are passed to the query without validation, so an unknown value returns an empty page rather than a 400. limit has no upper bound.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Query Parameters

page?integer

1-based page number. Non-numeric or 0 falls back to 1.

Default1
limit?integer

Page size. Non-numeric or 0 falls back to 20. Not capped.

Default20
beneficiaryType?string

Exact-match filter: agent or platform.

status?string

Exact-match filter: pending, processing, success or failed.

Response Body

One page of payouts

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/admin/payouts'
Example Response
{  "status": 200,  "success": true,  "message": "Payouts fetched successfully",  "data": {    "payouts": [      {        "_id": "6660a7d49b1d4a0012ab3530",        "beneficiaryType": "agent",        "beneficiaryId": {          "_id": "665f1c2e9b1d4a0012ab34c1",          "firstName": "Chinedu",          "lastName": "Okafor",          "email": "chinedu.okafor@example.com",          "avatar": "https://res.cloudinary.com/example/image/upload/v1717500000/homelinkhub/media/chinedu.jpg"        },        "purpose": "agent_commission",        "sourceType": "escrow",        "sourceId": "6660a7d49b1d4a0012ab3535",        "amount": 225000,        "currency": "NGN",        "status": "success",        "idempotencyKey": "escrow:6660a7d49b1d4a0012ab3535:agent_commission",        "bank": {          "accountName": "CHINEDU OKAFOR",          "bankCode": "058",          "bankName": "Guaranty Trust Bank"        },        "transactionRef": "TRF_9f2c1a7b4e",        "providerFee": 50,        "failureReason": null,        "initiatedBy": null,        "processedAt": "2026-06-05T14:02:10.107Z",        "createdAt": "2026-06-05T14:02:10.107Z",        "updatedAt": "2026-06-05T14:02:10.107Z",        "__v": 0      }    ],    "pagination": {      "page": 1,      "limit": 20,      "total": 57,      "pages": 3    }  }}