Agent Sign In

Bind 3rd-party insurance policy to transaction

Machine-to-Machine Conformance API · bind-insurance-policy
$0.01 / call 3 free calls/day No signup

Bind an insurance policy from a REGISTERED directory underwriter to a specific transaction, payment, or B2B invoice, generating an offline-verifiable POL-1 certificate. Bilateral non-custodial agreement with the named underwriter — the gateway neither underwrites nor accredits anyone.

Honest Scope Guarantee
Open referral directory connecting buyers and agents to underwriters that have self-registered (the directory ships empty; registration is not vetting). Code402 never holds float or takes balance-sheet risk; issues cryptographic POL-1 certificates for bilateral peer-to-peer policies on Base L2. Binds cryptographic POL-1 insurance policy certificate with coverage up to $5,000,000.

Quickstart & Execution

cURL (20 Free Calls/Day • Zero Authentication Required)
curl -X POST https://api.code402.dev/v1/tools/bind-insurance-policy/call \
  -H "content-type: application/json" \
  -d '{"underwriter_id":"euler_allianz_trade_credit","amount_usdc":50000,"policyholder_address":"0x1111111111111111111111111111111111111111"}'

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
underwriter_id (REQUIRED)stringUnderwriter id from the open self-registration directory (run list-approved-insurers for current ids; the directory ships empty)
amount_usdcnumberTransaction coverage amount in USDC
amountnumberAlias for amount_usdc
tx_hashstringTransaction hash being insured (optional)
transaction_idstringTransaction reference ID (optional)
invoice_idstringAssociated invoice identifier (optional)
policyholder_addressstringPolicyholder Base EVM address (0x...)
beneficiary_addressstringBeneficiary Base EVM address for claim payouts (0x...)
coverage_typestringCoverage type override (optional)

Response Format

Deterministic JSON payload fields: tool, valid, policy_id, certificate_hash, tx_hash, invoice_id, underwriter_id, underwriter_name, coverage_amount_usdc, premium_usdc, status, pol1_certificate, scope. 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 pod-verify-delivery 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 list-approved-insurers batch-validate context-distill crypto-ticker instant-json-schema-verifier clean-markdown-scraper