Skip to Content
HomeLink Hub
Escrow

Resend the escrow release OTP

POST
/api/v1/escrow/{id}/resend-otp

Access: Bearer token required.

Asks Pandascrow to send a fresh OTP for releasing a funded escrow, for a buyer whose first code never arrived or has expired. The escrow must be in funded. Requests are limited to one per 60 seconds per escrow; a request inside the cooldown returns 429 with the seconds left in both the message and errorData.retryAfter.

The call goes to Pandascrow's POST /escrow/resend-otp under the platform's Pandascrow account, and on success releaseOtpResentAt is stamped on the escrow record. Pandascrow delivers the code itself; this codebase does not choose the channel or recipient. No request body is read. The OTP is then submitted to PATCH /escrow/{id}/request-completion.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

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

Path Parameters

id*string

Local escrow transaction ObjectId. The caller must be its buyer.

Response Body

Pandascrow accepted the resend. retryAfter is the cooldown in seconds before the next resend is allowed (always 60).

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X POST 'http://localhost:4000/api/v1/escrow/string/resend-otp'
Example Response
{  "status": 200,  "success": true,  "message": "A new OTP has been sent",  "data": {    "retryAfter": 60  }}