{"uid":"cap_scx00X5dnwTjbwy2_XkkQ","slug":"agent-commerce-gate-settlement-receipt-binding-e7d99eeb","name":"Agent Commerce Gate — Settlement Receipt Binding","description":"Agent Commerce Gate — bind a settlement receipt to a prior decision — per call","url":"https://contextiq.trango-compute.com/api/v1/policy-check/receipt/x402-v2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"checkId":{"type":"string"},"receipt":{"type":"object","properties":{"status":{"type":"string","description":"confirmed, reverted, not_found, or error"},"matchesExpectedPayment":{"type":"boolean","description":"Whether the on-chain transfer matches the payTo and amount from the original decision"}}}}},"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_1nUb61i-pdkejm5-4JCFM","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":"Binds a blockchain settlement receipt to a prior payment-authorization decision, confirming whether the on-chain transfer matches the expected payment terms","exampleAgentPrompt":"I just completed the on-chain payment for checkId 'chk_abc123' and the transfer confirmed — can you bind the settlement receipt to that prior authorization decision and tell me if the payment matched the expected payTo address and amount?","exampleUseCases":[{"title":"Finalizing an agent-to-agent payment","prompt":"The payment for check ID 'chk_9f2e11' went through on-chain with status 'confirmed' and it does match the expected payTo and amount — please bind this receipt to that prior decision so the commerce gate knows it's settled."},{"title":"Flagging a reverted transaction","prompt":"The blockchain transaction for my prior authorization check 'chk_77bb04' reverted — status is 'reverted' and it does not match the expected payment. Can you bind this receipt to that decision so we know the payment failed?"},{"title":"Reconciling a payment in a multi-agent workflow","prompt":"My agent pipeline approved a payment under checkId 'chk_003xz2', and the settlement came back as 'confirmed' with a payment match. Attach the receipt to that decision and confirm everything lines up before we release the service."}],"resultDescription":"Returns a binding confirmation that associates the provided settlement receipt with the prior decision identified by checkId, indicating whether the on-chain transfer status and payment match are reconciled against the original authorization terms.","failureModes":["Unknown checkId — prior decision not found, returns not_found or error status","Receipt status is 'not_found' — transaction not yet indexed on-chain","matchesExpectedPayment is false — payment amount or payTo address mismatch, binding may be rejected","Duplicate binding attempt — receipt already bound to this checkId","Malformed receipt object — missing required fields causing validation error","Network or blockchain indexer latency causing stale or unresolvable transaction status"],"whenToPreferThis":"Use this endpoint as the final step of an x402 agent commerce flow after a pre-payment counterparty risk check has been completed and a payment has been submitted on-chain. It is the correct endpoint when you need to close the loop between a prior authorization decision and an actual blockchain settlement, rather than re-running the risk check or simply looking up a prior decision without a receipt.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:19.092Z","isFirstParty":false}