{"slug":"api-blockchainmoneymap-com-api-x402-payment-preflight-b6721a","title":"Pre-payment public-chain and caller-context checks for an agent before it pays a","host":"api.blockchainmoneymap.com","method":"POST","resource":"https://api.blockchainmoneymap.com/api/x402/payment-preflight","category":"other","description":"Pre-payment public-chain and caller-context checks for an agent before it pays an x402 resource.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":420,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":"0.01","caller_context":{"task":"Check whether this x402 payment target matches the expected service."},"chain":"base","currency":"USDC","expected_payee":"0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a","max_amount":"0.05","payee":"0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a","resource_url":"https://api.blockchainmoneymap.com/api/x402/wallet-snapshot"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"amount":{"type":"string"},"caller_context":{"type":"object"},"chain":{"type":"string"},"currency":{"enum":["USDC"]},"expected_payee":{"type":"string"},"max_amount":{"type":"string"},"payee":{"type":"string"},"resource_url":{"format":"uri","type":"string"}},"required":["chain","payee","amount","currency","resource_url"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"confidence":{"enum":["high","medium","low"],"type":"string"},"decision":{"type":"string"},"endpoint":{"enum":["payment-preflight"]},"evidence":{"additionalProperties":true,"type":"object"},"generated_at":{"format":"date-time","type":"string"},"limits":{"items":{"type":"string"},"type":"array"},"payee_type":{"type":"string"},"product_family":{"enum":["agent_commerce_trust_api"]},"recommended_next_action":{"type":"string"},"request_id":{"type":"string"},"risk_flags":{"items":{"type":"string"},"type":"array"},"summary":{"type":"string"},"version":{"enum":["v0.1"]},"visible_activity":{"additionalProperties":true,"type":"object"},"x402_request_id":{"description":"x402 route request ID used for Supabase x402_agent_requests ledger reconciliation when available.","type":"string"}},"required":["product_family","endpoint","version","request_id","x402_request_id","generated_at","decision","confidence","summary","evidence","risk_flags","recommended_next_action","limits","payee_type","visible_activity"],"type":"object"},"type":{"enum":["json"],"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":420,"error":null}],"description_full":"Pre-payment public-chain and caller-context checks for an agent before it pays an x402 resource.","last_updated":"2026-10-18T16:34:41.73Z","schemes":["exact"]}