Skip to main content
GET
List Fiat Flows
Use this endpoint to retrieve a granular ledger of fiat balance changes for a merchant account. Unlike Funding Records (which show aggregate transactions), Fiat Flow records surface the individual double-entry lines — including separate fee entries, rollback events, and transfer movements. This is the recommended endpoint for building real-time balance reconciliation and accounting exports.
All requests must include the X-BH-TOKEN header with a business token from GET /v2/token/generate.

Endpoint

GET https://api.velafi.com/v2/merchant/fiat/flows

Query Parameters

integer
Filter by the merchant’s ID.
string
Filter by fiat currency code.
integer
Filter by a specific funding transaction ID.
string
Filter by flow type. Accepted values:
  • ALL — all types (default)
  • DEPOSIT — incoming deposit
  • WITHDRAW — outgoing withdrawal
  • WITHDRAW_ROLLBACK — reversal of a withdrawal
  • BUY_CRYPTO — crypto purchase debit
  • BUY_CRYPTO_ROLLBACK — reversal of a crypto purchase
  • REFUND — refund credit
  • REFUND_ROLLBACK — reversal of a refund
  • TRANSFER_IN — internal transfer credit
  • TRANSFER_OUT — internal transfer debit
integer
Start of the date range as a Unix timestamp in milliseconds.
integer
End of the date range as a Unix timestamp in milliseconds.
integer
Page number to retrieve (1-based). Defaults to 1.
integer
Number of records per page. Default is 10, maximum is 1000.

Response Fields

number
HTTP-style response code. 200 indicates success.
string
Human-readable status message, e.g. SUCCESS.
object

Example

cURL
Response
Each trade typically generates at least two flow lines — one TRADE line for the principal and one FEE line for the fee. Filter by category to separate them in your accounting workflow.