Envelope
{ success, data, meta }
All monetary amounts serialized as decimal strings to avoid float drift.
Authentication
Bearer fl_test_...
Keys are SHA-256 hashed, shown once at creation, and default to 60 req/min.
Webhooks
HMAC-SHA256 Signed
Signed via X-Finlabs-Signature; auto-disabled after 10 consecutive failures.
Core Endpoints
GET
/api/v1/balancesRetrieve real-time posted, held, reserve, and available wallet balances as decimal strings.
GET / POST
/api/v1/clientsList or create end-clients with optional Sumsub KYC token handoff.
GET / POST
/api/v1/vibansIssue a virtual IBAN for a KYC-approved client or inspect issued accounts.
GET / POST
/api/v1/beneficiariesCreate and list payees; validate via POST /api/v1/beneficiaries/:id/validate.
GET / POST
/api/v1/payoutsInitiate an outbound payout with atomic balance hold and double-entry accounting.
POST
/api/v1/fx/quotesFetch live interbank + spread FX quotes locked for 5 minutes.