Get wallet balance
Access: Bearer token required.
Returns the caller's wallet figures and the payout account saved on their profile. The wallet is a ledger computed on each request, not a stored balance: totalEarned is the sum of earned (net proceeds of completed escrows sold, split into escrow and shortlet; commission on completed purchases brokered; inspection fees on paid inspections), pending is seller proceeds on escrows still pending or funded, withdrawn is the total of payouts with status success, processing the total of payouts in pending or processing, and available = max(totalEarned - withdrawn - processing, 0).
payoutAccount is null when no account number is saved; otherwise only the last four digits of the number are returned. As a side effect, an account saved with a bank name but no bank code has its code looked up from the provider's bank list and written back to the profile.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
Wallet summary plus the saved payout account (or payoutAccount: null).
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/earnings/wallet'{ "status": 200, "success": true, "message": "Wallet fetched successfully", "data": { "currency": "NGN", "earned": { "escrow": 42750000, "commission": 0, "inspection": 15000, "shortlet": 360000 }, "totalEarned": 43125000, "pending": 1485000, "withdrawn": 42750000, "processing": 0, "available": 375000, "payoutAccount": { "bankName": "Guaranty Trust Bank", "bankCode": "058", "accountName": "Folake Adeyemi", "accountNumberMasked": "••••6789" } }}Get earnings summary and feed GET
Everything the earnings screen needs in one call: lifetime totals, the wallet balance and a merged, paginated feed of the caller's earnings, newest first.
List banks supported for payouts GET
Returns the payout provider's (Pandascrow GET /bank/lists) list of banks, for the bank picker on the withdrawal and payout-account forms.
HomeLink Hub