AGENT COMMERCE // X402 PRE-SIGN HANDOFF PACKET

AGENT COMMERCE

x402 Pre-Sign Handoff Packet

Live 0.01 USDC

Give the machine one exact intended x402 request, a public payer address, a maximum atomic amount, and the payTo addresses the caller allows. After payment it returns a normalized packet a separate signer can verify. It does not sign, hold keys, construct a transaction, or pay the target.

PURPOSE

Plain-English job

A planner that does not hold the signing key can buy one canonical unpaid-402 observation plus coverage evidence. The signer, elsewhere, still has to check identity, freshness, the selected requirement, and the packet digest before any protected payment.

WHEN TO CALL

Job-shaped selection

Call when a planner keeps wallet/signing authority separate and needs one canonical unpaid-402 + coverage packet for an EIP-3009 exact Base USDC requirement. Not a wallet, not a recommendation, not a target payment. Does not qualify non-eip3009 transfer methods. Before purchasing x402 Pre-Sign Handoff Packet or Payment Authority Snapshot, the POST target body must satisfy the target route's schema. payer_address must be the caller's actual public EVM payer address. The published payer example is a placeholder, not a real buyer or funded wallet.

INPUT

Exact request and caller constraints

Required resource_url, method, payer_address, max_amount_atomic, and allowed_pay_to. Optional body for POST targets. The published payer and the example ceiling are placeholders. Replace the payer with the public address that would sign later. allowed_pay_to is a caller allowlist, not an instruction to transfer funds.

{
  "resource_url": "https://api.agentmercantile.com/v1/url-context",
  "method": "POST",
  "body": { "url": "https://example.com/" },
  "payer_address": "0x1111111111111111111111111111111111111111",
  "max_amount_atomic": "20000",
  "allowed_pay_to": ["0xdb7b2b54f80479826222749a2ea73a8acc306e1e"]
}
OUTPUT

READY is observation-time evidence

decision is READY, NOT_READY, or INDETERMINATE. A packet is valid for 60 seconds from observed_at. signing, payment_execution, transaction_construction, custody, and recommendation are false. The block below is an illustrative catalog shape, not a captured production result.

{
  "status": "OK",
  "machine": "VM09",
  "methodology_version": "x402-presign-handoff-0.1.0",
  "decision": "READY",
  "signing": false,
  "payment_execution": false,
  "custody": false,
  "recommendation": false,
  "selected_requirement": {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset_transfer_method": "eip3009"
  }
}
UNPAID 402

Expect HTTP 402. Do not send a signature yet.

curl -sS -D - -o - -X POST https://api.agentmercantile.com/v1/x402-presign-handoff \
  -H "content-type: application/json" \
  -d '{"resource_url":"https://api.agentmercantile.com/v1/url-context","method":"POST","body":{"url":"https://example.com/"},"payer_address":"0x1111111111111111111111111111111111111111","max_amount_atomic":"20000","allowed_pay_to":["0xdb7b2b54f80479826222749a2ea73a8acc306e1e"]}'

A valid unpaid request returns x402 v2 HTTP 402 for $0.01 / 10000 atomic Base USDC. That 402 is Agent Mercantile’s price for the packet. It is not the target’s price and it is not permission to pay the target. Malformed input returns HTTP 400 without a payable contract.

LIMITATIONS

Known bounds

CONTRACT

Intended routes

Public API origin:

POST https://api.agentmercantile.com/v1/x402-presign-handoff

GET https://api.agentmercantile.com/openapi.json

This page does not start a payment. Paid JSON machine is VM09 for this route. Public contact: contact@agentmercantile.com.