Sending funds to your Circle Account from an external bank account is one of the basic primitives (building blocks) enabled by the APIs. This quickstart walks through depositing USDC USD from an external bank account. You can follow the same steps when sending EURC EUR as well.Documentation Index
Fetch the complete documentation index at: https://circle-devdocs-test-ai-codegen-component.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
1. Get an API key
Circle’s APIs use API keys as the mechanism to authenticate client requests. The API key must be set in the Authorization header of the request sent from your backend server. The format of the header is Bearer secret-key-value. To obtain an API key for the sandbox environment, create an account and generate a new key in settings. Get an API key Once you have generated your API key, record it in a secure place.2. Link a bank account
To send account funds from an external bank account, you need to add the bank account that can send funds to your Circle Mint Account. To that end, you can use the create a wire bank account API endpoint.Note: The parameters listed below are slightly different for US Bank
accounts, non-US bank accounts that are IBAN supported and non-US bank
accounts that aren’t IBAN supported. Please see the preceding link for
details.
${YOUR_API_KEY} with your API key.
Shell
JSON
3. Get wire instructions
You can easily retrieve all necessary details to make a deposit from your bank account by using the get wire instructions API endpoint. The endpoint returns the beneficiary details, bank details, and a confirmation of the currency. REQUEST Replace${YOUR_API_KEY} with your API key.
Replace ${TRANSFER_ID} with the ID of the transfer you created earlier.
Curl
JSON
4. Deposit to your account
You can only initiate a wire deposit from your bank account so this part of the deposit process takes place outside of Circle’s API on production. Using the wire deposit details in the previous step, send funds from your bank account to your Circle Mint Account. You must confirm the wire details are correct to avoid any delays or bank returns.Testing
For testing purposes, you can send a mock wire to your sandbox account using the mock wire API endpoint with the account number returned in step 3. REQUEST Replace${YOUR_API_KEY} with your API key.
Shell
JSON
Note: The sandbox environment processes mock wire deposits in batches. A
mock wire may take up to 15 minutes to complete.