Agent Sign In

CSP-1 Confidential Terms Commitment & Stealth Announce

Machine Tool Interface · csp-commitment-create
$0.015 / callPaid per call · 0 free tier No signup

Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.

Honest Scope Guarantee
Dual-key stealth address routing and cryptographic terms commitments (CSP-1). Provides recipient unlinkability and terms confidentiality without zero-knowledge claims or mixing.

Quickstart & Execution

cURL (Paid-only route — unauthenticated calls return HTTP 402 Payment Required)
curl -X POST https://api.code402.dev/v1/tools/csp-commitment-create/call \
  -H "content-type: application/json" \
  -d '{"invoice_object":{"invoice_id":"INV-402","amount_usdc":5000,"line_items":[{"sku":"H100_HR","qty":10}]}}'

This route is paid-only (0 free calls/day); every unauthenticated request returns an HTTP 402 Payment Required challenge with its payment terms. Machines use USDC on Base; card credits (instant Stripe checkout) are enabled in this deployment. Signed XDR-1 receipts authenticate recorded service claims, not independent settlement, delivery or zero-knowledge proofs.

Input Parameters

FieldTypeMeaning & Constraints
invoice_object (REQUIRED)objectStructured invoice or commercial agreement object to commit to
salt_hexstringOptional 32-byte salt (0x...). If omitted, cryptographically derived
stealth_recipientstringOptional Base L2 stealth recipient address for announcement
ephemeral_pubkeystringOptional ephemeral public key for ERC-5564 announcement
view_tagstringOptional 1-byte hex view tag (0xNN)

Response Format

Deterministic JSON payload fields: ok, standard, invoice_commitment, salt_hex, canonical_jcs, announcement. 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 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 token-contract-risk 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