Example inputPOST /api/v1/x402/qr-code
{
"data": "https://delx.ai",
"format": "png",
"error_correction": "M"
}
Portable intent card · image
PNG/SVG QR for tickets and onboarding at $0.001—self-contained data URI + receipt; destination never fetched.
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/qr-code -m POST -H 'x-delx-source: intent-card-qr-code-api' --max-amount 0.001 -b '{"data":"https://delx.ai","format":"png","error_correction":"M"}'
{
"data": "https://delx.ai",
"format": "png",
"error_correction": "M"
}
{
"intent": "generate a QR code from text or a URL",
"tool_name": "generate_qr_code",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/qr-code-api.json"
}
Portable and inspectable