# Checkout Payment Failure Share – Weighted Result Mean

> Checkout Payment Failure Share – Weighted Result Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

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.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-checkout-payment-failure-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/checkout-payment-failure-share-weighted-result-mean-03076254
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RCilFAPR40819hfXHmSkC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability checkout-payment-failure-share-weighted-result-mean-03076254 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/checkout-payment-failure-share-weighted-result-mean-03076254/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
