Skip to main content
Link your end customers’ bank accounts to their Digital Asset Accounts so they can move money between traditional banking and stablecoins. Wire deposits convert fiat into stablecoins. Wire withdrawals redeem stablecoin balances and send funds to the linked bank account.

Prerequisites

Before you begin:
  • Obtain an API key for Digital Asset Accounts from Circle.
  • Have an onboarded and active account with an accountId.
  • 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

Link your end customer’s bank account by providing the bank details and billing information.
Response

Step 2. Get wire instructions

Retrieve the wire instructions for the linked bank account. Share these with your end customer so they can send a wire deposit from their bank.
Response
The trackingRef is a unique reference code that identifies the wire deposit. Your customer must include it in their wire transfer so Circle can match the payment to the correct account.
Your end customer must include the trackingRef when sending the wire transfer. Without this reference, the deposit cannot be matched to the correct account.

Step 3. Deposit fiat (sandbox simulation)

In the sandbox environment, simulate a wire deposit using the mock payments endpoint. In production, your end customer sends a real wire transfer using the instructions from the previous step.
Response

Step 4. Check the balance

Confirm that the deposit has been credited to the account.
Response

Step 5. Withdraw to a bank account

To withdraw stablecoins as fiat, create a withdrawal that specifies the amount, the destination wire account, and the source account.
Response
The withdrawal processes asynchronously. Monitor the status by polling the withdrawals endpoint or by setting up webhook notifications. If the source account has insufficient funds, the API returns an error:
Verify the account balance before initiating a withdrawal.

List and retrieve wire accounts

You can query linked wire accounts at any time. List all wire accounts for an account
Get a specific wire account