Example inputPOST /api/v1/x402/card-mask
{
"number": "4111111111111111"
}
Portable intent card · agent-reliability-security
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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
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"}'
{
"number": "4111111111111111"
}
{
"intent": "Card Mask for an agent workflow",
"tool_name": "util_card_mask",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/card-mask-api.json"
}
Portable and inspectable