POST
/
accounting
/
bank_transactions
curl --request POST \
  --url https://api.rootfi.dev/v3/accounting/bank_transactions \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 123,
  "data": [
    {
      "account_id": "123456",
      "amount": 1000,
      "contact_id": "123456",
      "currency_id": "123456",
      "currency_rate": 1000,
      "debit_or_credit": "DEBIT",
      "from_account_id": "123456",
      "status": "Test",
      "to_account_id": "123456",
      "transaction_date": "2024-01-25T09:00:00Z",
      "type": "creditcard",
      "updated_at": "2024-01-25T09:00:00Z"
    }
  ]
}'
{
  "data": {
    "account_id": "123456",
    "amount": 1000,
    "contact_id": "123456",
    "currency_id": "123456",
    "currency_rate": 1000,
    "debit_or_credit": "DEBIT",
    "from_account_id": "123456",
    "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",
    "status": "Test",
    "to_account_id": "123456",
    "transaction_date": "2024-01-25T09:00:00Z",
    "type": "creditcard",
    "updated_at": "2024-01-25T09:00:00Z"
  }
}

Bank Transactions include the Transactional banking data for a specific company and account.

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