# accounts.create

Create an RBC or other manually imported bank account.

`POST /api/v1/accounting/accounts.create`

Permissions: `accounting:read`, `accounting:write`, `accounting:admin` · Roles: admin · Idempotency key required

MCP tool: `accounting_accounts_create`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | string | Yes | A display name. 1–100 characters. |
| `provider` | enum | Yes | One of: `rbc`, `other`. |
| `currency` | string | Yes | Three-letter currency code, such as CAD or USD. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/accounts.create \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "name": "Synthetic Ventures Inc.",
  "provider": "rbc",
  "currency": "CAD"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/accounts.create
