Report an escrow payment as made
Access: Bearer token required.
Fallback for when Pandascrow's payment webhook never arrives: the buyer reports that they have paid and may attach proof of payment. Only an escrow in pending is accepted, and it moves straight to funded with paymentNotifiedAt set; the transition is made on the buyer's word alone, so a non-null paymentProof on the record means funded is a claim that Pandascrow has not confirmed.
Send multipart/form-data with an optional single file in the proof field (jpg, jpeg, png or pdf, up to 5 MB). The file is uploaded to Cloudinary only after the escrow checks pass and is stored as paymentProof (url, publicId, fileName, mimeType, uploadedAt). A request with no body is also accepted.
Side effects: the buyer, the seller and any commission-earning agent each get an escrow_funded notification (stored in-app and pushed over the notifications:new socket event, plus push and email according to their preferences), and the seller's socket room receives escrow:status_updated with { escrowTxId, status: "funded" }.
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.
multipart/form-data- body
proof?unknownProof of payment: one jpg, jpeg, png or pdf file, 5 MB maximum. Optional at the API (older app builds send none); current clients always attach one.
The escrow is now funded. data is the updated escrow transaction with propertyId (title, location, media, pricing, details, status, verification) and sellerId (firstName, lastName, avatar) populated.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X PATCH 'http://localhost:4000/api/v1/escrow/string/payment-made'{ "status": 200, "success": true, "message": "Payment notification recorded 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": "funded", "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-20T11:05:44.031Z", "paymentProof": { "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1795172744/homelinkhub/payment-proofs/665f1c2e9b1d4a0012ab34cd-1795172744031.jpg", "publicId": "homelinkhub/payment-proofs/665f1c2e9b1d4a0012ab34cd-1795172744031", "fileName": "gtbank-transfer-receipt.jpg", "mimeType": "image/jpeg", "uploadedAt": "2026-11-20T11:05:44.031Z" }, "releaseOtpResentAt": null, "completedAt": null, "agentId": "665d8e5f9b1d4a0012ab0d9a", "agentCommission": 2250000, "createdAt": "2026-11-20T10:31:05.412Z", "updatedAt": "2026-11-20T11:05:44.040Z", "__v": 0 }}
HomeLink Hub