API Reference

Complete IOCode API surface โ€” Admin (Python :3083) and Lookup (Go :3085).

IOCode System Overview

IOCode assigns deterministic, buyer-specific codes to hospitality products. Each property gets a unique internal sequence, and each buyer sees a different encrypted 8-character code (FFX/FF1 format-preserving encryption).

Services

ServicePortTechPurpose
Admin API3083Python/FastAPIRegistration, management, CRUD
Go Lookup3085Go/ChiSub-ms Redis lookups for buyers
Dashboard3087SvelteKitAdmin UI, API Explorer
Database5433PostgreSQL 16Identity, xref, audit schemas

Code Format

TypeLengthExampleDescription
Property8 charsK7NP4R2XBuyer-specific property code
Room12 charsK7NP4R2X-3F1Property code + room suffix

Authentication

Admin endpoints are open (internal network). Buyer-facing endpoints require Authorization: Bearer <api_key>. Keys are SHA-256 hashed and stored in auth.api_keys.