Fetching Currencies
The API supports two transaction directions: deposit and withdraw. The deposit direction allows you to collect funds from users into the platform, while the withdraw direction facilitates transferring funds from the platform to users. To retrieve a list of supported currencies for either transaction type, you can send a GET request to the respective endpoint, specifying the direction as a query parameter (direction=deposit or direction=withdraw).
Fiat currencies: List of currencies supported on both Deposit & Withdraw. We support the currencies format of ISO-4217.
For Deposit Direction
curl --request GET \
--url 'https://sandbox-api.transfi.com/v2/supported-currencies?direction=deposit&page=5&limit=1' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
For Withdraw Direction
curl --request GET \
--url 'https://sandbox-api.transfi.com/v2/supported-currencies?direction=withdraw&page=5&limit=1' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
Crypto currencies: List of crypto tokens and networks supported on both Deposit & Withdraw.
For Deposit Direction
curl --request GET \
--url 'https://sandbox-api.transfi.com/v2/config/list-tokens?direction=deposit' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
For Withdraw Direction
curl --request GET \
--url 'https://sandbox-api.transfi.com/v2/config/list-tokens?direction=withdraw' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
Updated 8 days ago