x402 Barter — accept an open trade
x402 Barter — accept an open trade. Pay only the flat call fee; escrow your counter-good, no USDC charged for value.
20000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-04
updated
Provider
x402-agent-pay.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"category": "AI",
"description": "x402 Barter — accept an open trade. Pay only the flat call fee; escrow your counter-good, no USDC charged for value.",
"info": {
"description": "Accept an open barter deal and escrow your side of the trade.",
"input": {
"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"
},
"inputSchema": {
"properties": {
"agent": {
"type": "string"
},
"counterparty": {
"type": "string"
},
"deal_id": {
"type": "string"
},
"want_payload": {
"description": "your side of the trade"
}
},
"required": [
"deal_id"
],
"type": "object"
},
"name": "AgentPay Barter Escrow - Accept Deal",
"output": {
"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"
}
},
"outputSchema": {
"description": "JSON receipt for this action. Fields vary by outcome, so the shape is described rather than enumerated.",
"type": "object"
}
},
"name": "accept",
"networks": [
"Base"
],
"provider": "AgentPay",
"providerUrl": "https://x402-agent-pay.com",
"schema": {
"properties": {
"data": {
"description": "Response payload",
"type": "object"
},
"settlement_tx": {
"description": "On-chain settlement transaction hash",
"type": "string"
},
"success": {
"type": "boolean"
}
},
"type": "object"
},
"tags": [
"agentpay",
"x402"
]
}
}Use it
curl
curl "https://x402-agent-pay.com/x402/barter/accept" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-agent-pay.com/x402/barter/accept");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-agent-pay.com/x402/barter/accept")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15399.json, and this resource appears in /discovery/resources and /discovery/search.