Prerequisites
Before you begin:- Obtain an API key for Digital Asset Accounts from Circle.
- Have an onboarded and active account with a funded balance.
- Have an external blockchain address to receive the transfer.
- Install cURL on your development machine.
The Digital Asset Accounts API base URL is
https://api-sandbox.circle.com for
sandbox and https://api.circle.com for production. Set your API key in the
Authorization header using the format Bearer YOUR_API_KEY. See
Sandbox environment and
Going to production
for environment details.Steps
Step 1. Register a recipient address
Register the external blockchain address where you want to send stablecoins.Step 2. Create a transfer
Initiate a transfer to the registered recipient address. Specify the source account as anaccount type and the destination as a verified_blockchain
type. The verified_blockchain type indicates a pre-registered external
blockchain address. Include the recipient address ID from the previous step.
Step 3. Check the transfer status
Monitor the transfer until it reaches a terminal state. Transfers move throughpending, complete, and failed states. See
Transaction states for
details.
Step 4. Verify the balance
Confirm that the transfer amount has been deducted from the account.Manage recipient addresses
List recipient addresses
Retrieve all registered recipient addresses for an account. This endpoint supports pagination.Delete a recipient address
Remove a recipient address that is no longer needed. Deleted addresses cannot be used for new transfers.200 response.
Deleting a recipient address does not affect previously completed transfers to
that address. The transaction history is preserved.