hip-1340

HIP-1340: Principal โ€” Cryptographic Identity Statements & Authorization Clearance Plane. Status Final. Hanzo architectural specification.

HIP-1340: Principal โ€” Cryptographic Identity Statements & Authorization Clearance Plane

Abstract

Package principal (/v1/principal) defines the formal clearance and cryptographic verification plane for cross-organization entity authorization, sanctions/compliance checks, and payment clearance. Operating in conjunction with Hanzo IAM (hanzo.id) and sovereign DID identities (did:hanzo:<org>:<user>), principal provides automated, data-driven decisions on whether organizations may transact, contract, or exchange payments on Hanzo rails.

This proposal specifies the payment clearance lifecycle, regulatory obligation determination, and verifiable cryptographic identity statements.

Motivation

Cross-organization commerce, B2B contracting, and multi-tenant billing require deterministic compliance boundaries. Transactions between entities can trigger regulatory, sanctions (OFAC), anti-money laundering (FATF Travel Rule), and tax withholding obligations.

Traditional architectures rely on asynchronous, out-of-band compliance reviews that interrupt transactions and introduce subjective delays. principal formalizes clearance as an immediate, rule-based data object (Clearance), evaluating payer/payee status, category of service, jurisdictions, and reporting thresholds synchronously before funds move.

Specification

The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.

1. Payment Clearance Model (Clearance)

Before a transaction settles between two organizations, the payment rail requests a decision from /v1/principal/clearance:

2. Cryptographic Identity Statements

3. HTTP Endpoints

| Method | Path | Description | |:---|:---|:---| | POST | /v1/principal/clearance | Evaluate transaction parameters and issue payment clearance | | GET | /v1/principal/clearance/:id | Retrieve an existing clearance decision record | | POST | /v1/principal/statements | Issue a cryptographically signed principal statement | | POST | /v1/principal/verify | Verify the cryptographic integrity of an identity statement |