Prerequisites
Before you begin, make sure you have:- A User with
USD
Rail enabled - Valid payment method (bank account, card, etc.)
Step 1: Create Account
Create a US account for the swap: POST/v2/users/{userId}/accounts
Step 2: Create Swap
Create the swap transaction directly: POST/v2/swaps
Refresh Quote
While the quote is still valid, you can refresh it to get updated rates: POST/v2/swaps/{transferId}/quote/refresh
PENDING
status and before the quote expires.
Step 3: Accept Quote
Once you’re satisfied with the quote, accept it to proceed with the swap: POST/v2/swaps/{transferId}/quote/accept
Step 4: Execute Swap
The swap will be executed automatically once the quote is accepted. Monitor the transaction status.Step 5: Confirm Transaction
Check Wallet Balance
Verify the USDT has been received in your wallet: GET/v2/users/{userId}/wallets/balance