---
title: "Refund an escrow"
method: POST
path: "/refund"
tags: ["Escrow"]
---

# Refund an escrow

`POST /refund`

## Request

- Base URL: `https://x402-agent-pay.com`
- URL: `https://x402-agent-pay.com/refund`
- Auth: none declared

Return locked USDC to the payer. Can be called by the payer before release, or by dispute resolution.

## Request body

- object
  - `escrow_id` string, required
  - `payer` string, required: Payer wallet address

## Response `200`

Refund processed

## Other responses

- `402`: Payment Required — attach X-PAYMENT header with EIP-712 signed USDC grant
- `404`: Escrow not found

---

[API](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api.md) · [All operations](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/revisions/33ece6814ac9?raw)
