Crypto to External Wallet
Crypto to External Wallet transfers allow you to send cryptocurrency from a customer's managed wallet to any external wallet address. The customer must have sufficient balance in their wallet to cover the transfer amount plus network fees.
Prepare the transfer request
Make sure you have:
- Customer ID: The unique identifier for the customer
- External wallet address: The destination address for the crypto transfer
- Sufficient balance: Customer must have enough cryptocurrency + network fees
For this guide, we'll use the customer ID cus_cK69MttD5nAUAbud1B
.
Make the API request
Call the POST /v1/transfers
endpoint using the polygon
rail for crypto transfers:
Key differences for crypto transfers:
- Use
rail: "polygon"
andcurrency: "USDC"
for bothfrom
andto
from.identifier
: Customer ID (their wallet)to.identifier
: External wallet address (not customer ID)- Transfers are processed automatically on-chain
Handle the response
The API will return a JSON response containing the transfer details:
Note: For crypto transfers, the url
field contains a blockchain explorer link to track the transaction, while fiat transfers contain payment URLs.
Monitor transfer completion
Crypto transfers are processed automatically on-chain. You can:
- Poll the transfer endpoint: Check status updates
- Set up webhooks: Receive notifications when transfers complete
- Track on-chain: Use the
url
field to view transaction on blockchain explorer
Transfers typically complete within minutes, depending on network congestion and confirmation requirements.