Creating a balance transfer
Create Order
- POST
/v3/orders
curl --location 'https://sandbox-api.transfi.com/v3/orders' \
--header 'Content-Type: application/json' \
--header 'x-trace-id: $(uuidgen)' \
--header 'Authorization: Basic ==' \
--header 'mid: SAH1N3_NA_NA' \
--data '{
"purposeCode": "liquidity_management",
"purposeCodeReason": "Internal balance transfer between customer accounts for liquidity management",
"orderType": "balance_transfer",
"source": {
"currency": "USDC",
"amount": "2000.00"
},
"destination": {
"currency": "POL"
}
}'{
"status": "success",
"data": {
"flow": "BALANCE_TRANSFER",
"orderId": "BT-2603021752094805963",
"fromAmount": 2000,
"fromCurrency": "USDC",
"toAmount": 18148.820327,
"toCurrency": "POL"
}
}We received a paymentURL in the response that will take users to TransFi hosted checkout page.
Updated 5 months ago
Did this page help you?