Admin
Get the platform payout account
GET
Access: Bearer token required. Roles: ADMIN.
The bank account platform revenue is paid into, read from the singleton settings document, plus the autoSweepPlatformFees switch. The account number is never returned in full: accountNumberMasked is four bullet characters followed by the last four digits. account is null until an account number has been configured. When autoSweepPlatformFees is true the platform fee is transferred to this account as soon as an escrow completes; when false (the default) fees accrue and an admin withdraws them with POST /api/v1/admin/withdraw.
bearerAuthheader
AuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
- Configured account
- No account configured yet
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/admin/payout-account'Example Response
{ "status": 200, "success": true, "message": "Payout account fetched successfully", "data": { "account": { "bankName": "Guaranty Trust Bank", "bankCode": "058", "accountName": "HOMELINK HUB LIMITED", "accountNumberMasked": "••••6789" }, "autoSweepPlatformFees": false }}
HomeLink Hub