{"uid":"cap_XPcVSylbf1lP9ssNwa3dZ","slug":"delx-commerce-card-mask-bcc62784","name":"Delx Commerce Card Mask","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/card-mask?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string","description":"Input field: number."}}},"responseSchema":{"type":"json","example":{"last4":"1111","masked":"************1111","schema":"delx/util-card-mask/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_W7VMVXtxd8jeyWBOaaOKU","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":"Masks a credit/debit card number, returning only the last 4 digits with the rest replaced by asterisks","exampleAgentPrompt":"Can you mask this card number so only the last 4 digits are visible? The number is 4111111111111111.","exampleUseCases":[{"title":"Receipt display sanitization","prompt":"I need to show a customer their card on a receipt confirmation — can you mask the full number 5500005555555559 so it displays as asterisks with only the last 4 digits showing?"},{"title":"Audit log card redaction","prompt":"Before I write this transaction to my audit log, mask the card number 4012888888881881 so we're not storing full card details."},{"title":"UI card display formatting","prompt":"I want to show the user which card they used for checkout — take the number 378282246310005 and give me the masked version like ************0005."}],"resultDescription":"A JSON object containing the last 4 digits of the card number (`last4`) and a fully masked string (`masked`) where all digits except the last 4 are replaced with asterisks, plus a schema identifier `delx/util-card-mask/v1`.","failureModes":["Invalid or non-numeric card number input returns an error","Malformed request body causes a 400 response","Payment not received via x402 protocol results in 402 Payment Required","Card number too short to produce a valid last-4 result"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use card masking utility with no signup or subscription required, especially in agent workflows that handle payment card data and need PCI-friendly display formatting. Ideal when you need deterministic, verifiable output at minimal cost ($0.001 USDC per call) without provisioning your own masking logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:07.689Z","isFirstParty":false,"canonicalSlug":"delx-commerce-card-mask-bcc62784"}