Agent Sign In

POD-1 Proof-of-Delivery Attestation Verifier

Machine-to-Machine Conformance API · pod-verify-delivery
$0.005 / call 3 free calls/day No signup

Physical IoT and off-chain service delivery verification using integer E7 point-in-polygon geometry and hardware sensor threshold validation (POD-1). Deterministic integer arithmetic avoids floating-point coordinate drift; verification only, no custody or escrow.

Honest Scope Guarantee
Hardware-attested point-in-polygon delivery verification using integer E7 coordinates (POD-1). Prevents floating-point coordinate drift without custodial escrow.

Quickstart & Execution

cURL (20 Free Calls/Day • Zero Authentication Required)
curl -X POST https://api.code402.dev/v1/tools/pod-verify-delivery/call \
  -H "content-type: application/json" \
  -d '{"mandate":{"mandate_id":"mandate-99","order_ref":"ord-99","geofence":{"type":"polygon_e7","ring":[[377749000,-1224194000],[377759000,-1224194000],[377759000,-1224094000],[377749000,-1224094000]]},"window":{"not_before":1700000000,"not_after":1700003600},"max_accuracy_m":50,"required_signers":["device"]},"attestation":{"mandate_id":"mandate-99","device_id":"DEV-1","device_pubkey":"0x01","scheme":1,"geo":{"lat_e7":377750000,"lon_e7":-122415000,"accuracy_m":10},"ts":1700001000,"counter":1,"signatures":{"device":"0x01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101"}},"last_seen_counter":0}'

No API key needed for the free daily tier. When daily quota exhausts, the endpoint replies with HTTP 402 Payment Required specifying the exact USDC amount. Machines sign an EIP-3009 transfer on Base L2; human engineers buy card credits. Every paid execution returns a cryptographically signed XDR-1 receipt for zero-knowledge audit trails.

Input Parameters

FieldTypeMeaning & Constraints
mandate (REQUIRED)objectDelivery mandate with geofence polygon (lat_e7/lon_e7) and time window
attestation (REQUIRED)objectSigned IoT device delivery attestation with coordinates, counter, and signatures
last_seen_counternumberAnti-replay counter from previous delivery attestations

Response Format

Deterministic JSON payload fields: ok, standard, mandate_id, verdict, verified, details, attestation_receipt_digest. Paid responses also carry an offline-verifiable receipt object (XDR-1, secp256k1 signature recoverable to the authorized signer).

Related Conformance Tools

aci-trust-lookup dip-file-dispute csp-commitment-create iso20022-validate iso20022-to-x402-intent iban-check lei-check vat-mod97-check company-number-format swift-bic-check aba-routing-check ein-format-check ifsc-check abn-check gstin-check cnpj-check uscc-check japan-corp-check kra-pin-check rfc-check iso4217-currency-check upi-vpa-check pan-format-check uae-trn-check isin-check sedol-check isbn-check ean13-check luhn-check e164-check pre-disbursement-guard vendor-onboarding-pack rent-deposit-guard rental-listing-risk rental-verdict india-supplier-check china-supplier-check japan-supplier-check latam-supplier-check gulf-supplier-check africa-supplier-check settlement-history-check balance-check erc20-balance tx-activity block-info ofac-sdn-check simulate-spend-sentinel create-ap2-pilot create-b2b-invoice get-b2b-invoice calculate-fx-savings fx-spot-price-oracle quote-3rd-party-insurance bind-insurance-policy list-approved-insurers batch-validate context-distill crypto-ticker instant-json-schema-verifier clean-markdown-scraper