{"uid":"cap_4FWXo1zGrFC6B-Vw4Es3r","slug":"blockchain-money-map-final-total-delta-guard-b98af5a4","name":"Blockchain Money Map - Final Total Delta Guard","description":"Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.","url":"https://api.blockchainmoneymap.com/api/x402/x402-final-total-delta-guard","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["check"]},"facts":{"type":"object","required":["quote_total_amount","final_total_amount","currency","reconfirmation_present"],"properties":{"currency":{"type":"string","maxLength":500},"tax_amount":{"type":"number"},"promotion_label":{"type":"string","maxLength":500},"shipping_amount":{"type":"number"},"fulfillment_label":{"type":"string","maxLength":500},"final_total_amount":{"type":"number"},"order_total_amount":{"type":"number"},"quote_total_amount":{"type":"number"},"selected_total_amount":{"type":"number"},"reconfirmation_present":{"type":"boolean"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"reference_facts":{"type":"object","required":["quote_total_amount","final_total_amount","currency","reconfirmation_present"],"properties":{"currency":{"type":"string","maxLength":500},"tax_amount":{"type":"number"},"promotion_label":{"type":"string","maxLength":500},"shipping_amount":{"type":"number"},"fulfillment_label":{"type":"string","maxLength":500},"final_total_amount":{"type":"number"},"order_total_amount":{"type":"number"},"quote_total_amount":{"type":"number"},"selected_total_amount":{"type":"number"},"reconfirmation_present":{"type":"boolean"}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4kNI1LxwlWoBgN2yrcfoF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that a checkout or order's final total amount matches the quoted total, detecting unexpected price changes before payment is authorized.","exampleAgentPrompt":"Before you approve this payment, check whether the final checkout total of $47.99 USD matches the quoted amount of $45.00 — tax is $2.99, shipping is $0, and there's no reconfirmation dialog shown. Flag it if the delta is outside policy.","exampleUseCases":[{"title":"Agentic checkout price drift detection","prompt":"I'm about to have my agent complete a purchase — the original quote was $120.00 but the final total showing is $134.50 USD, with $14.50 in tax and no reconfirmation prompt. Can you run the delta guard check to see if this price jump should block the payment?"},{"title":"Autonomous order approval validation","prompt":"My shopping agent is finishing an order. The quoted total was $89.99, the final total is $89.99 USD, shipping is $5.00, and there is a reconfirmation step present. Validate that the totals are consistent before we authorize the charge."},{"title":"Promotion discount integrity check","prompt":"We applied a promo code labeled SAVE10 and the selected total was $100.00 but the final total came out to $95.00 USD — check whether the delta between the quoted $105.00 and this final amount is valid and expected given the promotion."}],"resultDescription":"A JSON response indicating whether the final total amount is consistent with the quoted total, including whether any detected delta falls within acceptable policy bounds, whether a reconfirmation is present as required, and a guard decision on whether the payment should proceed.","failureModes":["Missing required fields (quote_total_amount, final_total_amount, currency, reconfirmation_present) return a 400-level error","Currency mismatch between facts and reference_facts may produce an invalid comparison","Payment failure via x402 protocol returns 402 if USDC payment is not properly authorized","Large numeric deltas with no reconfirmation_present=true may trigger a guard block","Malformed numeric types for amount fields cause schema validation failures"],"whenToPreferThis":"Use this endpoint when an AI agent is operating in an autonomous purchasing or checkout flow and needs a deterministic, policy-enforced check that the amount it is about to pay matches the amount originally quoted to the user. It is especially valuable when the agent cannot rely on the merchant to surface price changes, or when compliance requires a logged validation step before any payment is executed. Prefer this over a simple equality check when you need structured policy enforcement, reconfirmation validation, and a clear guard signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:52:03.765Z","isFirstParty":false}