curl --request POST \
--url https://api.rootfi.dev/v4/accounting/bank_accounts \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"company_id": 123,
"data": [
{
"institution_name": "Example Bank",
"account_name": "Savings Account",
"account_number": "1234567890",
"balance": 1000,
"currency_id": "USD",
"updated_at": "2024-01-25T10:30:00Z"
}
]
}
'{
"data": {
"rootfi_id": 123,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-25T09:00:00Z",
"rootfi_updated_at": "2024-01-25T09:30:00Z",
"rootfi_company_id": 456,
"platform_id": "123456_1",
"platform_unique_id": "123456",
"institution_name": "RootFi Investment Bank",
"account_name": "RootFi Asset Account",
"account_number": "xxxx1234",
"balance": 5500.75,
"currency_id": "USD",
"category": "checking",
"updated_at": "2024-01-25T10:30:00Z"
}
}Create a new bank account.
curl --request POST \
--url https://api.rootfi.dev/v4/accounting/bank_accounts \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"company_id": 123,
"data": [
{
"institution_name": "Example Bank",
"account_name": "Savings Account",
"account_number": "1234567890",
"balance": 1000,
"currency_id": "USD",
"updated_at": "2024-01-25T10:30:00Z"
}
]
}
'{
"data": {
"rootfi_id": 123,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-25T09:00:00Z",
"rootfi_updated_at": "2024-01-25T09:30:00Z",
"rootfi_company_id": 456,
"platform_id": "123456_1",
"platform_unique_id": "123456",
"institution_name": "RootFi Investment Bank",
"account_name": "RootFi Asset Account",
"account_number": "xxxx1234",
"balance": 5500.75,
"currency_id": "USD",
"category": "checking",
"updated_at": "2024-01-25T10:30:00Z"
}
}| Integration | Field | Description |
|---|---|---|
| MYOB_BUSINESS | nominal_code | The nominal code of the bank account. |
| MYOB_BUSINESS | description | The description of the bank account. |
| MYOB_BUSINESS | parent_account_id | The parent account ID of the bank account. |
| MYOB_BUSINESS | tax_id | The tax ID of the bank account. |
| SAGE_ZA_CLOUD_ACCOUNTING | sub_category_id | The sub-category ID associated to the account. |