Code402 Autonomous API

The Autonomous API from Code402 — 1 operation(s) for autonomous.

GitHub OpenAPI

Operations 1

POST /v1/autonomous/commerce-guard Universal Autonomous B2B Tax, Bank Account, ISO 20022 & FX Pre-Disbursement… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/code402-dev:code402-dev-autonomous-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

code402-dev-autonomous-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Code402 Dev Autonomous API
  version: 1.3.0
  contact:
    name: JUANA LIMITED (HCRB / Code402)
    url: https://hcrb.in
    email: support@code402.dev
  x-guidance: 'Pay-per-call deterministic checks with machine-readable x402 challenges. PAID routes declare a published floor in x-payment-info; the 402 challenge body is authoritative for recipient, amount, asset and network, and the configured gas-cost floor may raise the amount — read accepts[0] before authorizing. FREE routes carry security: []. Start with the four flagship checks (iban-check, lei-check, vat-mod97-check, swift-bic-check): 5 free calls/day per caller, then the published per-call floor. If 77 routes is more than your budget allows, GET /.well-known/x402.slim.json for a four-route first-call manifest instead. Receipt verification is free and needs no account: POST /v1/receipt/verify or /v1/receipt/verify/batch (up to 1000 per request), and verifying keys are public at /.well-known/jwks.json so verification never requires calling us. A valid receipt proves the declared signer signed those exact bytes — not settlement, delivery, ownership or the truth of a business claim. Non-custodial throughout: payer to seller, no deposit, no float.'
  x-provider-name: JUANA LIMITED (HCRB / Code402)
  description: 'Operations tagged Autonomous across 2 of this provider''s published API definitions: code402-dev-openapi-hcrb.json, code402-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://hcrb.in
tags:
- name: Autonomous
paths:
  /v1/autonomous/commerce-guard:
    post:
      operationId: autonomousCommerceGuard
      summary: Universal Autonomous B2B Tax, Bank Account, ISO 20022 & FX Pre-Disbursement…
      description: Accepts raw payloads from Shopify B2B, Stripe Invoicing, SAP S/4HANA, Xero, Peppol, or custom JSON. Automatically detects the platform, validates statutory IDs/IBANs/FX spreads, and returns an RFC 8785 JCS XDR-1 signed decision receipt.
      x-x402-pricing:
        verify_id: '5000'
        commerce_reconcile: '10000'
        ap2_mandate_guard: '10000'
        iso20022_swift_repair: '20000'
        enterprise_batch: '50000'
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.005'
          max: '0.05'
        protocols:
        - x402: {}
        note: Published floor and ceiling across auto-detected Kaizen modules. Read accepts[0].amount on HTTP 402 before authorizing.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              example:
                country: PL
                vat: PL5261040828
                iban: DE89370400440532013000
                currency: EUR
                amount_minor: '125000'
      responses:
        '200':
          description: Deterministic verification verdict + XDR-1 signed decision receipt
        '402':
          description: x402 v2 Challenge + Self-Serve Fiat Quota Link
      tags:
      - Autonomous
    servers:
    - url: https://hcrb.in
components:
  securitySchemes:
    OperatorQuotaBearer:
      type: http
      scheme: bearer
      description: Prepaid non-custodial quota key (ck_live_...) purchased at https://hcrb.in/checkout
    X402PaymentSignature:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: Base64-encoded EIP-3009 transferWithAuthorization voucher on Base (eip155:8453)
x-refined-from:
- code402-dev-openapi-hcrb.json
- code402-dev-openapi.yml