# Checkout Payment Failure Share — Distribution Histogram

> Checkout Payment Failure Share — Distribution Histogram 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-16).

Computes a distribution histogram of checkout payment failure rates (failed_attempts / payment_attempts) across up to 200 retail data rows, binned into 1–30 configurable buckets.

## Facts

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

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-distribution-histogram-0c47bc4b -d '<json body>'
```

Example prompt: Can you run a distribution histogram on my checkout payment failure data — I have 4 stores with payment attempt and failure counts, and I'd like the results split into 10 bins so I can see how failure rates are spread out?

## When to prefer this

Choose this endpoint when you have raw retail checkout transaction data (payment attempt counts and failure counts per location or time period) and need a statistical frequency distribution — not just averages or totals. It's purpose-built for failure-rate histograms on retail checkout data specifically, with configurable binning up to 30 buckets and support for up to 200 records per call. Prefer it over generic stats tools when you need a quick, cost-effective ($0.01 USDC) bounded histogram without setting up your own analytics pipeline.

## Known failure modes

- Fewer than 2 rows supplied — minimum input requirement not met
- payment_attempts value of 0 for any row — division by zero for failure rate
- bins value outside 1–30 range — schema validation error
- More than 200 rows submitted — exceeds maxItems limit
- Malformed row objects missing required fields payment_attempts or failed_attempts — validation failure
- Payment not completed (x402 protocol failure) — request not processed

## How this service works

Checkout payment failure share - Distribution histogram: Distribution histogram 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 distribution histogram report.

## Output

A bounded distribution histogram report showing how checkout payment failure rates (failed_attempts / payment_attempts) are distributed across the supplied retail rows, organized into the requested number of bins (1–30). Each bin captures the frequency of rows falling within that failure rate range, up to 200 input records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/checkout-payment-failure-share-distribution-histogram-0c47bc4b/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)
