{"uid":"cap_xf8-C0FyqztLksWTOajEh","slug":"x402-a2a-escrow-agreement-creator-a3a378c8","name":"x402 A2A Escrow Agreement Creator","description":"Create an agent-to-agent conditional-payment agreement: payer, payee, amount, release condition, deadline — returns an id both parties track. Send { token, payer, payee, amountUsdc, condition, deadline? }. Coordination + resolution layer for A2A commerce (registry, not fund custody).","url":"https://x402-services-production.up.railway.app/api/escrow/create","method":"POST","headers":{},"bodySchema":{"type":"object","required":["amountUsdc","condition","payee","payer","token"],"properties":{"payee":{"type":"string","description":"0x payee address"},"payer":{"type":"string","description":"0x payer address"},"token":{"type":"string","description":"Secret (>=8 chars) authorizing later resolution"},"deadline":{"type":"string","description":"ISO deadline"},"condition":{"type":"string","description":"Plain-English release condition"},"amountUsdc":{"type":"number","description":"Amount in USDC"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cj5OwZiPwPv4Shz6557aW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a conditional-payment escrow agreement between two agents/parties, recording payer, payee, USDC amount, release condition, and optional deadline — returns a trackable agreement ID.","exampleAgentPrompt":"Create an escrow agreement where 0xPAYER1234 will pay 50 USDC to 0xPAYEE5678 once the condition 'delivery of API report confirmed by both parties' is met — set the deadline to 2025-09-01T00:00:00Z and use token 'mySecretToken42' to authorize resolution later.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a unique escrow agreement ID that both the payer and payee can use to track and later resolve the conditional payment. No funds are held by this service — it acts as a coordination and registry layer only.","failureModes":["Missing required fields (payer, payee, token, amountUsdc, condition) returns a 400 validation error","Token shorter than 8 characters is rejected","Invalid or malformed 0x wallet addresses return an error","Malformed ISO deadline string causes a 400 error","Service unavailability returns a 5xx error","Duplicate agreement creation with same parameters may return a conflict or new ID depending on implementation"],"whenToPreferThis":"Use this endpoint when two agents or parties need to coordinate a conditional USDC payment without a third-party custodian holding funds — ideal for agent-to-agent (A2A) commerce workflows where payment should only be released when a plaintext condition is met. Prefer this over direct payment endpoints when the payment is contingent on a future event or delivery confirmation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:51.417Z","isFirstParty":false}