Example inputPOST /api/v1/x402/loyalty-reward-quote
{
"purchase_amount": 49.99,
"currency": "USD",
"points_per_unit": 2,
"tier_multiplier": 1.5,
"bonus_points": 10,
"event_id": "order-123"
}
Portable intent card · commerce
Compute a deterministic loyalty-points quote for $0.001 from purchase amount and multipliers—no wallet ledger or payout rail.
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/loyalty-reward-quote -m POST -H 'x-delx-source: intent-card-loyalty-reward-quote-api' --max-amount 0.001 -b '{"purchase_amount":49.99,"currency":"USD","points_per_unit":2,"tier_multiplier":1.5,"bonus_points":10,"event_id":"order-123"}'
{
"purchase_amount": 49.99,
"currency": "USD",
"points_per_unit": 2,
"tier_multiplier": 1.5,
"bonus_points": 10,
"event_id": "order-123"
}
{
"intent": "quote loyalty points for a purchase amount",
"tool_name": "util_loyalty_reward_quote",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/loyalty-reward-quote-api.json"
}
Portable and inspectable