Create Prefunding for Payouts
Prefunding
To make payouts in any currency, you first need to have a balance in your account. You can add funds to your account by prefunding it with either fiat (like USD, EUR) or cryptocurrency (like BTC, ETH). TransFi supports both types of funding.
For cryptocurrency deposits, you can call this API. You will get a dedicated wallet address in response, to which you can send the amount that you passed while creating this prefund-order.
curl --request POST \
--url https://sandbox-api.transfi.com/v2/prefunds/create-crypto-prefund \
--header 'accept: application/json' \
--header 'MID: ABCDEF_NA_NA' \
--header 'authorization: Basic abcdef123abcdef' \
--header 'content-type: application/json' \
--data '
{
"sendersWalletAddress": "0x000000000000000000000000000000000000dEaD",
"cryptoTicker": "USDC",
"amount": 5000,
"partnerId": "AB-12345678",
"balanceCurrency": "EUR"
}
'
{
"orderId": "PF-1234567890123456789",
"walletAddress": "0x000000000000000000000000000000000000dEaD"
}
Fiat Prefunding
For fiat deposits, the TransFi team will provide you with payment details based on the currency and payment method you choose. These details will allow you to transfer your funds and prefund your account in the selected fiat currency.
Sandbox Prefunding
To test payouts, prefunding balance is required. This API will help to prefund dummy balance.
If you need more information on how to add funds or which currencies are supported, feel free to contact the TransFi team.
Updated 5 days ago