Collect Crypto
Your customer sends stablecoin or crypto to an address you give them.
What this doesYour customer sends USDT, USDC or another supported token to a deposit address. Once it's confirmed, the money is on your TransFi balance.
Steps
1. Create the customer
Same as any collection — Create Individual User. Save the userId.
2. Create the order
Set source to the token your customer will send.
curl -X POST 'https://sandbox-api.transfi.com/v3/orders' \
-H 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
-H 'mid: YOUR_MID' \
-H 'Content-Type: application/json' \
-d '{
"userId": "UX-250930062608488",
"orderType": "payin",
"purposeCode": "company_expenses",
"partnerId": "order-1002",
"source": {
"currency": "USDT",
"amount": "500",
"network": "polygon"
},
"destination": {
"currency": "USDT"
}
}'{
"status": "success",
"data": {
"orderId": "OR-2509291454262384295",
"walletAddress": "0x9f2c...",
"network": "polygon"
}
}→ Create Order · Supported tokens and networks: List Tokens
3. Show the customer the address and network
The network matters. Crypto sent on the wrong network is lost. Show the network as clearly as the address.
4. Wait for the final status
| Status | Meaning | What to do |
|---|---|---|
initiated | Waiting for the deposit | Show the address |
asset_settled | Done. Confirmed and on your balance | Deliver what they paid for |
Related
Updated about 7 hours ago
Did this page help you?