Overview
Fiat accounts hold balances denominated in traditional currencies (USD, GBP, EUR, and others). OpenFX supports two fiat account types:| Type | Description | Use Case |
|---|---|---|
demand_deposit | Standard fiat bank account | General-purpose operating accounts, treasury, payroll |
virtual | Segregated fiat sub-account | Client money segregation, earmarked funds, escrow |
virtual accounts provide logical segregation within the platform for client money management use cases.
Creating a Fiat Account
To create a fiat account, send aPOST /accounts request with type set to demand_deposit or virtual and a valid ISO 4217 currency code.
Prerequisites: The customer must be in
active status (KYB approved) and have the accounts capability.Multi-Currency Support
A single fiat account holds balances in its designated currency. To hold multiple currencies, create one account per currency.Account Numbers as Sub-Resources
Fiat accounts receive deposits through account numbers — routing identifiers like ACH routing numbers, IBANs, or UK sort codes. Account numbers are not inline fields on the account. They are managed as separate sub-resources under/accounts/{accountId}/account-numbers.
This design allows a single account to have multiple account numbers across different rails:
See the Account Numbers guide for full details on creating and managing account numbers.
Listing Account Numbers
Retrieve all account numbers provisioned for an account:Receiving Fiat Deposits
To receive fiat deposits into an account:- Create the account with
POST /accounts. - Create an account number with
POST /accounts/{accountId}/account-numbersspecifying the rail type (us_ach,us_fedwire,iban,uk_sort_code). - Share the routing details (routing number + account number, or IBAN + BIC) with the sender.
- When funds arrive, the balance is credited to the account.
Closing a Fiat Account
Close an account withPOST /accounts/{accountId}/close. The account must have a zero balance and no pending transactions.
API Reference
- POST /accounts — Create account
- GET /accounts — List accounts
- GET /accounts/ — Get account
- POST /accounts//close — Close account
- GET /accounts//balances — List balances
- GET /accounts//account-numbers — List account numbers
- POST /accounts//account-numbers — Create account number
- GET /accounts//deposit-instructions — List deposit instructions