# Delx Card Mask

> Delx Card Mask is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Masks a digit string (e.g. a card number) keeping only the last 4 digits visible, returning both the masked string and last4.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/card-mask
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-card-mask-118d4dcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PB9kyz9FUbHIyPNm9pC2b

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 delx-card-mask-118d4dcf -d '<json body>'
```

Example prompt: Mask this card number so only the last 4 digits are visible: 4111111111111234.

## When to prefer this

Choose this endpoint when you need a stateless, zero-retention way to mask a card-shaped digit string for safe display or logging, without involving any card network, vault, or tokenization service. Ideal for agent workflows that handle card numbers ephemerally and need a formatted masked output quickly and cheaply.

## Known failure modes

- Non-numeric or too-short input string returns an error or unexpected masking
- Missing 'number' field in request body causes a 400 bad request
- Network timeout or service unavailability returns a 5xx error
- Payment failure via x402 prevents the call from completing

## How this service works

Mask a digit string keeping last4. Call when you display agent-held card-shaped numbers safely. Returns masked and last4 for $0.001 USDC via x402 on Base. Masking only—does not store PANs. No network, no keys, no retention. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a masked card number string (e.g. '************1234') and the last4 digits as a separate field, with no data retained by the service.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string",
   "description": "Input field: number."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "last4": "1111",
  "masked": "************1111",
  "schema": "delx/util-card-mask/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-card-mask-118d4dcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
