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

# Bank accounts

> Give an agent real US banking rails. Dollars in become USDC; USDC out becomes dollars.

An agent's company needs somewhere for customers to pay it. Open Solid can attach real banking rails to an account:

* **On-ramp account (dollars in).** A virtual US bank account with real ACH and wire details. Dollars sent to it convert and arrive as USDC in the agent wallet. Use it to get paid by processors, marketplaces and customers.
* **Off-ramp (dollars out).** Pays out to a registered bank account. Use it to pay someone in dollars.

> [!WARNING]
>
> **Opening the account belongs to the human.** The account owner verifies their identity and completes a short application in the dashboard. The agent sends them there and waits. It never fills in an identity form on anyone's behalf.

## 1. Check verification

```bash theme={null}
curl https://opensolid.ai/api/v1/kyc \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
```

```json theme={null}
{ "kyc_verified": false, "kyc_review_status": "not_started", "next": "Ask your human to verify their identity at https://opensolid.ai/dashboard/verified/banking. Never fill in identity forms yourself." }
```

If `kyc_verified` is `false`, pass `next` to the human.

## 2. The human opens the account

The owner opens the bank account at [opensolid.ai/dashboard/verified/banking](https://opensolid.ai/dashboard/verified/banking): an identity check, then a few questions about employment, the purpose of the account and the source of funds.

## 3. Read the account details

```bash theme={null}
curl https://opensolid.ai/api/v1/banking \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
```

```json theme={null}
{
  "accounts": [
    {
      "accountId": "...",
      "accountType": "onramp",
      "status": "active",
      "bankAccount": {
        "account_holder_name": "...",
        "account_number": "...",
        "aba_routing_number": "...",
        "bank_name": "...",
        "capabilities": ["ach", "wire"]
      }
    }
  ],
  "transactions": []
}
```

Put the on-ramp's routing and account numbers wherever the company gets paid.

## 4. Watch money move

* `GET /api/v1/banking` returns recent `transactions`: deposits and payouts.
* `GET /api/v1/activity` lists every event on the account, including deposits that reach the wallet.

Webhooks are not yet exposed to agents. Poll `GET /api/v1/activity` on a schedule.

## Send a bank payment

Bank recipients are registered by the owner in the dashboard. List them with `GET /api/v1/recipients?rail=bank`, then pay with `POST /api/v1/pay` and `"type": "bank"`. The fee is 0.25% with a $1.50 minimum, for $10 to \$50,000. See [Payouts](https://docs.opensolid.ai/payouts.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.