{"uid":"cap_OQ4l8pOUDR8JmBXtOuQa2","slug":"delx-redact-digits-fd29be52","name":"Delx Redact Digits","description":"Replace digits with # for safe previews. Call when you strip numeric PII from agent-held text before display. Returns digit-redacted text for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/redact-digits","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"card #### #### #### ####","schema":"delx/util-redact-digits/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_All3WrOHStB-NaAcuWDrw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Replaces all digit characters in a text string with '#' symbols to safely mask numeric PII before display.","exampleAgentPrompt":"Before showing this to the user, redact all the digits in this text: 'Call us at 415-555-0123 or use card 4111 1111 1111 1111 for payment.'","exampleUseCases":[{"title":"Mask credit card in chat log","prompt":"I need to display a customer support transcript but it contains a credit card number — can you replace all the digits with # so it's safe to show? The text is: 'Your card 4242 4242 4242 4242 was charged $99.00 on 2024-01-15.'"},{"title":"Anonymize phone number in notification","prompt":"Before I render this alert message to the end user, strip out all digits so nothing sensitive leaks through: 'Your OTP is 847291, linked to account 10039284 and phone +1 (212) 867-5309.'"},{"title":"Sanitize address data for safe preview","prompt":"I want to show a redacted preview of this shipping record without exposing any numbers — please mask all digits in: 'Ship to: John D., 42 Elm Street, Apt 3B, ZIP 10001, Order #87654321.'"}],"resultDescription":"Returns the input text with every digit character (0-9) replaced by '#', preserving all non-numeric characters (letters, spaces, punctuation, special characters) exactly as-is. The response is a local JSON object with the redacted string; no data is retained by the service.","failureModes":["Empty or missing 'text' field returns an error","Extremely large text payloads may be rejected or time out","Payment failure (insufficient USDC balance or x402 protocol issue) prevents the call from completing","Non-string input type may cause a validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless, pay-per-call digit-masking transform with no API keys, no data retention, and predictable $0.001 cost. Ideal for agent pipelines that need to sanitize numeric PII (phone numbers, card numbers, SSNs, OTPs) before rendering output to users, especially when you want to avoid building or maintaining your own regex-based redaction logic. Not suitable if you need to redact other PII types (names, emails) or require format-preserving encryption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:28.005Z","isFirstParty":false}