# Delx Commerce — Redact Digits API

> Delx Commerce — Redact Digits API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Replaces digit sequences in text with # characters, masking sensitive numeric data like credit card numbers

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/redact-digits?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-redact-digits-api-0fcca5cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ikR6DANtsVKr5OrfqrbjT

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-commerce-redact-digits-api-0fcca5cd -d '<json body>'
```

Example prompt: Can you redact the digits in this text so the card number is hidden: 'My card is 4111 1111 1111 1111 and I need help with my account'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call digit-redaction utility without requiring API key signup — especially in agent pipelines that handle sensitive user input (e.g. credit card numbers, account numbers) and need to sanitize text before storage or display. Ideal for low-volume, ad-hoc redaction tasks billed at $0.001 USDC per call via x402.

## Known failure modes

- Missing or empty 'text' field returns an error
- Non-string input type may cause a 400 bad request
- Payment failure via x402 protocol prevents processing
- Very large text inputs may exceed size limits

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the input text with all contiguous digit sequences replaced by # characters (e.g. '4111 1111 1111 1111' becomes '#### #### #### ####'), along with a schema identifier 'delx/util-redact-digits/v1'.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "card #### #### #### ####",
  "schema": "delx/util-redact-digits/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-redact-digits-api-0fcca5cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
