Get platform settings
Access: Public, no token needed.
Public read of the single global settings record that clients use to price and gate flows: paymentMode (ESCROW or DIRECT), platformPropertyFeePercent (HomeLink's cut, added on top of the base amount for rent/sale payments), agentCommissionPercent (the agent's share of a completed purchase), defaultInspectionFee (flat NGN fee used when an agent has not set their own), autoSweepPlatformFees, imageGeotagging (whether listing photos are checked against the listing's pin, how strictly, and the allowed distance in metres) and defaultLegalPartnerId (the lawyer new listings are auto-assigned to, or null). The platform's payout bank account is stripped from this response. If no settings record exists yet, this call creates one with the defaults shown below.
The current settings (defaults shown).
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/settings'{ "status": 200, "success": true, "message": "Settings fetched successfully", "data": { "_id": "6601a2b3c4d5e6f708192a3b", "paymentMode": "ESCROW", "platformPropertyFeePercent": 1, "agentCommissionPercent": 5, "defaultInspectionFee": 5000, "autoSweepPlatformFees": false, "imageGeotagging": { "enabled": false, "strict": false, "maxDistanceMeters": 500 }, "defaultLegalPartnerId": null, "createdAt": "2026-01-10T08:00:00.000Z", "updatedAt": "2026-11-20T10:00:00.000Z", "__v": 0 }}Disconnect Google Calendar DELETE
Disconnects the authenticated user's Google Calendar: the stored refresh token is revoked at Google on a best-effort basis (a failed revoke is only logged) and then removed from...
Update platform settings PATCH
Admin-only partial update of the global settings record (created on first write if missing).
HomeLink Hub