{"uid":"cap_ikR6DANtsVKr5OrfqrbjT","slug":"delx-commerce-redact-digits-api-0fcca5cd","name":"Delx Commerce — Redact Digits API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/redact-digits?utm_source=zero.xyz","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_1xLDifWJP8sxIeccdyFcq","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 digit sequences in text with # characters, masking sensitive numeric data like credit card numbers","exampleAgentPrompt":"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'?","exampleUseCases":[{"title":"Sanitize support ticket before logging","prompt":"Before we store this customer support message, redact any digits that might be card numbers: 'Hi, my Visa 4532 0151 1283 0366 was charged twice.'"},{"title":"Mask card number in chatbot response","prompt":"A user just typed their card number into our chat — can you redact the digits in this string before we display it back: 'card number 5105 1051 0510 5100 expiry 12/26'?"},{"title":"Anonymize numeric data in audit log","prompt":"I need to anonymize this transaction record before it goes into our audit log — please replace all digit sequences with # characters: 'TXN ref 8472916 charged 4916338506082832 on account 00129384756.'"}],"resultDescription":"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'.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:40.330Z","isFirstParty":false,"canonicalSlug":"delx-commerce-redact-digits-api-0fcca5cd"}