{"uid":"cap_WNwlvYCnPJAslhGs9ECLD","slug":"x402-post-settlement-audit-bundle-export-9f469dea","name":"X402 Post-Settlement Audit Bundle Export","description":"Deterministic procedure for assembling every artifact of a settled x402 workflow (quote, payment intent, onchain settlement receipt, execution proof, reconciliation outcome) across rails into one canonical, completeness-gated audit bundle for human reviewers and compliance archives. Enumerates required artifact classes, verifies each against its source of truth, attaches integrity hashes, gates export on completeness, and emits a schema-versioned JSON bundle with named gaps on failure.","url":"https://k2so-8080.on.ascii.dev/api/services/agent-x402-post-settlement-audit-bundle-export-s?utm_source=zero.xyz","method":"GET","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":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"agent-x402-post-settlement-audit-bundle-export-standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xzJYLNhr6447CfI8pm53A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assembles all artifacts from a settled x402 workflow into a single completeness-gated, integrity-hashed audit bundle for compliance archives and human reviewers.","exampleAgentPrompt":"Can you export the full post-settlement audit bundle for our completed x402 workflow — I need all the artifacts like the quote, payment intent, onchain receipt, execution proof, and reconciliation outcome bundled together with integrity hashes so our compliance team can archive it?","exampleUseCases":[{"title":"Compliance archive after agent payment","prompt":"Our x402 agent payment just settled — pull together the full audit bundle with the quote, payment intent, onchain receipt, execution proof, and reconciliation outcome, all integrity-hashed, so I can hand it off to our compliance team for archiving."},{"title":"Post-settlement integrity verification","prompt":"I need to verify that our recently settled x402 workflow is complete — can you run the completeness gate and export a schema-versioned JSON bundle that flags any missing artifacts as named gaps?"},{"title":"Human reviewer package for settled transaction","prompt":"A human auditor needs to review our settled x402 cross-rail transaction — please assemble every artifact from the workflow into a single canonical audit bundle with integrity hashes so they have everything in one place."}],"resultDescription":"A schema-versioned JSON audit bundle containing all required artifact classes (quote, payment intent, onchain settlement receipt, execution proof, reconciliation outcome), each verified against its source of truth and attached with integrity hashes. If the completeness gate passes, the bundle is exported as a complete record; if artifacts are missing, the bundle is still emitted with named gaps indicating what is absent. The response also includes metadata fields such as ok, paid, service, provider, and a generatedAt timestamp.","failureModes":["Missing required artifacts cause named gaps in the bundle rather than full export failure","Onchain settlement receipt not yet available if queried too soon after payment","Source-of-truth verification failure for one or more artifact classes","Schema version mismatch if bundle format has evolved","Payment not processed, returning unpaid response without audit bundle","Rate limiting or service unavailability returning non-200 response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, completeness-gated, single-bundle export of all x402 workflow artifacts for compliance, audit, or archival purposes. It is purpose-built for the x402 payment protocol and handles cross-rail settlement artifacts with integrity hashing — prefer it over generic document assembly or ad-hoc artifact collection when you need a schema-versioned, auditable record that satisfies compliance reviewers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:28.076Z","isFirstParty":false,"canonicalSlug":"x402-post-settlement-audit-bundle-export-9f469dea"}