x402
utility

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 or Solana; it never signs, pays, stores, or echoes a payment signature.

post/api/v1/x402/payment-preflight

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/payment-preflight
  • Auth: none declared

Request body

requirementsobject required
max_amount_usdcnumber required
allowed_networksstring[] required
asset_decimalsinteger
now_epoch_secondsinteger
min_expiry_secondsinteger

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
approvedboolean
evaluated_countinteger
eligible_countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.