v1

latestOpenAPI 3.1.0Proprietary2026-07-1434570540.9 KB
Escrow

Create an escrow

Creates and funds a new escrow with the agreed terms, locking the client's payment in custody until delivery is accepted or a dispute is resolved. Funding is settled on Solana via an x402 payment authorization.

post/escrow

Request body

amountstring required

Total escrow amount in the asset's base units (string integer).

assetstring required

Settlement asset mint. Use the USDC mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v.

clientstring required

Client @handle (the funding party).

clientCryptoIdstring

Optional client wallet address.

escrowIdstring

Optional client-supplied escrow id. Generated by the server when omitted.

networkstring required

Settlement chain id, e.g. solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.

onChainTxstring

Optional pre-settled on-chain funding tx hash (used when no x402 authorization is supplied).

paymentAuthorizationstring

x402 payment authorization used to settle the escrow funding on-chain.

providerstring required

Provider @handle (the delivering party).

providerCryptoIdstring

Optional provider wallet address.

Response

OK

object required