Escrow
What an agent or landlord can see of a deal's escrow, what each status means, and which steps happen in the buyer's app.
Where it lives
| Route | View file | Access |
|---|---|---|
/listings/:id (Escrow Status card) | src/views/app/listings/listing-detail.tsx | the listing's owner |
/earnings (Held in escrow, earning statuses) | src/views/app/earnings/earnings.tsx | agent, landlord |
The API call is in src/services/escrow/escrow-api.ts (base path /api/v1/escrow). It has one endpoint.
The dashboard is read-only for escrow
Before you start
- Signed in as the agent or landlord who created the listing. The API looks the property up by
landlordIdequal to the signed-in user and answers "Property not found or unauthorized" otherwise. - At least one buyer has started a payment for the listing. Until then the card is not shown.
Flow
Check escrow status on a listing
- Open Listings and choose a listing (
/listings/{id}). - The page sends
GET /api/v1/escrow/property/{propertyId}. - If the response has at least one transaction, an Escrow Status card appears with "Track the payment escrow progress for this property."
- Each transaction is one row with:
- The buyer's avatar, name and email.
- "Rental" or "Purchase" and the amount in the transaction's currency.
- A status pill with the raw status in capitals.
- The creation date, and "Completed (date)" once it has completed.

Check a buyer's proof of payment
When the buyer reported the payment themselves, because the payment provider's callback never confirmed it, the row carries an amber box:
- Title: "Proof of payment from the buyer".
- Text: "The buyer reported this payment themselves on (date). Check the proof before handing over."
- View proof opens the uploaded file in a new tab.
There is no approve or reject action. The lister checks the proof and decides offline whether to hand over.
Status reference
| Status | Pill colour | Meaning | How it is reached |
|---|---|---|---|
pending | amber | Escrow created, money not yet confirmed | Buyer starts payment: POST /api/v1/escrow/initialize |
funded | blue | Money is held in escrow | The provider confirms the payment, or the buyer reports it with proof: PATCH /api/v1/escrow/{id}/payment-made |
completed | green | Funds released to the seller | Buyer confirms handover with the release OTP: PATCH /api/v1/escrow/{id}/request-completion |
disputed | red | A dispute is open and funds stay held | Raised outside this app |
cancelled | grey | Escrow abandoned | Set outside this app |
The same statuses label rows on /earnings. Under Settings, Payments & Billing they read PENDING, IN ESCROW, PAID OUT, DISPUTED and CANCELLED.
Steps that belong to the buyer
These endpoints exist on the API and are listed so support staff can follow a deal end to end. None are called from the dashboard.
| Step | Endpoint | Rule on the API |
|---|---|---|
| Start a payment | POST /api/v1/escrow/initialize | Also creates a requested reservation booking for non-inspection payments |
| Report a payment made | PATCH /api/v1/escrow/{id}/payment-made | Buyer only, escrow must be pending. The proof file (multipart field proof) is optional on the API |
| Re-send the release OTP | POST /api/v1/escrow/{id}/resend-otp | Buyer only, escrow must be funded, with a wait between requests |
| Confirm handover | PATCH /api/v1/escrow/{id}/request-completion with { "otp": "..." } | Buyer only, escrow must be funded ("Only funded escrow transactions can be marked as completed") |
| Pay the next milestone | POST /api/v1/escrow/milestone/next-payment | No screen in the dashboard |
The release OTP goes to the buyer
States and edge cases
| Situation | What the user sees |
|---|---|
| No transactions, request still loading, or request failed | The Escrow Status card is simply absent. There is no spinner, empty state or error message |
Signed-in user is not the listing's landlordId | The API answers 404 and the card stays hidden |
| A transaction has no proof of payment | The row shows without the amber box |
| Status changes while the page is open | The card does not update. Reload the page |
No live update on this screen
escrow:status_updated socket event to the seller when an escrow is funded or completed, but nothing in the dashboard listens for it. The change does arrive as a notification in the bell.What happens next
- Funded: the seller, and the agent earning commission, get the notification "Payment Received in Escrow" ("... has been paid into escrow. It is released once the buyer confirms the handover."). The amount counts towards Held in escrow on
/earnings. - Completed: they get "Escrow Funds Released". The API marks the property
rentedfor a rent transaction orsoldfor a purchase. Short-let listings are left as they are so other guests can book. It then starts the payouts for the agent's commission and the platform fee. - Disputed: both sides get "Escrow Disputed" and funds stay held until it is resolved.
- Getting paid: a completed escrow becomes an earning that can be withdrawn or dispatched to the bank, see Earnings and withdrawals.
HomeLink Hub