Pay the next milestone (raw passthrough)
Access: Bearer token required.
Thin proxy to Pandascrow's POST /escrow/next-payment for milestone escrows: forwards userId as uuid, escrowId as escrow_id and the caller's IP address as ip_address, then returns Pandascrow's status, message and data.
No local state is changed by this call; the local escrow record is set to funded only if Pandascrow later delivers its milestone-paid webhook. The handler does not check that the caller is a party to the escrow, and userId is taken from the body rather than the access token. The first-party apps only create onetime escrows and do not call this endpoint.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
application/json- body
userId*stringSent to Pandascrow as uuid.
escrowId*stringPandascrow escrow id of the milestone escrow (Pandascrow takes it as a string here).
Pandascrow answered 2xx. success, message and data are passed through; the shape of data is not defined in this codebase.
application/json- response
status*integersuccess*booleanmessage*stringdata*unknowncurl -X POST 'http://localhost:4000/api/v1/escrow/milestone/next-payment' \ -H 'Content-Type: application/json' \ -d '{ "userId": "8d2f6c1e-4b7a-4e0c-9a35-1f6b2c7d9e10", "escrowId": "48213"}'{ "status": 200, "success": true, "message": "(message returned by Pandascrow)", "data": null}Complete an escrow on Pandascrow (raw passthrough) POST
Thin proxy to Pandascrow's POST /escrow/complete: forwards userId as Pandascrow's uuid, escrowId as escrowid and the otp, then returns Pandascrow's status, message and data.
List my escrow payments (buyer) GET
Returns the escrow transactions stored in HomeLink Hub where the authenticated user is the buyer, newest first, with the property and seller populated.