{"uid":"cap_OZMDNjEtvvQ6ZuGtwB71n","slug":"blockchain-money-map-partial-work-charge-boundary-tester-abc066d9","name":"Blockchain Money Map Partial Work Charge Boundary Tester","description":"Classifies timeout, cancellation, partial result, retry, and charge-policy facts for paid work boundaries.","url":"https://api.blockchainmoneymap.com/api/x402/x402-partial-work-charge-boundary-tester?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["classify"]},"facts":{"type":"object","required":["work_status","charge_policy","retry_policy","result_summary"],"properties":{"work_status":{"type":"string","maxLength":500},"retry_policy":{"type":"string","maxLength":500},"charge_policy":{"type":"string","maxLength":500},"result_summary":{"type":"string","maxLength":500},"receipt_present":{"type":"boolean"},"timeout_present":{"type":"boolean"},"completion_percent":{"type":"number"},"cancellation_present":{"type":"boolean"},"support_path_present":{"type":"boolean"},"partial_result_present":{"type":"boolean"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"reference_facts":{"type":"object","required":["work_status","charge_policy","retry_policy","result_summary"],"properties":{"work_status":{"type":"string","maxLength":500},"retry_policy":{"type":"string","maxLength":500},"charge_policy":{"type":"string","maxLength":500},"result_summary":{"type":"string","maxLength":500},"receipt_present":{"type":"boolean"},"timeout_present":{"type":"boolean"},"completion_percent":{"type":"number"},"cancellation_present":{"type":"boolean"},"support_path_present":{"type":"boolean"},"partial_result_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_OPf80YCKhZE7OkrMD2o3O","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":"Classifies whether a partial-work charge scenario is justified given facts about work status, charge policy, retry policy, and result completeness.","exampleAgentPrompt":"I need to classify a partial work charge scenario: the work status is 'timed out at 60% completion', the charge policy is 'charge on any non-zero result', the retry policy is 'no retry after timeout', and the result summary is 'partial data returned'. Can you run this through the charge boundary tester to see if the charge is justified?","exampleUseCases":[{"title":"Timeout with partial result charge dispute","prompt":"Classify this charge scenario for me: work status is 'job timed out', charge policy is 'charge only on full completion', retry policy is 'allow one retry', result summary is 'no output returned', completion percent is 0, timeout present is true, and partial result present is false. Is the charge at the boundary justified?"},{"title":"Validating cancellation charge fairness","prompt":"I need to test whether a cancellation-triggered charge is valid — work status is 'cancelled by user at 40%', charge policy is 'pro-rata charge on cancellation', retry policy is 'no retry', result summary is 'partial dataset delivered', cancellation present is true, partial result present is true, completion percent is 40. Classify the charge boundary."},{"title":"Comparing agent charge scenarios against reference policy","prompt":"Compare these two charge scenarios against each other using classify mode: the facts are work status 'completed with errors', charge policy 'charge on partial success', retry policy 'no retry', result summary 'errors in 20% of output'; and reference facts are work status 'fully completed', charge policy 'charge on full success', retry policy 'allow retry', result summary 'all results delivered'. Which scenario falls within the charge boundary?"}],"resultDescription":"A JSON classification result indicating whether the described work-charge scenario falls within an acceptable charge boundary, based on the provided facts, policy, and optional reference facts about work completion status, retry and charge policies, and result availability.","failureModes":["Missing required fields (work_status, charge_policy, retry_policy, result_summary) returns a validation error","Invalid mode value other than 'classify' is rejected","Malformed facts object with extra properties rejected due to additionalProperties:false","Payment failure via x402 protocol results in 402 response before processing","Overly long string fields exceeding 500-character limit are rejected"],"whenToPreferThis":"Use this endpoint when you need a deterministic, policy-aware classification of whether charging an agent for partial or incomplete work is justified — especially in x402 micropayment contexts where charge boundary disputes arise due to timeouts, cancellations, or partial results. Prefer this over manual policy checks when you have structured facts about work completion and need a consistent, auditable classification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:43:19.133Z","isFirstParty":false,"canonicalSlug":"blockchain-money-map-partial-work-charge-boundary-tester-abc066d9"}