Escrow

Create a USDC escrow

Lock USDC in escrow for milestone-based agent jobs. Funds are held by the facilitator until /release is called by the payer or dispute resolution is triggered.

post/escrow

Request

  • Base URL: https://x402-agent-pay.com
  • URL: https://x402-agent-pay.com/escrow
  • Auth: none declared

Request body

payerstring required

Payer wallet address

payeestring required

Payee wallet address (agent or human)

amount_usdcnumber required

Amount in USDC to lock

descriptionstring

Job or service description

payment_headerstring

x402 payment header to fund the escrow

Response

Escrow created

escrow_idstring
status'locked' | 'released' | 'refunded'
amount_usdcnumber
created_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.