Code402 · Authentication Profile

Code402 Authentication

Authentication

Code402 secures its APIs with apiKey and http across 4 declared security schemes, as derived from its OpenAPI definitions.

CompanyPaymentsReconciliationx402AI AgentsVerificationMCPISO 20022
Methods: apiKey, http Schemes: 4 OAuth flows: API key in: header

Security Schemes

OperatorQuotaBearer http
scheme: bearer
X402PaymentSignature apiKey
· in: header (PAYMENT-SIGNATURE)
TrialKey http
scheme: bearer
EntitlementKey http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-11-04'
method: searched
source:
- openapi/code402-dev-openapi.yml
- https://code402.dev/docs
- https://hcrb.in/llms.txt
docs: https://code402.dev/docs
summary:
  types:
  - apiKey
  - http
  api_key_in:
  - header
schemes:
- name: OperatorQuotaBearer
  type: http
  scheme: bearer
  description: Prepaid non-custodial quota key (ck_live_...) purchased at https://hcrb.in/checkout
  docs_quote: 'Existing credit keys still use Authorization: Bearer ck_… .'
  sources:
  - openapi/code402-dev-openapi.yml
  - https://code402.dev/docs
- name: X402PaymentSignature
  type: apiKey
  in: header
  parameter: PAYMENT-SIGNATURE
  description: Base64-encoded EIP-3009 transferWithAuthorization voucher on Base (eip155:8453)
  docs_quote: 'x402 v2 HTTP: decode PAYMENT-REQUIRED; an authorized client sends PAYMENT-SIGNATURE; inspect PAYMENT-RESPONSE. Legacy X-PAYMENT compatibility is separate from the v2 format.'
  sources:
  - openapi/code402-dev-openapi.yml
  - https://hcrb.in/llms.txt
- name: TrialKey
  type: http
  scheme: bearer
  documented_only: true
  description: 'Docs: "mint a trial key (5-minute bearer, larger budget) and send it as Authorization: Bearer <trial-key>", minted via POST https://hcrb.in/api/auth/ephemeral-key. Not declared in the OpenAPI;
    not called by this pipeline.'
  sources:
  - https://code402.dev/docs
- name: EntitlementKey
  type: http
  scheme: bearer
  documented_only: true
  description: 'llms.txt: GET https://hcrb.in/entitlement with header "Authorization: Bearer ek_..."'
  sources:
  - https://hcrb.in/llms.txt
unauthenticated_access: A daily free allowance is available without a wallet; MCP "no key needed to start".
key_formats:
- ck_live_
- ek_

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/code402-dev-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.