{"uid":"cap_aCfh8QQMo6vrxUlo0jxc3","slug":"x402-trust-layer-metered-escrow-close-7dce7304","name":"x402 Trust Layer - Metered Escrow Close","description":"68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.","url":"https://x402trustlayer.xyz/api/escrow/metered/close?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","allowed","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Paid response after x402 settlement"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_Z_h8Pc-9WNsmFSz9QhGSa","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":"Closes a metered escrow session for API access after x402 payment settlement, returning an authorization result and summary.","exampleAgentPrompt":"Close the metered escrow session using an HTTP GET method type so I can get confirmation that the x402 payment has settled and access is authorized.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, an 'allowed' boolean indicating whether access is granted post-settlement, and a 'summary' string describing the outcome of the escrow closure after x402 payment.","failureModes":["Invalid or missing 'type' field (must be 'http') returns validation error","Unsupported HTTP method (only GET, HEAD, DELETE allowed) returns 422 or 400","Payment not yet settled causes escrow close to return allowed:false","Escrow session not found or already closed returns error","Network or blockchain settlement delay may cause timeout"],"whenToPreferThis":"Use this endpoint when you need to finalize and close an active metered escrow session that was opened for pay-per-use API access via the x402 protocol, specifically when you want to retrieve the final authorization result and settlement summary after USDC micropayment has occurred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:49:55.606Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-metered-escrow-close-7dce7304"}