Before creating QR Payout Transfer
This section describes step-by-step steps to be done, before you create your QR Payout transaction.
- Get exchange rates (balanceCurrency to payout currency) (API link):
curl --location 'https://api.transfi.com/v3/exchange-rates?amount=1000&sourceCurrency=USDT&destinationCurrency=BRL&direction=reverse&orderType=payout&paymentCode=DEFAULT&paymentType=DEFAULT' \ --header 'MID: *****' \ --header 'accept: application/json' \ --header 'authorization: *****'{ "sourceCurrency": "USDT", "sourceAmount": 199.80727064563618, "sourceAmountInUsd": 199.81, "sourceCurrencyType": "crypto", "destinationCurrency": "BRL", "destinationAmount": 1000, "destinationAmountInUsd": 199.81, "destinationCurrencyType": "fiat", "conversionRate": 5.0048228814132, "minLimit": 4.999178, "maxLimit": 100000.000371, "orderType": "payout", "direction": "reverse", "processingFee": 0, "processingFeeRate": 0, "customerFee": 0, "customerFeeRate": 0, "rrFeeRate": 0, "discount": 0, "discountRate": 0, "additionalFee": 0, "additionalFeeRate": 0, "fixedFee": { "totalFixedFees": 0, "totalFixedTfFees": 0, "totalFixedCxFees": 0, "fixedFeesCurrency": "", "fixedFeeDetails": { "baseFeeFixedRate": 0, "tfFeeFixedRate": 0, "cxFeeFixedRate": 0, "currency": "" } }, "totalFee": 0, "feeMode": "percentage" }
Updated about 6 hours ago