Crypto
Execute crypto purchase
Execute a cryptocurrency purchase using a valid quote. Final step in the trading flow - converts quote into actual transaction.
Prerequisites
- Get crypto quote - Must have valid, unexpired
quoteId - List address book wallets - Must use wallet ID from address book
- Account Balance - Specified account must have sufficient funds
Key Concepts
- Quote Expiration: Ensure quote hasn’t expired before execution
- Address Book Only: Can only send to wallets from List address book wallets
- Immediate Processing: Creates transaction immediately upon success
Usage Flow
- Get crypto quote - Get valid quote and
quoteId - List address book wallets - Select destination wallet ID
- Execute purchase using this endpoint
- Get transaction details - Monitor transaction progress
After Execution
- List crypto transactions - View transaction in your history
- Get transaction details - Monitor detailed progress
- Pay crypto transaction debt - Make payments if needed
Error Scenarios
-
Quote expired → Get new quote with Get crypto quote
-
Invalid wallet → Add wallet with Add wallet to address book
-
Insufficient balance → Fund account or reduce purchase amount