Accounts Overview

Overview of our Accounts model.

Bond's account-centric model allows you to build features on top of ledger-accounts. Accounts can be used to store value (such as USD). Accounts are a flexible way for you to segment and control stored value. Accounts provide features, such as transfers (ACH and internal account-to-account), balance management, double-entry accounting using ISO-8583, and statement data.

The Accounts model is polymorphic via the type key. This uses inheritance in the JSON API structure to allow for multiple types of accounts. As our platform scales, we will be using this to add different types of accounts in the future. The example below illustrates our two current basic account types, deposit and credit accounts

{
    "account_id": "a2cbc90c-caeb-4137-8d95-3d1b64c10628",
    "date_updated": "2022-07-08T16:44:20.179543Z",
    "date_created": "2022-07-08T16:44:20.179543Z",
    "program_id": "84183869-461e-4e96-86b5-45b824aae569",
    "customer_id": "842ebd28-6d86-4d05-9630-b12cf9278875",
    "type": "deposit",
    "status": "active",
    "routing_number": "014175741",
    "account_number": "61286758183945",
    "description": "My First Deposit Account",
    "balance": {
        "previous_statement_balance": 97495,
        "available_balance": 97495,
        "current_balance": 97495,
        "currency": "USD"
    },
    "cards": [],
    "deposit": {}
}
{
  "account_id": "ed3dc85e-c3e8-4076-802f-56da7d5d66e2",
  "date_updated": "2022-07-08T16:44:20.179543Z",
  "date_created": "2022-07-08T16:44:20.179543Z",
  "program_id": "0adea755-90d3-47f4-9d44-4b73cbebaf3c",
  "customer_id": "db39e8e9-849d-435a-842c-7f4b3a49c5b3",
  "type": "security_deposit",
  "status": "active",
  "description": "string",
  "routing_number": "547897762",
  "account_number": "574771265",
  "balance": {
    "current_balance": 500,
    "ledger_balance": 500,
    "currency": "USD"
  },
  "security_deposit": {
    "credit_account_id": "182c3a25-69e8-4e16-b1bc-7211fcc2583d"
  }
}

Notice the object deposit and credit which are derived by the account type. Each account will have a corresponding object of it's name within the Account API model. This allows for account-specific data to be provided in the API response.

❗️

External Accounts

Linking an external account is currently only supported by our v0 APIs.


Next Steps
Did this page help you?