DELXCOMMERCE Payable now

Portable intent card · api-integration

x402 Payment Preflight API for agents

Evaluate caller-supplied x402 payment requirements before a wallet signs them. Use after receiving HTTP 402 to enforce a maximum USDC amount, allowed networks, exact scheme, recipient presence, and an optional expiry buffer. Returns eligible accepts and explicit blockers for $0.002 USDC via x402 on Base; it never signs, pays, stores, or echoes a payment signature.

x402 Payment Preflight APIx402 Payment Preflight for agentspay per result APIx402 APIno API key

Intent to transaction

One command, attributed.

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/payment-preflight -m POST -H 'x-delx-source: intent-card-x402-payment-preflight-api' --max-amount 0.002 -b '{"requirements":{"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000","payTo":"0x1111111111111111111111111111111111111111","expires":1786272600}]},"max_amount_usdc":0.002,"allowed_networks":["eip155:8453"],"now_epoch_seconds":1786272500}'
Example inputPOST /api/v1/x402/payment-preflight
{
  "requirements": {
    "accepts": [
      {
        "scheme": "exact",
        "network": "eip155:8453",
        "amount": "1000",
        "payTo": "0x1111111111111111111111111111111111111111",
        "expires": 1786272600
      }
    ]
  },
  "max_amount_usdc": 0.002,
  "allowed_networks": [
    "eip155:8453"
  ],
  "now_epoch_seconds": 1786272500
}
Agent discoverydelx/intent-card/v1
{
  "intent": "x402 Payment Preflight for an agent workflow",
  "tool_name": "util_x402_payment_preflight",
  "price_usdc": "0.002",
  "machine_url": "https://commerce.delx.ai/intents/x402-payment-preflight-api.json"
}

Portable and inspectable

Share the intent, not a directory search.