SDKs & Tools
SDKs & Postman
Official client libraries for TypeScript and Python, plus Postman collections for every pillar. All SDKs are generated from the same OpenAPI 3.1 specs that power the interactive API reference.
TypeScript / Node.js SDK
Works in Node.js 18+ and modern browsers. Fully typed — every request and response shape is inferred from the OpenAPI spec. Monetary values are returned as strings to preserve decimal precision.
One package per pillar — install only what you need. There is no unified @interpose/sdk meta-package; each client is scoped to its pillar's API surface.
Install
Initialize a client
BaaS — accounts & orders
Portfolio Management — rebalancing
Post-Trade — settlement
TPA and Trust don't have dedicated client packages yet — call their REST APIs directly using the OpenAPI specs linked above. @interpose/agents-sdk (AgentsClient) is also available for the AI back-office agents API.
Error handling
Python SDK
Requires Python 3.10+. Uses httpx under the hood (sync client). One installable package, three per-pillar clients — mirrors the TypeScript SDK's shape. Every response is a dict-with-attribute-access object; monetary and quantity fields stay exactly the strings the API returns (e.g. "10.00000000") — never coerced to float. Parse with decimal.Decimal when you need to compute.
Install
Initialize a client
Three auth modes, matched to what each pillar's API actually accepts server-side: a pre-obtained bearer token, an API key exchanged for a bearer token automatically (OAuth 2.0 client_credentials — BaaS and PM), or raw HMAC-SHA256 request signing with no token round-trip (PM only today).
BaaS — accounts & orders
PM — portfolios & the certification harness
pm.certification wraps the parallel-run accuracy harness: reconcile Interpose's own computed performance against an incumbent's figures, and pull the daily AUM-weighted attribution-error report a development-partnership fee gate is measured against.
Error handling
Postman Collections
Each pillar ships a pre-built Postman collection with every endpoint, example request bodies, and environment variables for baseUrl, apiKey, and common entity IDs. Import a collection into Postman, set the environment variables, and you can exercise the full API in minutes.
BaaS Collection
Accounts, KYC, orders, positions, funding
interpose-baas.json
Post-Trade Collection
Transactions, settlement, reconciliation
interpose-post-trade.json
Portfolio Management Collection
Portfolios, models, rebalancing, billing
interpose-pm.json
Retirement Plan Admin Collection
Plans, participants, vesting, contributions
interpose-tpa.json
Environment setup
After importing a collection, create a Postman environment with these variables:
Each collection's pre-request scripts automatically compute the HMAC-SHA256 signature if you set an hmacSecret environment variable — no manual signing required.
Next steps
- Authentication guide — Bearer tokens and HMAC signing
- BaaS API reference — Full endpoint docs
- PM API reference — Portfolios, rebalancing, billing
- TPA API reference — Retirement plans and compliance