POST
/
accounting
/
bank_accounts
curl --request POST \
  --url https://api.rootfi.dev/v3/accounting/bank_accounts \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 123,
  "data": [
    {
      "account_name": "Savings Account",
      "account_number": "1234567890",
      "balance": 1000,
      "currency": "USD",
      "institution_name": "Example Bank",
      "updated_at": "2024-01-25T10:30:00Z"
    }
  ]
}'
{
  "data": {
    "account_name": "Savings Account",
    "account_number": "1234567890",
    "balance": 1000,
    "currency": "USD",
    "institution_name": "Example Bank",
    "platform_id": "123456",
    "rootfi_company_id": 456,
    "rootfi_created_at": "2024-01-25T09:00:00Z",
    "rootfi_id": 123,
    "rootfi_updated_at": "2024-01-25T09:30:00Z",
    "updated_at": "2024-01-25T10:30:00Z"
  }
}

The Bank Accounts Data Model streamlines access of bank account information across various accounting platforms, providing a consistent and unified representation of bank account data.

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
integer
required

The ID of the company in the accounting platform

data
object[]
required

The data of the bank account to create

Response

200 - application/json
data
object
required