FinancialAccountAttributes

Attributes for creating and updating a financial account. The FinancialAccountAttributes input type in Bunny's GraphQL API, with its fields and an example.

{
  "code": "",
  "accountId": "456123",
  "name": "",
  "description": "",
  "active": true,
  "source": "",
  "externalId": "",
  "pluginId": "456123",
  "entityId": "456123",
  "accountType": "FinancialAccountType",
  "accountNumber": "",
  "createdAt": "2022-06-01T00:00:00Z",
  "updatedAt": "2022-06-01T00:00:00Z",
  "priceListChargeIds": [
    "456123"
  ],
  "defaultAccount": true
}
Name Type Description
code String Custom unique identifier for the financial account
accountId ID The account the financial account belongs to
name String The name of the financial account
description String A description of the financial account
active Boolean Whether the financial account is active
source String The source of the financial account
externalId String The external ID of the financial account
pluginId ID The plugin ID of the financial account
entityId ID The entity the financial account belongs to
accountType FinancialAccountType The type of the financial account
accountNumber String The account number of the financial account
createdAt ISO8601DateTime Datetime the financial account was created
updatedAt ISO8601DateTime Datetime the financial account was last updated
priceListChargeIds List (ID)  
defaultAccount Boolean Whether the financial account is the default