Skip to main content
When you create or query transactions through the Finrock API, two enum fields — source_type and destination_type — describe where funds originate and where they are going. Understanding these values helps you construct accurate transaction requests and filter your transaction history effectively.

source_type

The source_type field identifies where the funds for a transfer originate.
For the vast majority of outgoing transfers you initiate programmatically, the source_type will be INTERNAL.

destination_type

The destination_type field identifies where the funds are being sent.

Transaction Type Reference

Beyond the source/destination pair, Finrock also categorises transactions by their functional type. These types appear in transaction history and webhook payloads.

Practical Examples

The following combinations cover the most common use cases you will encounter when building on the Finrock API.
A customer requests a payout to their personal wallet address. Funds leave your workspace and go to an external address.
Use this pattern for any transfer that exits your workspace to an on-chain address you do not control.
When filtering your transaction history, you can combine source_type and destination_type query parameters to narrow results to a specific flow — for example, retrieving only customer withdrawals (INTERNAL → EXTERNAL) for a reconciliation report.