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
Thesource_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
Thedestination_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.- Customer Withdrawal
- Exchange Deposit
- Internal Transfer
- Exchange to Workspace
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.