{"uid":"cap_RCilFAPR40819hfXHmSkC","slug":"checkout-payment-failure-share-weighted-result-mean-03076254","name":"Checkout Payment Failure Share – Weighted Result Mean","description":"Checkout payment failure share - Weighted result mean: Weighted result mean for Checkout payment failure share. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-ar-retail-checkout-payment-failure-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["payment_attempts","failed_attempts"],"properties":{"failed_attempts":{"type":"number","default":4,"maximum":1000000000000,"minimum":0},"payment_attempts":{"type":"number","default":100,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"failed_attempts":4,"payment_attempts":100},{"failed_attempts":4.4,"payment_attempts":110.00000000000001},{"failed_attempts":4,"payment_attempts":100},{"failed_attempts":4.4,"payment_attempts":110.00000000000001}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"responseSchema":null,"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_NsB7S5urvA66dHV9WGXa7","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":"Computes a weighted mean of checkout payment failure share across up to 200 retail records, using supplied payment attempt and failure counts with custom weights.","exampleAgentPrompt":"Calculate the weighted mean checkout payment failure share for these four store records: store A had 4 failures out of 100 attempts, store B had 4.4 failures out of 110 attempts, store C had 4 failures out of 100 attempts, and store D had 4.4 failures out of 110 attempts, with weights of 1, 2, 1, and 2 respectively.","exampleUseCases":[{"title":"Multi-store failure rate aggregation","prompt":"I have payment data from 5 of my retail outlets — each with different transaction volumes and failure counts. Can you compute the weighted mean checkout failure share, using the number of payment attempts at each store as the weight?"},{"title":"Quarterly checkout health summary","prompt":"Combine my Q1, Q2, and Q3 checkout failure data into a single weighted mean failure rate — Q1 had 8 failures out of 200 attempts, Q2 had 12 out of 250, Q3 had 6 out of 180. Weight them equally."},{"title":"Regional payment failure benchmarking","prompt":"I want to benchmark our regional checkout failure rates: region North had 15 failures out of 300 attempts, region South had 22 out of 400, region East had 10 out of 200. Use weights of 3, 4, and 2 and give me the weighted mean failure share."}],"resultDescription":"Returns a single weighted mean value representing the aggregate checkout payment failure share across all submitted retail records, calculated from the supplied payment attempt counts, failure counts, and per-record weights.","failureModes":["Fewer than 2 rows supplied — minimum 2 records required","More than 200 rows submitted — exceeds maxItems limit","payment_attempts set to zero or negative — exclusiveMinimum constraint violated","weights array length does not match rows array length","Missing required fields payment_attempts or failed_attempts in any row","Numeric values exceed maximum of 1,000,000,000,000"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted aggregate of payment failure rates across multiple retail data points rather than a simple average. Ideal when store locations, time periods, or channels have unequal importance and you want to reflect that in the aggregated metric. Prefer over simple mean calculations when volume or business-weight differences matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:42.016Z","isFirstParty":false,"canonicalSlug":"checkout-payment-failure-share-weighted-result-mean-03076254"}