Confirm handover and release escrow funds
Access: Bearer token required.
The buyer confirms the deal is concluded and releases the money. The escrow must be funded; the server first calls Pandascrow's POST /escrow/complete with the escrow's Pandascrow id and the supplied otp (under the platform's Pandascrow account), and only if that call succeeds sets the local record to completed with completedAt. A wrong or expired OTP therefore surfaces as a 500 carrying Pandascrow's message, and the escrow stays funded.
Property status. Unless the property type is SHORTLET (short lets stay bookable), the property is set to rented when transactionType is rent and to sold for every other transaction type.
Money. Pandascrow pays the seller's net directly to the bank account snapshotted at initialization (or into the platform wallet when there was none) and withholds the platform fee plus agent commission as the partner fee. After responding, the server disburses the rest in the background: it records the seller's release as a processing payout, sends the listing agent's commission by bank transfer if the agent has a payout account on file (otherwise it stays in the agent's wallet balance), and sweeps the platform fee when the autoSweepPlatformFees setting is on. A failed transfer is stored as a failed payout to retry and never fails this request.
Notifications. Buyer, seller and commission-earning agent each get an escrow_completed notification (in-app + notifications:new socket event, push and email per preferences), and the seller's socket room receives escrow:status_updated with { escrowTxId, status: "completed", propertyStatus }.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
id*stringLocal escrow transaction ObjectId. The caller must be its buyer.
application/json- body
otp*stringRelease OTP issued by Pandascrow for this escrow. Request a new one with POST /escrow/{id}/resend-otp.
Funds released; the escrow is completed. data is the updated escrow transaction with propertyId (title, location, media, pricing, details, status, verification) and sellerId (firstName, lastName, avatar) populated. The populated property is read before its status is changed, so it can still show the pre-completion status.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X PATCH 'http://localhost:4000/api/v1/escrow/string/request-completion' \ -H 'Content-Type: application/json' \ -d '{ "otp": "482913"}'{ "status": 200, "success": true, "message": "Escrow marked as completed successfully", "data": { "_id": "665f1c2e9b1d4a0012ab34cd", "propertyId": { "_id": "665e0a7b9b1d4a0012ab1f02", "title": "4 Bedroom Duplex, Lekki Phase 1", "status": "listed", "location": { "state": "Lagos", "lga": "Eti-Osa", "community": "Lekki Phase 1", "street": "12 Admiralty Way", "coordinates": { "type": "Point", "coordinates": [ 3.4723, 6.4474 ] } }, "details": { "bedrooms": 4, "bathrooms": 5, "squareFeet": 3200, "features": [ "Swimming pool", "BQ" ] }, "pricing": { "rentPrice": null, "salePrice": 45000000, "currency": "NGN", "rentDurationYears": 1 }, "media": { "images": [ { "_id": "665e0a7b9b1d4a0012ab1f05", "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1717400000/properties/duplex-front.jpg", "metadata": { "tag": "Exterior" } } ], "videos": [] }, "verification": { "isVerified": true, "verifiedAt": "2026-10-02T09:15:00.000Z", "verifiedBy": "665d7a109b1d4a0012ab0c02" } }, "buyerId": "665d9f3a9b1d4a0012ab0e11", "sellerId": { "_id": "665d8c219b1d4a0012ab0d47", "firstName": "Folake", "lastName": "Adeyemi", "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1717300000/avatars/folake.jpg" }, "pandascrowEscrowId": 48213, "transactionType": "purchase", "status": "completed", "amount": 45450000, "platformFee": 450000, "netAmount": 42750000, "sellerPayoutAccount": { "accountName": "Folake Adeyemi", "bankCode": "058", "bankName": "Guaranty Trust Bank" }, "partnerEscrowFeePercent": "5.940594", "currency": "NGN", "paymentUrl": "https://checkout.paystack.com/7k2m9x4q1z", "transactionRef": "PNDS-TRX-8F3A21C9D0", "provider": "paystack", "bookingId": "665f1c2f9b1d4a0012ab34d1", "inspectionId": null, "paymentNotifiedAt": "2026-11-20T10:42:17.000Z", "paymentProof": null, "releaseOtpResentAt": "2026-11-24T14:02:10.000Z", "completedAt": "2026-11-24T14:03:31.207Z", "agentId": "665d8e5f9b1d4a0012ab0d9a", "agentCommission": 2250000, "createdAt": "2026-11-20T10:31:05.412Z", "updatedAt": "2026-11-24T14:03:31.210Z", "__v": 0 }}Resend the escrow release OTP POST
Asks Pandascrow to send a fresh OTP for releasing a funded escrow, for a buyer whose first code never arrived or has expired.
List escrow payments for one of my properties GET
Seller view of a property's deals: returns every escrow transaction recorded against the property, newest first, with the buyer populated (firstName, lastName, email, avatar).
HomeLink Hub