# x402-toolbox Card Luhn Check

> x402-toolbox Card Luhn Check is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Validates a credit or debit card number using the Luhn algorithm to determine if it is structurally valid

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/card-luhn-check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-card-luhn-check-c1fccaed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I74kJKTl2WAWPQ0iSqglN

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 x402-toolbox-card-luhn-check-c1fccaed
```

Example prompt: Can you run a Luhn check on this card number — 4111111111111111 — and tell me if it's structurally valid?

## When to prefer this

Use this endpoint when you need a fast, serverless, no-signup Luhn algorithm check on a card number and want to pay per-call in USDC via x402 with no API key required. Prefer it over full card validation services when you only need structural checksum verification, not bank-level card verification or BIN lookup.

## Known failure modes

- Missing or malformed schema/card number input returns an error or unexpected result
- Invalid JSON schema string causes parsing failure
- Non-numeric characters in card number may cause validation to fail or return false
- Network or payment failure on x402 protocol returns a 402 Payment Required response

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with an 'ok' boolean indicating whether the card number passes the Luhn algorithm check, and a 'paid' boolean confirming the micropayment was processed via x402.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-card-luhn-check-c1fccaed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
