---
title: "Create a bankfeedaccount"
method: POST
path: "/accounting/{connection_id}/bankfeedaccount"
tags: ["accounting", "bankfeedaccount"]
---

# Create a bankfeedaccount

`POST /accounting/{connection_id}/bankfeedaccount`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/accounting/{connection_id}/bankfeedaccount`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- AccountingBankfeedaccount
  - `id` string
  - `created_at` string, date-time: creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string: ref -> accounting Organization this record belongs to
  - `name` string: account nickname / source name
  - `bank_name` string: bank / institution name
  - `account_number` string: full account number where available
  - `account_number_last4` string: last-4 when the full number isn't returned
  - `routing_number` string: bank routing number
  - `account_type` 'CHECKING' | 'SAVINGS' | 'CREDIT_CARD' | 'LOAN' | 'OTHER': CHECKING, SAVINGS, CREDIT_CARD, LOAN, OTHER
  - `account_id` string: ref -> AccountingAccount: the target GL account the feed posts into (reference to AccountingAccount)
  - `currency` string: ISO 4217 currency of the account
  - `balance` number: current balance of the source account
  - `feed_start_at` string, date-time: date the feed begins delivering transactions (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `status` 'ACTIVE' | 'INACTIVE': feed state: ACTIVE, INACTIVE
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

## Response `200`

Successful

- AccountingBankfeedaccount
  - `id` string
  - `created_at` string, date-time: creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string: ref -> accounting Organization this record belongs to
  - `name` string: account nickname / source name
  - `bank_name` string: bank / institution name
  - `account_number` string: full account number where available
  - `account_number_last4` string: last-4 when the full number isn't returned
  - `routing_number` string: bank routing number
  - `account_type` 'CHECKING' | 'SAVINGS' | 'CREDIT_CARD' | 'LOAN' | 'OTHER': CHECKING, SAVINGS, CREDIT_CARD, LOAN, OTHER
  - `account_id` string: ref -> AccountingAccount: the target GL account the feed posts into (reference to AccountingAccount)
  - `currency` string: ISO 4217 currency of the account
  - `balance` number: current balance of the source account
  - `feed_start_at` string, date-time: date the feed begins delivering transactions (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `status` 'ACTIVE' | 'INACTIVE': feed state: ACTIVE, INACTIVE
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
