Prerequisites
Before you begin:- Obtain an API key for Digital Asset Accounts from Circle.
- Have two onboarded and active accounts in the same program, each with an
accountId. For details on how accounts relate to programs, see Account structure. - Ensure at least one account has a funded balance.
- Review whether Strong Customer Authentication (SCA) applies. Circle requires SCA headers on transfers for end users in the European Economic Area (EEA). See Implement SCA.
- Run a device check for the end user and keep the
deviceIdit returns. Every transfer request carries it inriskSignals. See Collect device risk signals. - 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. Check source and destination balances
Before creating the transfer, verify the balances of both accounts. The source account must have sufficient funds to cover the transfer amount. Check source balanceStep 2. Create an internal transfer
Initiate the transfer by specifying both the source and destination asaccount
types with their respective account IDs. Internal transfers complete instantly.
Internal account-to-account transfers complete instantly and return a
complete
status in the response. There are no blockchain fees or processing delays.