{"slug":"api-zfinia-com-x402-v1-x402-endpoint-preflight-6f7915","title":"Find out what an x402 endpoint will charge before you pay it","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/x402-endpoint-preflight","category":"market","description":"Find out what an x402 endpoint will charge before you pay it. Probes the endpoint, reads the challenge from the header or the body, and returns the decoded price, network, asset and payTo plus the declared input and output schemas. Never sends a payment. Only reviewed origins are reachable, and a re","price_listed":0.004,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"body":{"domain":"stripe.com"},"method":"POST","url":"https://api.zfinia.com/x402/v1/company-evidence-pack"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"body":{"description":"Optional JSON body to send with a POST probe.","type":"object"},"method":{"description":"Method to probe with. Defaults to GET.","enum":["GET","POST"],"type":"string"},"url":{"description":"HTTPS URL of an x402 endpoint on a reviewed origin. Credentials, ports and fragments are refused.","maxLength":2048,"type":"string"}},"required":["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":false,"properties":{"challenge":{"description":"The decoded payment challenge, or null when the endpoint served none.","type":["object","null"]},"challenge_header_present":{"type":"boolean"},"challenge_source":{"description":"header or body, depending on where the endpoint put the challenge.","type":["string","null"]},"method":{"type":"string"},"observed_at":{"type":"string"},"payment_sent":{"const":false,"description":"Always false. This service never pays the endpoint it probes."},"reachable":{"type":"boolean"},"request_id":{"description":"Delivery request identifier; also returned in x-foundry-request-id.","type":"string"},"service_id":{"description":"Canonical service identifier.","type":"string"},"service_version":{"description":"Version of the invoked service.","type":"string"},"status":{"type":"integer"},"url":{"type":"string"}},"required":["request_id","service_id","service_version","url","method","observed_at","status","reachable","payment_sent","challenge","challenge_source","challenge_header_present"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Find out what an x402 endpoint will charge before you pay it. Probes the endpoint, reads the challenge from the header or the body, and returns the decoded price, network, asset and payTo plus the declared input and output schemas. Never sends a payment. Only reviewed origins are reachable, and a redirect is refused rather than followed.","last_updated":"2026-10-02T07:26:34.009Z","schemes":["exact"]}