Simulation
Simulate a fiat deposit
https://api.firstleeward.com/v0/simulation/fiat-depositsSimulates a bank transfer credited to the project's master collateral account. The deposit is recorded as already settled, the master balance is credited, and FIAT_DEPOSIT_CREATED is delivered, matching what a reconciled transfer does in production. Only available to Program-Funded projects, which are the ones that have a master collateral account. currency must be one the project accepts top-ups in, which is the project's billing currency.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Body
application/json
amountnumberrequiredAmount the sender transferred, credited to the master account
currencystringrequiredCurrency the transfer was sent in, as an ISO 4217 alpha code (e.g. HKD). Must be a currency the project accepts top-ups in.
senderNamestringName of the sender. Randomly generated if omitted.
referencestringReference the sender attached to the transfer. Absent if omitted.
Response
200Response for status 200
idstring<uuid>requiredUnique fiat deposit identifier
accountIdstring<uuid>requiredAccount credited by the deposit
transactionIdstringrequiredThe bank's unique identifier for the incoming transfer. Use it to reconcile the deposit against a bank statement.
statusstringrequiredCurrent deposit status
SETTLEDamountnumberrequiredAmount credited to the account balance
currencystringrequiredCurrency the credit was applied in
originalAmountnumberrequiredAmount of the incoming transfer, as received by the bank
originalCurrencystringrequiredCurrency the transfer was sent in, as the bank reported it. A transfer must be sent in the billing currency of your card program.
senderNamestring | nullrequiredName of the sender, when the bank reported one
referencestring | nullrequiredReference the sender attached to the transfer, when present
occurredAtstringrequiredISO 8601 timestamp of when the bank received the transfer
createdAtstringrequiredISO 8601 timestamp of creation
updatedAtstringrequiredISO 8601 timestamp of last update
400Response for status 400
Option 1 · SimulationInvalidStateError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · SimulationUnsupportedCurrencyError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired