Api Endpoint

x402-agent-pay.com

x402 Barter — deposit your half of an accepted trade into escrow. Send deal_id, side ('give' or 'want') and the payload itself; the payload is hashed so either party can prove later what was delivered. Returns the deal status, whether both sides have now delivered, and the release state of the escrow. Nothing but the flat call fee is charged — the goods, not USDC, are what trade here.

Open interactive test console

Offering

Provider
x402-agent-pay.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-pay.com/x402/barter/deliver
MIME type
Not provided
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG"
  }
]

Observed health

Status
Healthy
Latest latency
118 ms
Average latency
537 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "bodyType": "json",
  "method": "POST",
  "schema": {
    "properties": {
      "partner_id": {
        "description": "Optional partner ID for revenue sharing",
        "type": "string"
      },
      "payment_header": {
        "description": "Base64-encoded EIP-712 x402 payment authorization",
        "type": "string"
      },
      "resource": {
        "description": "Resource URL being accessed",
        "type": "string"
      }
    },
    "required": [
      "payment_header"
    ],
    "type": "object"
  },
  "type": "http"
}

Output schema

{
  "example": {
    "data": {},
    "settlement_tx": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "success": true
  },
  "schema": {
    "properties": {
      "data": {
        "description": "Response payload",
        "type": "object"
      },
      "settlement_tx": {
        "description": "On-chain settlement transaction hash",
        "type": "string"
      },
      "success": {
        "type": "boolean"
      }
    },
    "type": "object"
  }
}