Code402 Modules API

The Modules API from Code402 — 4 operation(s) for modules.

GitHub OpenAPI

Operations 4

POST /v1/modules/oracle/vendor-risk-score Sub-$0.01 auto-sign structural IBAN (MOD-97) & LEI (ISO 17442) check with… #
POST /v1/modules/commerce/accelerate-payout Calculate B2B invoice early-payment discount and accounts-payable payout split… #
POST /v1/modules/compliance/einvoice-transform Convert and validate B2B electronic invoice data into Peppol BIS Billing 3.0… #
POST /v1/modules/dip1/adjudicate-dispute Compare order, payment and carrier delivery SHA-256 records to detect… #

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-modules-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-modules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Code402 Dev Modules 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 Modules 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: Modules
paths:
  /v1/modules/oracle/vendor-risk-score:
    post:
      operationId: vertical_vendor_risk_score
      summary: Sub-$0.01 auto-sign structural IBAN (MOD-97) & LEI (ISO 17442) check with…
      description: 'Sub-$0.01 auto-sign structural IBAN (MOD-97) & LEI (ISO 17442) check with signed XDR-1 receipt (10,000 minor / $0.01 USDC, or 5,000 minor on POST /v1/tools/iban-check/call). Paid via x402: sign accepts[0] EIP-3009 authorization and retry with PAYMENT-SIGNATURE. MCP tool: hcrb_vendor_risk_score.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
            example:
              iban: NO9386011117947
              lei: 549300H0H1N7V5T4B852
              country_code: 'NO'
      responses:
        '200':
          description: Result with a signed XDR-1 receipt
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid input
        '402':
          description: Payment required (x402). The 402 challenge in PAYMENT-REQUIRED is authoritative for the exact amount and payee.
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    type: integer
                  accepts:
                    type: array
                  error:
                    type: string
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.01'
          max: '0.05'
        protocols:
        - x402: {}
        note: Published floor and ceiling. The 402 challenge body is authoritative for the exact amount; read accepts[0].amount before authorizing.
      tags:
      - Modules
    servers:
    - url: https://hcrb.in
  /v1/modules/commerce/accelerate-payout:
    post:
      operationId: vertical_accelerate_payout
      summary: Calculate B2B invoice early-payment discount and accounts-payable payout split…
      description: 'Calculate B2B invoice early-payment discount and accounts-payable payout split (2/10 Net 30 invoice discounting arithmetic in EUR/USD/USDC) with a signed XDR-1 receipt (5,000 minor / $0.005 USDC). Paid via x402: sign accepts[0] EIP-3009 authorization and retry with PAYMENT-SIGNATURE. MCP tool: hcrb_accelerate_payout.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
            example:
              invoice_amount: 1000
              invoice_currency: EUR
              settlement_currency: USDC
              net_terms_days: 30
      responses:
        '200':
          description: Result with a signed XDR-1 receipt
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid input
        '402':
          description: Payment required (x402). The 402 challenge in PAYMENT-REQUIRED is authoritative for the exact amount and payee.
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    type: integer
                  accepts:
                    type: array
                  error:
                    type: string
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.005'
          max: '0.025'
        protocols:
        - x402: {}
        note: Published floor and ceiling. The 402 challenge body is authoritative for the exact amount; read accepts[0].amount before authorizing.
      tags:
      - Modules
    servers:
    - url: https://hcrb.in
  /v1/modules/compliance/einvoice-transform:
    post:
      operationId: vertical_einvoice_transform
      summary: Convert and validate B2B electronic invoice data into Peppol BIS Billing 3.0…
      description: 'Convert and validate B2B electronic invoice data into Peppol BIS Billing 3.0 UBL 2.1 XML and ISO 20022 structured postal address format, checking supplier VAT and LEI tax identifiers (10,000 minor / $0.01 USDC). Paid via x402: sign accepts[0] EIP-3009 authorization and retry with PAYMENT-SIGNATURE. MCP tool: hcrb_einvoice_transform.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
            example:
              supplier_name: EQUINOR ASA
              supplier_vat_or_lei: NO971036081MVA
              supplier_country: 'NO'
              net_amount: 1000
              currency: EUR
      responses:
        '200':
          description: Result with a signed XDR-1 receipt
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid input
        '402':
          description: Payment required (x402). The 402 challenge in PAYMENT-REQUIRED is authoritative for the exact amount and payee.
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    type: integer
                  accepts:
                    type: array
                  error:
                    type: string
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.01'
          max: '0.05'
        protocols:
        - x402: {}
        note: Published floor and ceiling. The 402 challenge body is authoritative for the exact amount; read accepts[0].amount before authorizing.
      tags:
      - Modules
    servers:
    - url: https://hcrb.in
  /v1/modules/dip1/adjudicate-dispute:
    post:
      operationId: vertical_dip1_adjudicate
      summary: Compare order, payment and carrier delivery SHA-256 records to detect…
      description: 'Compare order, payment and carrier delivery SHA-256 records to detect transaction mismatches, underpayment or missing delivery evidence (DIP-1 / AP2 mandate check, 10,000 minor / $0.01 USDC). Paid via x402: sign accepts[0] EIP-3009 authorization and retry with PAYMENT-SIGNATURE. MCP tool: hcrb_dip1_adjudicate.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
            example: {}
      responses:
        '200':
          description: Result with a signed XDR-1 receipt
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid input
        '402':
          description: Payment required (x402). The 402 challenge in PAYMENT-REQUIRED is authoritative for the exact amount and payee.
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    type: integer
                  accepts:
                    type: array
                  error:
                    type: string
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.01'
          max: '0.05'
        protocols:
        - x402: {}
        note: Published floor and ceiling. The 402 challenge body is authoritative for the exact amount; read accepts[0].amount before authorizing.
      tags:
      - Modules
    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