Introduction
Universal Escrow adds "Pay with crypto" to your checkout, with buyer protection built in. The buyer locks USDC in an on-chain escrow, and it pays your seller directly when the buyer releases it. You never hold the funds, and neither do we.
Pre-release: not for real money. The escrow contract has not been independently audited. Build and test with test keys; do not put real value through it yet. The roadmap says what is and isn't ready.
The platform has three building blocks: escrow payments to take the money, release, refunds and disputes to settle it, and developer tools to run it all from your systems.
Escrow payments
Take a payment that is held by a smart contract until the deal is done.
- Create one escrow per order from your server, or a payment link from the dashboard without code.
- Send the buyer to the hosted checkout, or open it in a popup from your own page with the pay button.
- Split a job into 2–20 stages that are funded and released one at a time.
Release, refunds and disputes
Decide where the money goes once it is held — and make sure it gets there.
- The buyer releases to the seller; the seller can refund at any time; the buyer can refund after the refund lock.
- Disputes are decided by your organization in the dashboard and executed on chain by the platform's arbiter.
- Pay sellers only to wallets they proved they control, so a typo cannot misdirect a payout.
Developer tools
Everything you need to run the integration in production.
- Signed webhooks for every status change, with retries and replay.
- Test and live API keys with scopes, a request log, and an integration checklist in the dashboard.
- A typed TypeScript SDK and an OpenAPI document for every other language.
What you can build
| You want to… | What you use | Guide |
|---|---|---|
| Pay for an order on your marketplace | One escrow per order, hosted checkout, escrow.funded webhook | Accept a payment |
| Keep the buyer on your checkout page | Pay with crypto button in a popup | Pay with crypto button |
| Pay a freelancer stage by stage | A milestone group of 2–20 escrows | Milestones |
| Pay many sellers safely | Verified seller wallets, paid by id | Verified seller wallets |
| Take a payment without a developer | A payment link from the dashboard (test payments today) | Payment links |
| Use your own wallet integration | Funding, release and refund intents signed by your app | Driving the transactions yourself |
New here? The quickstart takes you from an API key to a funded escrow in four steps. Looking for your industry? See the use cases for marketplaces, freelance platforms, digital assets and agencies.
How the money moves
Your server creates an escrow for an order with your API key. The buyer opens its checkout, connects a wallet and funds it. When the payment is confirmed on chain you receive a signed escrow.funded webhook and mark the order paid. When the work is accepted, the buyer releases the escrow and the contract pays the seller.
Buyer Your server Escrow platform Chain
| "Pay with crypto" | | |
|-------------------->| POST /v1/escrows (API key) | |
| |----------------------------------->| |
| |<------ esc_…, checkoutUrl ---------| |
|<-- checkout link or popup button --------------------------->| |
| connect wallet, approve + fund USDC ------------------------------------------------>|
| |<------ webhook escrow.funded ------|<-- confirmed on chain --|
| | verify signature, mark order paid | |
| work delivered: buyer signs release on the hosted release page -------------------->|
| |<------ webhook escrow.released ----| seller paid directly |Three rules shape every integration. Release is the buyer's: their wallet signs it, and neither you nor we can release on their behalf. The fee is 1%, taken from the seller's side on release, so the seller receives 99%; refunds are free. Only the webhook proves payment: a redirect, a browser event or a transaction hash is a claim, not evidence.
Digital goods: use an instant payment. Create the order or payment link with settlementMode: "INSTANT" and there is no release step. The seller and the 1% fee are paid in the buyer's payment transaction, the order goes straight to PAID, and you deliver on the escrow.paid webhook. The buyer has no dispute and no platform refund; you refund from your own wallet. See instant payments.
Base URL and authentication
$ESCROW_API_BASE/escrows # the API host + /v1, issued with your key
Authorization: Bearer esc_test_<prefix>_<secret>Your server calls the API with a secret API key; the base URL for your environment is issued with it. Keys never go in a browser. See authentication and the API reference.
Coming from a card provider
If you have integrated Stripe or a similar provider, the shapes are the same:
| Card provider | Escrow platform |
|---|---|
| PaymentIntent | Escrow (esc_…) |
| client_secret in the browser | Nothing secret: the buyer gets the escrow's checkoutUrl or the pay button |
| Payment Element | The hosted checkout page |
| metadata.orderId | externalReference (unique per organization) and metadata |
| idempotency_key | Idempotency-Key request header |
| Stripe-Signature | Escrow-Signature header, HMAC-SHA256 |
| payment_intent.succeeded | escrow.funded |
| charge.refunded | escrow.refunded |
| charge.dispute.closed | escrow.disputed, then escrow.resolved |
| Test-mode keys | esc_test_… API keys |
| Amount in cents | USDC atomic units as a string: "1000000" is 1 USDC |
| Payout to your bank | Paid on release, straight to the seller's wallet |
Test and live
Every API key belongs to one environment: esc_test_… or esc_live_…. Escrows, webhook endpoints and verified seller wallets created with a test key are invisible to a live key and the other way round, and the environment field on every escrow says which one it is. Check it in your webhook handler before marking an order paid.
What is not available yet
These are the gaps between this platform and a card checkout today, and what to do instead.
| Not available | What to do today |
|---|---|
| Your own commission inside the escrow | Only the 1% platform fee is taken. Gross up the amount or invoice your fee separately. |
| Partial release, split dispute outcomes | A payment is released or refunded whole. Pay in stages with milestones. |
| Release by you or automatically | Only the buyer's wallet can release. Send your own reminders with the release link. |
| Paying by card, or without crypto | The buyer needs USDC and a little ETH for gas in their own wallet. |
| Gas paid for the buyer | The buyer pays network fees. |
| Smart-contract wallets (Safe, Coinbase smart wallet) | Ordinary wallet accounts only, for buyers and for seller verification. |
| Returning the buyer to your site automatically | The buyer clicks a link back to your successUrl or cancelUrl. |
| Live payment links from the dashboard | Dashboard links are test payments; create live escrows with a live key. |
| SDK on the public npm registry | The SDK is distributed as a package file. |
| Other tokens and chains | USDC only, on one chain. |
Dashboard and help
The dashboard is where you manage API keys, webhook endpoints, payment links, disputes, your team and the request log (dashboard tools). Asking for help? Quote the request id — error.requestId from an error response, or the id in the request log — and we can find the exact request.