{"x402_version":1,"environment":"production","extensions":["bazaar"],"resources":[{"resource":"https://api.code402.dev/v1/tools/receipt-verify/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"0","maxAmountRequired":"0","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"receipt":{"v":"XDR-1","tool":"iban-check","tool_version":"1","input_hash":"0x…","output_hash":"0x…","payer":"0xc59c85e661d34084a7769f955d17fd38254a6235","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","amount":"0","nonce":"0x…","ts":0,"tier":"free","signer":"0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8","signature":"0x…"}}},"inputSchema":{"type":"object","properties":{"receipt":{"type":"string","description":"The full XDR-1 receipt object: v, tool, tool_version, input_hash, output_hash, payer, recipient, amount, nonce, ts, tier, signer, signature (optional successor/stream_state)."}},"required":["receipt"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"signer_recovered":{"type":"string"},"declared_signer":{"type":"string"},"digest":{"type":"string"},"canonical":{"type":"string"},"scope":{"type":"string"}}}}}}}},{"resource":"https://api.code402.dev/v1/tools/simulate-spend-sentinel/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"scenario":"injection"}},"inputSchema":{"type":"object","properties":{"scenario":{"type":"string","description":"Simulation scenario: 'injection' (prompt attack), 'garbage' (bad subagent output), or 'provable' (verified settlement). Default 'injection'."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"is_synthetic":{"type":"boolean"},"simulated":{"type":"boolean"},"scenario":{"type":"string"},"status":{"type":"number"},"code":{"type":"string"},"verdict":{"type":"string"},"requested_amount_usdc":{"type":"number"},"actual_wallet_loss_usdc":{"type":"number"},"action_taken":{"type":"string"},"settlement_recipient":{"type":["string","null"]},"telemetry":{"type":"string"},"scope":{"type":"string"}},"required":["valid","scenario","verdict"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/create-ap2-pilot/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"client_name":"Apex Autonomous Syndicate"}},"inputSchema":{"type":"object","properties":{"client_name":{"type":"string","description":"Client or agent name (optional)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"invoiceId":{"type":"string"},"amountUsdc":{"type":"number"},"checkoutUrl":{"type":"string"},"recipient":{"type":"string"},"token":{"type":"string"},"chainId":{"type":"number"},"network":{"type":"string"},"features":{"type":"array"},"scope":{"type":"string"}},"required":["valid","invoiceId","checkoutUrl"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/iban-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"iban":"GB82 WEST 1234 5698 7654 32"}},"inputSchema":{"type":"object","required":["iban"],"properties":{"iban":{"type":"string","description":"IBAN to validate; spaces allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/assured-quote/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"notional_minor":"1000000000","rail":"crypto","counterparty_tier":"T3"}},"inputSchema":{"type":"object","properties":{"notional_minor":{"type":"string","description":"Settlement notional in USDC minor units (1e6 = $1)"},"rail":{"type":"string","description":"'crypto' or 'fiat'"},"counterparty_tier":{"type":"string","description":"ACI-1 tier T0..T3 (T0 refused)"},"annual_volume_minor":{"type":"string","description":"Optional committed annual volume for tiered bps"},"pod_required":{"type":"boolean","description":"Force the POD-1 delivery mandate"}},"required":["notional_minor","rail"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/assured-create/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"notional_minor":"5000000","rail":"crypto","counterparty_tier":"T2","receipt":{"v":"XDR-1","tool":"iban-check","tool_version":"1","input_hash":"0x…","output_hash":"0x…","payer":"0x…","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","amount":"5000","nonce":"0x…","ts":0,"tier":"paid","signer":"0x…","signature":"0x…"}}},"inputSchema":{"type":"object","properties":{"notional_minor":{"type":"string","description":"Settlement notional in USDC minor units"},"rail":{"type":"string","description":"'crypto' or 'fiat'"},"counterparty_tier":{"type":"string","description":"ACI-1 tier T0..T3 (T0 refused)"},"receipt":{"type":"object","description":"The full XDR-1 receipt of the settlement being assured"}},"required":["notional_minor","rail","receipt"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/reconcile/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"pain001_xml":"<Document>…</Document>","camt053_xml":"<Document>…</Document>"}},"inputSchema":{"type":"object","properties":{"pain001_xml":{"type":"string","description":"pain.001 instructions (or use pacs008_xml)"},"pacs008_xml":{"type":"string","description":"pacs.008/PIX instructions (or use pain001_xml)"},"camt053_xml":{"type":"string","description":"camt.053 statement (or use nacha_ach)"},"nacha_ach":{"type":"string","description":"NACHA ACH text (94-char records) instead of camt053_xml"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/lei-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"lei":"529900T8BM49AURSDO55"}},"inputSchema":{"type":"object","required":["lei"],"properties":{"lei":{"type":"string","description":"20-character Legal Entity Identifier."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/vat-mod97-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"vat_number":"BE0417497106"}},"inputSchema":{"type":"object","required":["vat_number"],"properties":{"vat_number":{"type":"string","description":"EU VAT id; BE mod-97 checksum (BE prefix optional)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/company-number-format/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"company_number":"12345678"}},"inputSchema":{"type":"object","required":["company_number"],"properties":{"company_number":{"type":"string","description":"8 digits, or 2 letters + 6 digits."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/rent-deposit-guard/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"deposit_iban":"GB82WEST12345698765432","property_country":"DE","deposit_before_viewing":true}},"inputSchema":{"type":"object","required":["deposit_iban"],"properties":{"deposit_iban":{"type":"string","description":"IBAN the deposit would be paid to."},"property_country":{"type":"string","description":"ISO 3166-1 alpha-2 country of the property, e.g. DE."},"deposit_before_viewing":{"type":"boolean","description":"True if a deposit is demanded before any viewing."}}},"output":{"type":"json","example":{"risk_score":0,"band":"low"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"risk_score":{"type":"number"},"band":{"type":"string","enum":["low","elevated","high"]},"flags":{"type":"array"},"flags_fired":{"type":"array"},"recommendation":{"type":"string"},"scope":{"type":"string"}},"required":["risk_score","band"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/rental-listing-risk/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"payment_irreversible":true,"no_in_person_viewing":true,"price_below_market_pct":45}},"inputSchema":{"type":"object","required":[],"properties":{"payment_irreversible":{"type":"boolean","description":"Paid via crypto/gift-card/wire-only."},"contact_moves_offplatform":{"type":"boolean","description":"Pushed off the listing platform."},"landlord_abroad_cannot_meet":{"type":"boolean","description":"Landlord 'abroad', can't meet in person."},"no_in_person_viewing":{"type":"boolean","description":"No viewing before payment."},"urgency_pressure":{"type":"boolean","description":"Pressure to secure today."},"photos_reverse_image_hit":{"type":"boolean","description":"Listing photos found elsewhere (stolen)."},"identity_docs_requested_upfront":{"type":"boolean","description":"Full ID/bank docs demanded upfront."},"price_below_market_pct":{"type":"number","description":"How far below local market the rent is asked, in percent."}}},"output":{"type":"json","example":{"risk_score":0,"band":"low"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"risk_score":{"type":"number"},"band":{"type":"string","enum":["low","elevated","high"]},"flags":{"type":"array"},"flags_fired":{"type":"array"},"recommendation":{"type":"string"},"scope":{"type":"string"}},"required":["risk_score","band"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/rental-verdict/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"50000","maxAmountRequired":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"deposit_iban":"GB82WEST12345698765432","property_country":"DE","deposit_before_viewing":true,"landlord_lei":"529900T8BM49AURSDO55"}},"inputSchema":{"type":"object","required":["deposit_iban"],"properties":{"deposit_iban":{"type":"string","description":"Deposit IBAN."},"property_country":{"type":"string","description":"Property country, ISO alpha-2."},"deposit_before_viewing":{"type":"boolean","description":"True if a deposit is demanded before any viewing."},"landlord_lei":{"type":"string","description":"Landlord LEI (optional)."},"landlord_company_no":{"type":"string","description":"Landlord UK company number (optional)."},"payment_irreversible":{"type":"boolean","description":"Payment demanded via crypto/gift-card/wire-only."},"contact_moves_offplatform":{"type":"boolean","description":"Contact pushed off the listing platform."},"no_in_person_viewing":{"type":"boolean","description":"No in-person or video viewing before payment."},"urgency_pressure":{"type":"boolean","description":"Pressure to secure the property today."},"price_below_market_pct":{"type":"number","description":"How far below local market the rent is asked, in percent."}}},"output":{"type":"json","example":{"verdict":"clear","risk_score":0,"band":"low"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"verdict":{"type":"string","enum":["clear","caution","high-risk"]},"risk_score":{"type":"number"},"band":{"type":"string"},"flags":{"type":"array"},"components":{"type":"object"},"summary":{"type":"string"},"scope":{"type":"string"}},"required":["verdict","risk_score"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/batch-validate/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"50000","maxAmountRequired":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"items":[{"tool":"iban-check","value":"GB82 WEST 1234 5698 7654 32"},{"tool":"lei-check","value":"529900T8BM49AURSDO55"},{"tool":"vat-mod97-check","value":"BE0417497106"}]}},"inputSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":50,"description":"List of {tool, value} checks (max 50).","items":{"type":"object","required":["tool","value"],"properties":{"tool":{"type":"string","enum":["iban-check","lei-check","vat-mod97-check","company-number-format","swift-bic-check","aba-routing-check","ein-format-check","ifsc-check","abn-check","luhn-check","isbn-check","e164-check","sedol-check","isin-check","ean13-check","gstin-check","context-distill"],"description":"which validator to run"},"value":{"type":"string","description":"the identifier (or text, for context-distill) to check"}}}}}},"output":{"type":"json","example":{"count":2,"valid_count":2,"invalid_count":0,"results":[]},"schema":{"type":"object","properties":{"tool":{"type":"string"},"count":{"type":"number"},"valid_count":{"type":"number"},"invalid_count":{"type":"number"},"results":{"type":"array"},"scope":{"type":"string"}},"required":["count","results"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/swift-bic-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"bic":"DEUTDEFF500"}},"inputSchema":{"type":"object","required":["bic"],"properties":{"bic":{"type":"string","description":"SWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/aba-routing-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"aba_routing":"021000021"}},"inputSchema":{"type":"object","properties":{"aba_routing":{"type":"string","description":"9-digit US bank routing number."},"routing":{"type":"string","description":"9-digit US bank routing number (alias)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/ein-format-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"ein":"12-3456789"}},"inputSchema":{"type":"object","required":["ein"],"properties":{"ein":{"type":"string","description":"US EIN, 9 digits; dashes/spaces allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/ifsc-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"ifsc":"HDFC0000123"}},"inputSchema":{"type":"object","required":["ifsc"],"properties":{"ifsc":{"type":"string","description":"11-character Indian Financial System Code."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/abn-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"abn":"51 824 753 556"}},"inputSchema":{"type":"object","required":["abn"],"properties":{"abn":{"type":"string","description":"11-digit Australian Business Number; spaces allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/luhn-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"number":"4111111111111111"}},"inputSchema":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":"12-19 digit number; spaces/dashes allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/isbn-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"isbn":"978-0-306-40615-7"}},"inputSchema":{"type":"object","required":["isbn"],"properties":{"isbn":{"type":"string","description":"ISBN-10 or ISBN-13; dashes/spaces allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/e164-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"phone":"+14155552671"}},"inputSchema":{"type":"object","required":["phone"],"properties":{"phone":{"type":"string","description":"International phone number, e.g. +14155552671."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/sedol-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"sedol":"B0YBKJ7"}},"inputSchema":{"type":"object","required":["sedol"],"properties":{"sedol":{"type":"string","description":"7-character SEDOL code."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/cnpj-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"cnpj":"00.000.000/0001-91"}},"inputSchema":{"type":"object","required":["cnpj"],"properties":{"cnpj":{"type":"string","description":"14-digit Brazilian CNPJ; punctuation allowed (e.g. 00.000.000/0001-91)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/uscc-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"uscc":"91330100799655058B"}},"inputSchema":{"type":"object","required":["uscc"],"properties":{"uscc":{"type":"string","description":"18-character Chinese Unified Social Credit Code (e.g. 91330100799655058B)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/japan-corp-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"number":"1180301018771"}},"inputSchema":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":"13-digit Japanese Corporate Number (e.g. 1180301018771)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/kra-pin-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"pin":"P051112223Z"}},"inputSchema":{"type":"object","required":["pin"],"properties":{"pin":{"type":"string","description":"11-character KRA PIN (e.g. P051112223Z)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/rfc-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"rfc":"BBA830831LJ2"}},"inputSchema":{"type":"object","required":["rfc"],"properties":{"rfc":{"type":"string","description":"12 or 13 character Mexican RFC (e.g. BBA830831LJ2)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/iso4217-currency-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"currency":"EUR"}},"inputSchema":{"type":"object","required":["currency"],"properties":{"currency":{"type":"string","description":"3-letter ISO 4217 code (e.g. USD, EUR, JPY, CNY, BRL, KES, MXN) or 3-digit numeric code (e.g. 840, 978, 392)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/pre-disbursement-guard/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"recipient_iban":"GB82WEST12345698765432","vendor_domain":"billing@acme-consulting.co.uk","declared_country":"GB","company_number":"01234567","invoice_amount_usd":4500}},"inputSchema":{"type":"object","required":[],"properties":{"recipient_iban":{"type":"string","description":"Recipient bank IBAN (optional)."},"vendor_domain":{"type":"string","description":"Vendor website domain or invoicing email address (optional)."},"declared_country":{"type":"string","description":"2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE')."},"company_number":{"type":"string","description":"Official corporate registration number, e.g. UK Companies House 8 digits/chars (optional)."},"lei":{"type":"string","description":"ISO 17442 Legal Entity Identifier (optional)."},"vat_number":{"type":"string","description":"EU VAT number (optional)."},"physical_address":{"type":"string","description":"Vendor physical office address (optional)."},"invoice_amount_usd":{"type":"number","description":"Disbursement transaction amount in USD (optional)."}}},"output":{"type":"json","example":{"clear_to_disburse":true,"risk_level":"LOW","risk_score":0,"decision":"CLEAR_TO_SEND","summary":"CLEAR_TO_SEND: Risk Score 0/100 (LOW)"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"clear_to_disburse":{"type":"boolean"},"risk_level":{"type":"string"},"risk_score":{"type":"number"},"decision":{"type":"string"},"summary":{"type":"string"},"checks":{"type":"object"},"flags_triggered":{"type":"array"},"recommendations":{"type":"array"},"inspected_counterparty":{"type":"object"},"scope":{"type":"string"}},"required":["clear_to_disburse","risk_level","risk_score","decision"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/vendor-onboarding-pack/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"iban":"GB82 WEST 1234 5698 7654 32","lei":"529900T8BM49AURSDO55","vat_number":"BE0417497106","company_number":"12345678"}},"inputSchema":{"type":"object","required":[],"properties":{"iban":{"type":"string","description":"Vendor IBAN (optional)."},"lei":{"type":"string","description":"Vendor LEI (optional)."},"vat_number":{"type":"string","description":"Vendor VAT number, BE mod-97 (optional)."},"company_number":{"type":"string","description":"Vendor UK company number (optional)."}}},"output":{"type":"json","example":{"checked_count":4,"all_valid":true,"results":[]},"schema":{"type":"object","properties":{"tool":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/india-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"gstin":"27AAPFU0939F1ZV","pan":"ABCDE1234F","vpa":"merchant@okhdfcbank","ifsc":"HDFC0001234"}},"inputSchema":{"type":"object","required":[],"properties":{"gstin":{"type":"string","description":"GSTIN (15 chars, optional)"},"pan":{"type":"string","description":"PAN (10 chars, optional)"},"vpa":{"type":"string","description":"UPI VPA handle (optional)"},"ifsc":{"type":"string","description":"IFSC bank code (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/china-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"uscc":"91350100M000100Y43","iban":"GB82WEST12345698765432","swift":"DEUTDEFF"}},"inputSchema":{"type":"object","required":[],"properties":{"uscc":{"type":"string","description":"Unified Social Credit Code (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/japan-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"corporate_number":"7000012050002","iban":"GB82WEST12345698765432"}},"inputSchema":{"type":"object","required":[],"properties":{"corporate_number":{"type":"string","description":"13-digit Corporate Number (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/latam-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"cnpj":"04.252.011/0001-10","rfc":"GODE561231GR8","iban":"GB82WEST12345698765432"}},"inputSchema":{"type":"object","required":[],"properties":{"cnpj":{"type":"string","description":"Brazilian CNPJ (optional)"},"rfc":{"type":"string","description":"Mexican RFC (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/gulf-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"trn":"100123456700003","iban":"AE070331234567890123456","swift":"EBILAEAD"}},"inputSchema":{"type":"object","required":[],"properties":{"trn":{"type":"string","description":"UAE TRN (15 digits, optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/africa-supplier-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"kra_pin":"P051234567X","iban":"GB82WEST12345698765432","swift":"BARCKENX"}},"inputSchema":{"type":"object","required":[],"properties":{"kra_pin":{"type":"string","description":"KRA PIN (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"corridor":{"type":"string"},"checked_count":{"type":"number"},"all_valid":{"type":"boolean"},"verdict":{"type":"string"},"results":{"type":"array"},"next_steps":{"type":"string"},"scope":{"type":"string"}},"required":["checked_count","all_valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/settlement-history-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}},"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."}}},"output":{"type":"json","example":{"valid":true,"address":"0x0000000000000000000000000000000000000000","usdc_sent":{"count":0,"volume_usdc":0},"usdc_received":{"count":1,"volume_usdc":1}},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"address":{"type":"string"},"usdc_sent":{"type":"object"},"usdc_received":{"type":"object"},"scope":{"type":"string"}},"required":["valid","address"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/balance-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}},"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."},"token_address":{"type":"string","description":"ERC-20 token contract address (optional; defaults to USDC on Base)."}}},"output":{"type":"json","example":{"valid":true,"address":"0x0000000000000000000000000000000000000000","native":{"symbol":"ETH","balance":0},"token":{"address":"0x0000000000000000000000000000000000000000","balance":0,"decimals":6}},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"address":{"type":"string"},"native":{"type":"object"},"token":{"type":"object"},"reason":{"type":"string"},"retryable":{"type":"boolean"},"scope":{"type":"string"}},"required":["valid","address"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/erc20-balance/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235","token_address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"inputSchema":{"type":"object","required":["address","token_address"],"properties":{"address":{"type":"string","description":"Holder EVM address, 0x-prefixed."},"token_address":{"type":"string","description":"ERC-20 token contract address, 0x-prefixed."},"decimals":{"type":"number","description":"Token decimals override (optional)."}}},"output":{"type":"json","example":{"valid":true,"address":"0x0000000000000000000000000000000000000000","token_address":"0x0000000000000000000000000000000000000000","balance_raw":"0","decimals":6,"balance":0},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"address":{"type":"string"},"token_address":{"type":"string"},"balance_raw":{"type":"string"},"decimals":{"type":"number"},"decimals_source":{"type":"string"},"balance":{"type":"number"},"reason":{"type":"string"},"retryable":{"type":"boolean"},"scope":{"type":"string"}},"required":["valid","address","token_address"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/tx-activity/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}},"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."}}},"output":{"type":"json","example":{"valid":true,"address":"0x0000000000000000000000000000000000000000","tx_count":0,"is_contract":false,"first_funded_heuristic":false},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"address":{"type":"string"},"tx_count":{"type":"number"},"is_contract":{"type":"boolean"},"first_funded_heuristic":{"type":"boolean"},"scope":{"type":"string"}},"required":["valid","address","tx_count"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/block-info/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"block":"latest"}},"inputSchema":{"type":"object","required":[],"properties":{"block":{"type":"string","description":"Block number as hex (0x…) or decimal, or a tag (latest/earliest/pending/finalized/safe); defaults to latest."}}},"output":{"type":"json","example":{"valid":true,"block":"latest","block_number":0,"timestamp":0,"tx_count":0,"base_fee_gwei":0},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"block":{"type":"string"},"block_number":{"type":"number"},"timestamp":{"type":"number"},"timestamp_iso":{"type":"string"},"tx_count":{"type":"number"},"base_fee_gwei":{"type":"number"},"reason":{"type":"string"},"retryable":{"type":"boolean"},"scope":{"type":"string"}},"required":["valid","block_number"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/isin-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"isin":"US0378331005"}},"inputSchema":{"type":"object","required":["isin"],"properties":{"isin":{"type":"string","description":"12-character ISIN: 2-letter country code + 9 alphanumerics + check digit; spaces allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/ean13-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"code":"5901234123457"}},"inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"13-digit EAN-13 barcode; spaces/dashes allowed."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/gstin-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"gstin":"27AAPFU0939F1ZV"}},"inputSchema":{"type":"object","required":["gstin"],"properties":{"gstin":{"type":"string","description":"15-character Indian Goods and Services Tax Identification Number."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["valid","reason"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/crypto-ticker/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"symbol":"btc"}},"inputSchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Ticker symbol (btc, eth, sol, …) or a CoinGecko asset id (bitcoin, ethereum, …)."}}},"output":{"type":"json","example":{"valid":true,"symbol":"btc","coingecko_id":"bitcoin","price_usd":0,"currency":"usd","cached":false},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"symbol":{"type":"string"},"coingecko_id":{"type":"string"},"price_usd":{"type":"number"},"currency":{"type":"string"},"cached":{"type":"boolean"},"fetched_at":{"type":"string"},"reason":{"type":"string"},"retryable":{"type":"boolean"},"scope":{"type":"string"}},"required":["valid","symbol"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/context-distill/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"text":"The landlord demanded the deposit before the viewing. The deposit was paid before any viewing of the property."}},"inputSchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Arbitrary text to distill (any length; hashing is over the exact input)."}}},"output":{"type":"json","example":{"valid":true,"word_count":0,"meaningful_word_count":0,"top_words":[],"first_sentence":"","content_hash":"0x…"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"word_count":{"type":"number"},"meaningful_word_count":{"type":"number"},"top_words":{"type":"array"},"first_sentence":{"type":"string"},"content_hash":{"type":"string"},"scope":{"type":"string"}},"required":["valid","word_count"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/instant-json-schema-verifier/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"data":{"name":"Apex Agent","version":2},"schema":{"required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"number"}}}}},"inputSchema":{"type":"object","required":["data","schema"],"properties":{"data":{"type":"object","description":"The JSON data object to validate against the schema."},"schema":{"type":"object","description":"The JSON schema object with expected properties and types."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"errors":{"type":"array"},"execution_ms":{"type":"number"}},"required":["valid","errors","execution_ms"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/clean-markdown-scraper/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"html":"<h1>Protocol Overview</h1><p>Agentic non-custodial settlement gateway.</p><ul><li>Zero custody</li><li>Sub-cent fees</li></ul>"}},"inputSchema":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"Raw HTML string to scrape and clean into pristine Markdown."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"markdown":{"type":"string"},"wordCount":{"type":"number"},"headings":{"type":"array"}},"required":["markdown","wordCount"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/fx-spot-price-oracle/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"base":"EUR","quote":"USD"}},"inputSchema":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Base currency symbol (e.g. USDC, EUR, GBP, JPY)."},"quote":{"type":"string","description":"Quote currency symbol (e.g. USD, EUR, JPY)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"pair":{"type":"string"},"rate":{"type":"number"},"inverse":{"type":"number"},"timestamp":{"type":"number"},"source":{"type":"string"}},"required":["pair","rate","inverse","timestamp","source"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/create-b2b-invoice/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"amount_usdc":50000,"merchant":"0xc59c85e661d34084a7769f955d17fd38254a6235","client_name":"Apex AI","memo":"Sprint #14 Milestones"}},"inputSchema":{"type":"object","required":["amount_usdc","merchant"],"properties":{"amount_usdc":{"type":"number","description":"Invoice total in USDC (e.g. 50000)."},"merchant":{"type":"string","description":"Beneficiary contractor Base EVM wallet address (0x...)."},"client_name":{"type":"string","description":"Client enterprise organization name (optional)."},"memo":{"type":"string","description":"Engagement scope / milestone description (optional)."},"referrer":{"type":"string","description":"Referral partner wallet address to earn 20% protocol fee rebate (optional)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"invoice_id":{"type":"string"},"amount_usdc":{"type":"number"},"merchant":{"type":"string"},"status":{"type":"string"},"cart_hash":{"type":"string"},"protocol_fee_usdc":{"type":"number"},"invoice_url":{"type":"string"},"pay_url":{"type":"string"},"scope":{"type":"string"}},"required":["valid","invoice_id","invoice_url","pay_url"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/get-b2b-invoice/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"invoice_id":"inv_example1234"}},"inputSchema":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"string","description":"Unique invoice identifier, e.g. inv_a1b2c3d4e5f6."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"invoice_id":{"type":"string"},"status":{"type":"string"},"amount_usdc":{"type":"number"},"merchant":{"type":"string"},"client_name":{"type":"string"},"tx_hash":{"type":"string"},"settled_at":{"type":"number"},"scope":{"type":"string"}},"required":["valid","invoice_id","status"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/calculate-fx-savings/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"amount_usdc":50000,"currency":"BRL"}},"inputSchema":{"type":"object","properties":{"amount_usdc":{"type":"number","description":"Gross invoice settlement volume in USD/USDC."},"amount_usd":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"amount":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"currency":{"type":"string","description":"Target currency for local comparison (e.g. EUR, GBP, BRL, INR, ARS, PHP, NGN, SGD)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"amount_usdc":{"type":"number"},"currency":{"type":"string"},"legacy_swift_fee_usd":{"type":"number"},"deel_fee_usd":{"type":"number"},"code402_protocol_fee_usd":{"type":"number"},"retained_savings_usd":{"type":"number"},"pct_retained":{"type":"number"},"local_currency":{"type":"object"},"scope":{"type":"string"}},"required":["amount_usdc","retained_savings_usd","pct_retained"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/aci-trust-lookup/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"subject":"0x1111111111111111111111111111111111111111","settled_calls_90d":1500,"settlement_success_rate":0.999,"first_seen_days":120}},"inputSchema":{"type":"object","properties":{"subject":{"type":"string","description":"Agent wallet address (0x...) or canonical ANS identifier (c402:...) to evaluate"},"role":{"type":"string","description":"Agent role: 'payer' or 'seller' (default 'payer')"},"settled_calls_90d":{"type":"number","description":"Number of settled transactions in the past 90 days"},"settlement_success_rate":{"type":"number","description":"Historical settlement success rate 0.0 to 1.0"},"dispute_loss_rate":{"type":"number","description":"Historical dispute loss rate 0.0 to 1.0"},"first_seen_days":{"type":"number","description":"Days since first active on-chain settlement"},"sponsor_attestations":{"type":"array","description":"Array of signed sponsorship edges"}},"required":["subject"]},"output":{"type":"json","example":{"ok":true,"standard":"ACI-1","subject":"0x1111111111111111111111111111111111111111","tier":"T2","score_bp":7500,"unsettled_exposure_hint_minor":"100000000"},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"subject":{"type":"string"},"tier":{"type":"string"},"score_bp":{"type":"number"},"unsettled_exposure_hint_minor":{"type":"string"},"evidence":{"type":"object"},"policy_notice":{"type":"string"},"receipt_digest":{"type":"string"}},"required":["ok","standard","subject","tier","score_bp"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/dip-file-dispute/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"dispute_id":"disp-101","receipt":{"v":"XDR-1","tool":"iban-check","payer":"0x1111111111111111111111111111111111111111","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","amount":"999","ts":1700000000,"input_hash":"0x01","output_hash":"0x02","nonce":"0x01","signature":"0x01"},"claim":"NOT_DELIVERED"}},"inputSchema":{"type":"object","properties":{"dispute_id":{"type":"string","description":"Unique dispute reference identifier"},"receipt":{"type":"object","description":"Signed XDR-1 execution receipt being contested"},"claim":{"type":"string","description":"Claim type: 'NOT_DELIVERED', 'TIMEOUT_UNDELIVERED', 'OUTPUT_MISMATCH', or 'SCHEMA'"},"claimed_input":{"type":"string","description":"Original input payload or string for hash verification"},"delivered_output":{"type":"object","description":"Delivered output payload received from seller"},"refund_threshold_minor":{"type":"string","description":"USDC minor units threshold above which REFUND_ORDER_QUEUED is staged"}},"required":["dispute_id","receipt","claim"]},"output":{"type":"json","example":{"ok":true,"standard":"DIP-1","dispute_id":"disp-101","verdict":"NO_FAULT","upheld":false,"remedy":"NONE"},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"dispute_id":{"type":"string"},"verdict":{"type":"string"},"upheld":{"type":"boolean"},"remedy":{"type":"string"},"remedy_detail":{"type":"object"},"receipt_digest":{"type":"string"}},"required":["ok","standard","dispute_id","verdict","upheld","remedy"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/pod-verify-delivery/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"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}},"inputSchema":{"type":"object","properties":{"mandate":{"type":"object","description":"Delivery mandate with geofence polygon (lat_e7/lon_e7) and time window"},"attestation":{"type":"object","description":"Signed IoT device delivery attestation with coordinates, counter, and signatures"},"last_seen_counter":{"type":"number","description":"Anti-replay counter from previous delivery attestations"}},"required":["mandate","attestation"]},"output":{"type":"json","example":{"ok":true,"standard":"POD-1","mandate_id":"mandate-99","verdict":"POD_VERIFIED","verified":true},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"mandate_id":{"type":"string"},"verdict":{"type":"string"},"verified":{"type":"boolean"},"details":{"type":"object"},"attestation_receipt_digest":{"type":"string"}},"required":["ok","standard","verdict","verified"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/csp-commitment-create/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"invoice_object":{"invoice_id":"INV-402","amount_usdc":5000,"line_items":[{"sku":"H100_HR","qty":10}]}}},"inputSchema":{"type":"object","properties":{"invoice_object":{"type":"object","description":"Structured invoice or commercial agreement object to commit to"},"salt_hex":{"type":"string","description":"Optional 32-byte salt (0x...). If omitted, cryptographically derived"},"stealth_recipient":{"type":"string","description":"Optional Base L2 stealth recipient address for announcement"},"ephemeral_pubkey":{"type":"string","description":"Optional ephemeral public key for ERC-5564 announcement"},"view_tag":{"type":"string","description":"Optional 1-byte hex view tag (0xNN)"}},"required":["invoice_object"]},"output":{"type":"json","example":{"ok":true,"standard":"CSP-1","invoice_commitment":"0x...","salt_hex":"0x..."},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"invoice_commitment":{"type":"string"},"salt_hex":{"type":"string"},"canonical_jcs":{"type":"string"},"announcement":{"type":"object"}},"required":["ok","standard","invoice_commitment","salt_hex"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/iso20022-validate/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"raw_payload":"<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.001.09\"><CstmrCdtTrfInitn><GrpHdr><MsgId>MSG-2026-001</MsgId><NbOfTxs>1</NbOfTxs><CtrlSum>100.00</CtrlSum></GrpHdr><PmtInf><CdtTrfTxInf><Amt><InstdAmt Ccy=\"USD\">100.00</InstdAmt></Amt><CdtrAgt><FinInstnId><BICFI>DEUTDEDDFXX</BICFI></FinInstnId></CdtrAgt><CdtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></CdtrAcct></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn></Document>"}},"inputSchema":{"type":"object","properties":{"raw_payload":{"type":"string","description":"Raw ISO 20022 XML or JSON message text"},"format":{"type":"string","description":"'xml' or 'json' (default auto-detected)"},"namespace":{"type":"string","description":"Expected ISO 20022 schema namespace (e.g. 'pain.001.001.09')"},"transactions":{"type":"array","description":"Structured transactions array for JSON validation"}},"required":["raw_payload"]},"output":{"type":"json","example":{"ok":true,"standard":"BAP-1","valid":true,"namespace":"pain.001.001.09","tx_count":1,"ctrl_sum_minor":"10000"},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"valid":{"type":"boolean"},"namespace":{"type":"string"},"message_id":{"type":"string"},"tx_count":{"type":"number"},"ctrl_sum_minor":{"type":"string"},"findings":{"type":"array"},"receipt_digest":{"type":"string"}},"required":["ok","standard","valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/iso20022-to-x402-intent/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"instruction":{"end_to_end_id":"E2E-1001","instructed_amount":{"currency":"USD","amount_str":"250.00","amount_minor":"250000000"},"debtor":{"iban":"DE89370400440532013000"},"creditor":{"iban":"DE77100100100123456789"}},"seller_pay_to_address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}},"inputSchema":{"type":"object","properties":{"instruction":{"type":"object","description":"Validated BAP-1 payment instruction object"},"counterparty_wallet_directory":{"type":"object","description":"Enterprise IBAN -> 0x Base L2 wallet address map"},"seller_pay_to_address":{"type":"string","description":"Fallback recipient Base L2 address"},"chain_id":{"type":"number","description":"Target chain ID (default 8453 for Base)"}},"required":["instruction"]},"output":{"type":"json","example":{"ok":true,"standard":"BAP-1","status":"READY_FOR_ENTERPRISE_SIGNATURE"},"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"standard":{"type":"string"},"intent_template":{"type":"object"},"status":{"type":"string"},"notice":{"type":"string"}},"required":["ok","standard","intent_template","status"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/list-approved-insurers/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"coverage_type":"commercial_trade_credit"}},"inputSchema":{"type":"object","properties":{"coverage_type":{"type":"string","description":"Optional filter: 'smart_contract_execution', 'commercial_trade_credit', 'wire_fraud_bec_defense', or 'subagent_sla_delivery'"},"min_coverage_usdc":{"type":"number","description":"Minimum desired coverage limit in USDC"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"total_count":{"type":"number"},"underwriters":{"type":"array"},"open_access_policy":{"type":"string"}},"required":["valid","total_count","underwriters"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/quote-3rd-party-insurance/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"amount_usdc":50000,"coverage_type":"commercial_trade_credit"}},"inputSchema":{"type":"object","properties":{"amount_usdc":{"type":"number","description":"Transaction or invoice settlement amount in USDC (e.g. 50000)."},"amount":{"type":"number","description":"Alias for amount_usdc."},"tx_hash":{"type":"string","description":"On-chain transaction hash to insure (optional)."},"transaction_id":{"type":"string","description":"Transaction identifier (optional)."},"invoice_id":{"type":"string","description":"Associated invoice identifier (optional)."},"coverage_type":{"type":"string","description":"Desired coverage type: 'smart_contract_execution', 'commercial_trade_credit', 'wire_fraud_bec_defense', 'subagent_sla_delivery'"},"counterparty_address":{"type":"string","description":"Counterparty Base EVM wallet address (optional)."}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"amount_usdc":{"type":"number"},"tx_hash":{"type":"string"},"transaction_id":{"type":"string"},"invoice_id":{"type":"string"},"total_quotes":{"type":"number"},"quotes":{"type":"array"},"recommended_underwriter":{"type":"object"},"plain_english_summary":{"type":"string"},"scope":{"type":"string"}},"required":["valid","amount_usdc","quotes"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/bind-insurance-policy/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","maxAmountRequired":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"underwriter_id":"euler_allianz_trade_credit","amount_usdc":50000,"policyholder_address":"0x1111111111111111111111111111111111111111"}},"inputSchema":{"type":"object","required":["underwriter_id"],"properties":{"underwriter_id":{"type":"string","description":"Underwriter id from the open self-registration directory (run list-approved-insurers for current ids; the directory ships empty)"},"amount_usdc":{"type":"number","description":"Transaction coverage amount in USDC"},"amount":{"type":"number","description":"Alias for amount_usdc"},"tx_hash":{"type":"string","description":"Transaction hash being insured (optional)"},"transaction_id":{"type":"string","description":"Transaction reference ID (optional)"},"invoice_id":{"type":"string","description":"Associated invoice identifier (optional)"},"policyholder_address":{"type":"string","description":"Policyholder Base EVM address (0x...)"},"beneficiary_address":{"type":"string","description":"Beneficiary Base EVM address for claim payouts (0x...)"},"coverage_type":{"type":"string","description":"Coverage type override (optional)"}}},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"policy_id":{"type":"string"},"certificate_hash":{"type":"string"},"tx_hash":{"type":"string"},"invoice_id":{"type":"string"},"underwriter_id":{"type":"string"},"underwriter_name":{"type":"string"},"coverage_amount_usdc":{"type":"number"},"premium_usdc":{"type":"number"},"status":{"type":"string"},"pol1_certificate":{"type":"object"},"scope":{"type":"string"}},"required":["valid","policy_id","certificate_hash","status"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/upi-vpa-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"vpa":"merchant@okhdfcbank"}},"inputSchema":{"type":"object","properties":{"vpa":{"type":"string","description":"UPI Virtual Payment Address (e.g. 'merchant@okhdfcbank', '9876543210@paytm')"}},"required":["vpa"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"username":{"type":"string"},"handle":{"type":"string"},"accredited_psp":{"type":"boolean"},"country":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["tool","valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/pan-format-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"pan":"AAACP1234M"}},"inputSchema":{"type":"object","properties":{"pan":{"type":"string","description":"10-character PAN string (e.g. 'ABCDE1234F')"}},"required":["pan"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"entity_code":{"type":"string"},"entity_type":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["tool","valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/uae-trn-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"trn":"100123456700003"}},"inputSchema":{"type":"object","properties":{"trn":{"type":"string","description":"15-digit UAE TRN string (starts with 100)"}},"required":["trn"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"normalized":{"type":"string"},"country":{"type":"string"},"authority":{"type":"string"},"trn_type":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["tool","valid"]}}}}}},{"resource":"https://api.code402.dev/v1/tools/ofac-sdn-check/call","type":"http","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","maxAmountRequired":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","body":{"subject":"0x7f367cc41522ce07553e823bf3be79a889debe1b"}},"inputSchema":{"type":"object","properties":{"subject":{"type":"string","description":"EVM address (0x...) or ISO 3166-1 country code / jurisdiction name"}},"required":["subject"]},"output":{"type":"json","example":{"valid":true,"reason":"checksum valid"},"schema":{"type":"object","properties":{"tool":{"type":"string"},"valid":{"type":"boolean"},"is_sanctioned":{"type":"boolean"},"match_type":{"type":"string"},"subject":{"type":"string"},"sanction_program":{"type":"string"},"reason":{"type":"string"},"scope":{"type":"string"}},"required":["tool","valid","is_sanctioned"]}}}}}}],"asset":{"symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6},"decimals":6,"network":{"name":"base","chain_id":8453},"token_address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","authorization_type":"TransferWithAuthorization (EIP-3009)","signature_scheme":"EIP-712","eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"challenge_ttl_seconds":300,"custody":"none","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","price_minor":"flat commodity floor ($0.005 USDC); the 402 challenge body is authoritative","pricing_mode":"neutral-clearinghouse","pricing_policy":"monetize-truth-not-transit","pricing_rule":"flat at-cost commodity floor ($0.005 USDC); supporter and patron floors on demand (no service difference); each accepted voucher settles as its own transfer","free_tier":"3 calls/day per client","settlement":"facilitator (gas-sponsored, on-chain, non-custodial, failover chain)","notes":"The 402 challenge body is authoritative for recipient, amount, chain, nonce. Payer->seller direct; the rail never holds funds.","x402Version":1,"service":"code402","version":"1.3.0","scheme":"eip3009","networkId":"eip155:8453","receiptSigner":"0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8","facilitators":[{"url":"https://facilitator.payai.network","role":"primary"},{"url":"https://facilitator.dexter.cash","role":"fallback"}],"pricing":{"mode":"neutral-clearinghouse","policy":"monetize-truth-not-transit","reserveFloorUsdc":0.005,"netting_implemented":false,"maxMultiplier":5},"discovery":{"mcp":"https://api.code402.dev/mcp","smithery":"https://api.code402.dev/smithery.json","agentCard":"https://api.code402.dev/.well-known/agent.json","commercialFeed":"https://api.code402.dev/api/autonomous/commercial/feed"}}