This is an early, working draft of the OpenFi API reference. Endpoints, parameters, and response shapes are subject to change before the public testnet launch.
What is OpenFi
OpenFi is the infrastructure layer that lets applications, and autonomous AI agents, move money and verify identity across both traditional banking rails and blockchain rails through one API.The four pillars
1. Bi-Directional Direct Debits
Standardized pull transactions across Web2 and Web3, live in V1.
2. Symmetrical Data Oracles
ZK-TLS financial data oracle, V2 roadmap, not yet in the API.
3. Identity & Anti-Bot Verification
W3C Verifiable Credentials for Sybil resistance, live in V1 (endpoints still placeholder).
4. Atomic Clearing & Escrows
Real-time settlement is atomic by default today; Programmatic Escrow is V2 roadmap.
Two kinds of money movement
One-time payments
A single push or pull payment. No standing authorization is created.
Agentic recurring debits
A mandate + session-key flow that lets a human or an AI agent pull funds repeatedly within strict, on-chain enforced limits.
How the API is organized
The API is split at the route level to match how these two flows actually work under the hood:
This same split is reflected in the SDKs as two modules:
payments and agentic.
Settlement Chains
Every OpenFi call, regardless of which route it hits, ultimately touches one of two settlement chains:- Aptos (Move): settlement router + allowance state machine (the on-chain enforcement behind mandates and session keys)
- Stellar (Soroban): settlement router + attestation verifier (data-oracle / proof-of-financial-health use cases)
Quickstart
Get a testnet key and make your first call.
Authentication
How API keys and signing work.

