RS5
Primitives, not platforms.
Settlement, relay, and multi-tenant management as direct API calls. Usage-based. OpenAPI 3.1. TypeScript types on npm.
Create relay room
curl
1# Create an ephemeral relay room2curl -X POST https://api.flomisma.com/v1/relay/rooms \3 -H "Authorization: Bearer fmr_your_key" \4 -H "Content-Type: application/json" \5 -d '{"tier": "startup"}'67# Response8{9 "roomId": "room_abc123",10 "joinToken": "jt_xyz...",11 "expiresAt": "2026-06-01T00:00:00Z"12}▋Create ledger entry
curl
1# Record a settlement event2curl -X POST https://api.flomisma.com/v1/ledger/entries \3 -H "Authorization: Bearer fmr_your_key" \4 -H "Content-Type: application/json" \5 -d '{6 "type": "SETTLEMENT",7 "amount": 5000,8 "currency": "USD",9 "description": "Q2 platform fee settlement"10 }'▋Get current tenant
curl
1# Retrieve current tenant metadata2curl https://api.flomisma.com/v1/tenants/current \3 -H "Authorization: Bearer fmr_your_key"▋TypeScript types
types.ts
1import type { paths } from '@flomisma/api-types'23type CreateRoomBody =4 paths['/relay/rooms']['post']['requestBody']['content']['application/json']56type LedgerEntry =7 paths['/ledger/entries']['post']['responses']['201']['content']['application/json']▋