List my transaction history
Access: Bearer token required.
Returns a page of Transaction records where the caller is parties.from or parties.to, newest first, with propertyId populated (title, location, media, pricing). type is one of rent_payment, sale_payment, deposit, refund, commission; status one of pending, completed, failed, disputed. Caveat: nothing in the current service source creates Transaction documents (escrow payments are stored as EscrowTransaction, and Paystack inspection/booking payments are not persisted here), so unless records are written by another process this list is empty. For escrow activity use the escrow endpoints. The example values for auditTrail[].action and paymentReference are illustrative; the code does not define them.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
page?integer1-based page number. Defaults to 1.
1limit?integerTransactions per page. Defaults to 20; no upper bound is enforced.
20Page of transactions.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/transaction/history'{ "status": 200, "success": true, "message": "Transaction history fetched", "data": { "transactions": [ { "_id": "6661b3e58d4f6c0012ef9a42", "escrowId": "6662c4f69e507d0012fa0b53", "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": [] } }, "type": "rent_payment", "status": "completed", "amount": 4500000, "currency": "NGN", "parties": { "from": "663d9a1c5e4b2a0012cd7f10", "to": "6629e4f08a7b3c0012aa9e42" }, "paymentMethod": "bank_transfer", "paymentGateway": "pandascrow", "paymentReference": "HLH-ESC-20261125-0042", "auditTrail": [ { "_id": "6661b3e58d4f6c0012ef9a43", "action": "payment_received", "actor": "663d9a1c5e4b2a0012cd7f10", "timestamp": "2026-11-25T09:22:41.000Z" } ], "createdAt": "2026-11-25T09:20:05.112Z", "updatedAt": "2026-11-25T09:22:41.310Z", "__v": 0 } ], "pagination": { "page": 1, "limit": 20, "total": 1, "pages": 1 } }}Initialize a property booking payment POST
Starts a Paystack checkout for a property payment and returns the hosted payment URL as paymenturl (note: the inspection variant calls the same value authorizationurl).
Receive Paystack webhook events POST
Server-to-server endpoint called by Paystack; not for client use.