Skip to main content

Base URL

Testnet requests use the same base URL. The environment is determined by which API key you send (sk_testnet_... vs sk_live_...).

Conventions

  • All request and response bodies are JSON.
  • Amounts are decimal strings or numbers in the currency’s major unit (e.g. 25.00 = $25.00), not minor units, unless otherwise noted.
  • All timestamps are ISO 8601 UTC.
  • Idempotency: pass an Idempotency-Key header on any POST to safely retry a request.

Resource groups

Payments

One-time push/pull transfers. No standing authorization.

Agentic

Mandates, session keys, and debit pulls for recurring, agent-initiated transactions.

Identity

Verifiable Credential issuance and verification.

Data

ZK-TLS financial data oracle (V2 roadmap).

Errors

OpenFi uses standard HTTP status codes. Error responses share a common shape: