{
  "format": "delx/intent-card/v1",
  "id": "card-mask-api",
  "intent": "Card Mask for an agent workflow",
  "title": "Card Mask API for agents",
  "description": "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.",
  "keywords": [
    "Card Mask API",
    "Card Mask for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/card-mask-api",
  "machine_url": "https://commerce.delx.ai/intents/card-mask-api.json",
  "recommendation": {
    "tool_name": "util_card_mask",
    "service_name": "Delx Card Mask",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/card-mask",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "number": {
          "description": "Input field: number.",
          "type": "string"
        }
      },
      "required": [
        "number"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "number": "4111111111111111"
    },
    "example_output": {
      "schema": "delx/util-card-mask/v1",
      "masked": "************1111",
      "last4": "1111"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/card-mask -m POST -H 'x-delx-source: intent-card-card-mask-api' --max-amount 0.001 -b '{\"number\":\"4111111111111111\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-card-mask-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/card-mask"
  }
}
