Skip to main content
PUT
/
v1
/
escrow
/
edit
/
{paymentToken}
Edit escrow
curl --request PUT \
  --url https://staging.api.payluk.ng/v1/escrow/edit/{paymentToken} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form amount=160000 \
  --form 'purpose=MacBook Pro 14" (updated)' \
  --form whoPays=both \
  --form maxDelivery=5 \
  --form deliveryTimeline=days \
  --form imageUrl='@example-file'
{
  "status": 200,
  "message": "Escrow updated successfully",
  "data": {
    "id": "665f1b2c9a1e4d0012ab3c10",
    "amount": 160000,
    "purpose": "MacBook Pro 14\" (updated)",
    "fee": 4000,
    "paymentToken": "PY_8AB12C9D3045",
    "state": "AWAITING_PAYMENT",
    "status": "PENDING",
    "settlementType": "STANDARD",
    "updatedAt": "2026-06-22T10:20:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Path Parameters

paymentToken
string
required

The escrow's payment token (e.g. PY_8AB12C9D3045).

Body

multipart/form-data
amount
integer
Example:

160000

purpose
string
Example:

"MacBook Pro 14\" (updated)"

whoPays
enum<string>
Available options:
buyer,
seller,
both
Example:

"both"

maxDelivery
integer
Example:

5

deliveryTimeline
enum<string>
Available options:
minutes,
hours,
days
Example:

"days"

imageUrl
file

Additional image(s) to append.

Response

Escrow updated.

status
integer
Example:

200

message
string
Example:

"Operation successful"

data
object