> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fund a Treasury Wallet

> Add funds to your treasury wallet by bank transfer

This guide explains how to fund a treasury wallet via bank transfer. To fund your wallet with stablecoins instead, see the [Pay-ins guide](/stablecoin-orchestration/guides/pay-ins).

## Funding in Staging

There are two ways to fund a treasury wallet in staging:

### Using a Faucet

Use <a href="https://faucet.circle.com/" target="_blank">Circle's USDC faucet</a> to send test tokens directly into your treasury wallet.

### Using the Fund Wallet API

Use the Fund Wallet API to add USDXM (Crossmint's testnet token) to your wallet.

<Note>Available in staging only. Supports USDXM only.</Note>

<CodeGroup>
  ```bash cURL theme={null}
  curl --request POST \
      --url 'https://staging.crossmint.com/api/v1-alpha2/wallets/<your-wallet-address>/balances' \
      --header 'X-API-KEY: <your-server-api-key>' \
      --header 'Content-Type: application/json' \
      --data '{
          "amount": 10,
          "token": "usdxm",
          "chain": "base-sepolia"
      }'
  ```

  ```typescript Node.js theme={null}
  import { CrossmintWallets, createCrossmint } from "@crossmint/wallets-sdk";

  const crossmint = createCrossmint({
      apiKey: "<your-server-api-key>",
  });

  const crossmintWallets = CrossmintWallets.from(crossmint);

  const wallet = await crossmintWallets.getWallet("<your-wallet-address>", {
      chain: "base-sepolia",
  });

  // Fund with 10 USDXM (staging only)
  await wallet.stagingFund(10);

  console.log("Wallet funded successfully");
  ```

  ```python Python theme={null}
  import requests

  wallet_address = "<your-wallet-address>"
  url = f"https://staging.crossmint.com/api/v1-alpha2/wallets/{wallet_address}/balances"

  payload = {
      "amount": 10,
      "token": "usdxm",
      "chain": "base-sepolia"
  }
  headers = {
      "X-API-KEY": "<your-server-api-key>",
      "Content-Type": "application/json"
  }

  response = requests.post(url, json=payload, headers=headers)

  print(response.json())
  ```
</CodeGroup>

See the [API reference](/api-reference/wallets/fund-wallet) for more details.

## Funding in Production via Bank Transfer

<Note>Production only. Requires an active contract and bank account verification. <a href="https://www.crossmint.com/contact/sales" target="_blank">Contact Crossmint</a> to enable bank transfer funding.</Note>

Fund your treasury wallet with a bank transfer. Crossmint automatically converts incoming funds into stablecoins and deposits them into your wallet.

### 1. Configure Your Bank Account

Share your banking details with Crossmint. Crossmint will provide:

* Bank transfer instructions
* A unique routing memo for your treasury wallet

### 2. Send Funds

Send a bank transfer with the memo provided by the CSE team. Each memo code is associated with a specific treasury wallet and chain, ensuring funds are routed correctly.

<Info>
  Only USDC is supported for B2B onramp. If you send funds with an incorrect memo or transfer details, <a href="https://portal.usepylon.com/crossmint/forms/contact-support" target="_blank">contact support</a> for help recovering the transfer.
</Info>

### 3. Listen for Events

Once the transfer settles, Crossmint converts the funds into the configured stablecoin and deposits them into your treasury wallet on the selected chain.

Track incoming deposits and settlement status using wallet transfer webhooks.

1. [Configure a webhook endpoint](/introduction/platform/webhooks/add-endpoint) for the `wallets.transfer.in` event type.
2. [Verify webhook signatures](/introduction/platform/webhooks/verify-webhooks) to ensure events originate from Crossmint.
3. Monitor fields such as `data.status` to track deposit and settlement progress.

## Next Steps

<CardGroup cols={2}>
  <Card title="Withdrawals" icon="building-columns" iconType="duotone" color="#8B5CF6" href="/stablecoin-orchestration/guides/on-off-ramps/withdrawing-from-company-wallets">
    Learn how to withdraw stablecoins to your bank account
  </Card>

  <Card title="Payouts" icon="coins" iconType="duotone" color="#1A5785" href="/stablecoin-orchestration/regulated-transfers/overview">
    Send stablecoins using Crossmint's regulated infrastructure
  </Card>
</CardGroup>
