Skip to Content
HomeLink Hub
Escrow

Get an escrow from Pandascrow (raw passthrough)

GET
/api/v1/escrow/{escrowId}

Access: Bearer token required.

Proxies Pandascrow's GET /escrow/{id}. escrowId is parsed with parseInt and sent as the Pandascrow escrow id, with the caller's HomeLink Hub user id as uuid; Pandascrow's status, message and data are returned untouched. Nothing is read from the local database and no local ownership check is made, so access control is whatever Pandascrow applies to that uuid.

This is not the endpoint for the local escrow record: pass a Mongo ObjectId here and it is truncated to its leading digits (or becomes NaN). Use GET /escrow/my/{id} instead. The shape of data is not defined in this codebase.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Path Parameters

escrowId*string

Numeric Pandascrow escrow id (pandascrowEscrowId / escrow_id), not the local escrow transaction ObjectId.

Response Body

Pandascrow answered 2xx. success, message and data are passed through.

application/json
  1. response
status*integer
success*boolean
message*string
data*unknown
Example Request
curl -X GET 'http://localhost:4000/api/v1/escrow/string'
Example Response
{  "status": 200,  "success": true,  "message": "(message returned by Pandascrow)",  "data": null}