Get my latest payment request for a property
Access: Bearer token required.
Returns the caller's most recent reservation or shortlet booking on the given property, in any status, or data: null when they have never made one (still HTTP 200). Clients use status to decide between showing Request Payment (null or cancelled), waiting (requested) and Make Payment (confirmed). propertyId is populated with title, location, media and pricing; landlordId with firstName, lastName and avatar. propertyId is not validated: a malformed id produces the 500 below rather than a 400.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
propertyId*stringObjectId of the property.
- The caller's latest payment request for the property.
- The caller has no reservation or short-let booking on this property.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/booking/property/string/payment-request'{ "status": 200, "success": true, "message": "Payment request fetched", "data": { "_id": "665f1c2e9b1d4a0012ab34cd", "propertyId": { "_id": "664a0b7e3f2c1d0012ef5a01", "title": "3 Bedroom Apartment in Lekki Phase 1", "location": { "state": "Lagos", "lga": "Eti-Osa", "community": "Lekki Phase 1", "street": "14 Admiralty Way", "nearestLandmark": "Lekki Phase 1 Gate", "coordinates": { "type": "Point", "coordinates": [ 3.4723, 6.4474 ] } }, "pricing": { "rentPrice": 4500000, "salePrice": null, "currency": "NGN", "rentDurationYears": 1 }, "media": { "images": [ { "_id": "664a0b7e3f2c1d0012ef5a02", "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/properties/lekki-3bed-living.jpg", "metadata": { "tag": "Living room" } } ], "videos": [] } }, "tenantId": "663d9a1c5e4b2a0012cd7f10", "landlordId": { "_id": "6629e4f08a7b3c0012aa9e42", "firstName": "Folake", "lastName": "Adeyemi", "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/avatars/folake.jpg" }, "status": "confirmed", "type": "reservation", "dates": { "requestedDate": "2026-12-01T09:00:00.000Z", "confirmedDate": "2026-12-01T09:00:00.000Z" }, "escrowId": null, "createdAt": "2026-11-25T09:14:22.318Z", "updatedAt": "2026-11-25T11:02:40.007Z", "__v": 0 }}List payment requests for my properties GET
Returns the landlord's incoming payment requests: bookings of type reservation or shortlet whose landlordId is the caller, newest first.
Get a booking by ID GET
Returns one booking with propertyId populated as the full property document, tenantId and landlordId populated with firstName, lastName, avatar and email, and escrowId populated...