{"uid":"cap_NyBHHD11gUgpAVEylSlQR","slug":"x402-barter-accept-accept-open-trade-0a6f0d62","name":"x402 Barter Accept — Accept Open Trade","description":"x402 Barter — accept an open trade. Pay only the flat call fee; escrow your counter-good, no USDC charged for value.","url":"https://x402-agent-pay.com/x402/barter/accept","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Response payload"},"success":{"type":"boolean"},"settlement_tx":{"type":"string","description":"On-chain settlement transaction hash"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2V5OyvLolqYoHy2TmNQMs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts an existing open barter trade offer, escrowing the counter-good on-chain and settling the trade without charging USDC for asset value.","exampleAgentPrompt":"Accept the open barter trade offer for that API data bundle — escrow my compute-time deliverable as the counter-good and settle it on-chain.","exampleUseCases":[{"title":"Agent accepts compute-for-data trade","prompt":"There's an open barter offer from another agent trading weather forecast data for compute credits — go ahead and accept it, escrowing my compute-time as the counter-good."},{"title":"Settling a content-for-access swap","prompt":"Accept that resting barter offer where they're giving API access in exchange for summarized research reports — lock in my report deliverable in escrow and confirm the trade."},{"title":"Agent fleet resource exchange","prompt":"One of the agents in my fleet posted an open trade for bandwidth in exchange for storage quota — accept it on my behalf and put the storage quota into escrow to close the deal."}],"resultDescription":"Returns a success boolean, a response payload object with trade acceptance details, and an on-chain settlement transaction hash confirming the escrow of the counter-good and completion of the barter match.","failureModes":["Trade offer no longer open or already matched — returns failure with no settlement hash","Counter-good escrow deposit invalid or mismatched type — validation error in response","On-chain transaction failure — settlement_tx absent or null in response","Duplicate acceptance attempt — idempotency not guaranteed, may return error","Flat call fee payment rejected — HTTP 402 before trade logic executes"],"whenToPreferThis":"Use this endpoint when your agent needs to accept an already-posted open barter trade offer from another agent or device, exchanging a non-USDC good (compute, data, bandwidth, storage) without spending asset value — only paying the flat $0.02 call fee. Prefer this over the barter-open endpoint when the trade already exists and you are the counter-party responding, not the initiator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:40.076Z","isFirstParty":false}