{"uid":"cap_aOiiTQ9FUJfHAh5N2nxn2","slug":"x402-escrow-resolve-a4019753","name":"x402 Escrow Resolve","description":"Resolve a conditional-payment agreement: the creator marks 'release' (pay payee) or 'refund' (return to payer); returns a settlement instruction to execute over x402. Send { id, token, outcome, note? }.","url":"https://x402-services-production.up.railway.app/api/escrow/resolve","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id","outcome","token"],"properties":{"id":{"type":"string","description":"Escrow id"},"note":{"type":"string","description":"Resolution note"},"token":{"type":"string","description":"Creator secret"},"outcome":{"type":"string","description":"release or refund"}}},"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_ztOBaoVoP5tF879H0zKny","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":"Resolves a conditional payment escrow by instructing either release to payee or refund to payer, returning a settlement instruction executable over x402.","exampleAgentPrompt":"The job is done — please resolve escrow abc-123 using my creator token 'tok_xyz' and release the funds to the payee; add a note that says 'work completed and approved'.","exampleUseCases":null,"resultDescription":"A settlement instruction object to be executed over the x402 payment protocol, indicating whether the escrow funds will be released to the payee or refunded to the payer, along with status details about the resolution.","failureModes":["Invalid or expired creator token returns authentication error","Unknown escrow ID returns 404 not found","Invalid outcome value (not 'release' or 'refund') returns validation error","Escrow already resolved returns conflict error","Network or service unavailability returns 500 error"],"whenToPreferThis":"Use this endpoint when you need to finalize a conditional payment escrow by deciding its outcome — either releasing funds to the payee or refunding the payer. This is the escrow settlement step after agreement conditions have been evaluated, requiring the creator's secret token and a binary outcome decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:08.622Z","isFirstParty":false}