x402
utility

Luhn check for digit strings (cards/IDs). Call when you reject obviously invalid card-shaped numbers before payment UI. Returns valid boolean and digit count for $0.001 USDC via x402 on Base. Checksum only—not issuer, funds, or PAN storage. No network, no keys, no retention. Results are advisory; the caller owns budgets, auth, and production controls.

post/api/v1/x402/luhn-valid

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/luhn-valid
  • Auth: none declared

Request body

numberstring required

Input field: number.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
validboolean
digitsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.