# Payment Card Numbers Generator

> Payment Card Numbers Generator is a paid API for AI agents from creditcard.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Generates syntactically valid payment card numbers for a specified card network and length

## Facts

- Endpoint: POST https://creditcard.openverbs.com/v1/generate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payment-card-numbers-generator-976a322c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_so9i7H5yjN8euf-9N_eSO

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 payment-card-numbers-generator-976a322c -d '<json body>'
```

Example prompt: Generate a synthetic 16-digit Visa card number I can use for payment integration testing.

## When to prefer this

Use this endpoint when you need syntactically valid, format-correct card numbers for payment system testing, QA, or integration validation — especially when you need numbers for a specific card network (Visa, Mastercard, Amex, Discover, Diners Club, JCB, or UnionPay) or a specific length. Prefer this over hardcoded test card lists when you need dynamic generation or network-specific numbers on demand.

## Known failure modes

- Invalid length for chosen network (e.g. requesting 15 digits for Visa) returns validation error
- Unsupported network name returns enum validation error
- Missing required fields returns 400-level error
- Service unavailable returns 5xx error
- Payment of 0.002 USDC not completed returns 402 Payment Required

## How this service works

Generate a random Luhn-valid TEST card number for the given network (default Visa). For testing only — these are not issued cards and cannot be charged. The response is always flagged `test:true`.

## Output

Returns a synthetically generated payment card number that is valid in format (passes Luhn algorithm) for the specified card network and length, suitable for testing purposes but not a real funded account.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "length": {
       "type": "integer",
       "maximum": 19,
       "minimum": 12,
       "description": "Number length; must be valid for the network."
      },
      "network": {
       "enum": [
        "Visa",
        "Mastercard",
        "American Express",
        "Discover",
        "Diners Club",
        "JCB",
        "UnionPay"
       ],
       "type": "string",
       "description": "Card network. Default Visa."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payment-card-numbers-generator-976a322c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creditcard.openverbs.com](https://www.zero.xyz/host/creditcard.openverbs.com/llms.txt)
