---
title: "Gets cash and expense ledger accounts for bank account creation"
method: GET
path: "/payments/bank-account/accounts/ledger"
tags: ["Payments"]
---

# Gets cash and expense ledger accounts for bank account creation

`GET /payments/bank-account/accounts/ledger`

The bank account would be mapped to a cash and an expense ledger account from this list

## Query parameters

- `id` string

## Response `200`

successful operation

- LedgerAccount[]
  - `entityIds` string[]
  - `name` string
  - `accountCode` string
  - `description` string
  - `accountType` 'ACCOUNTS_RECEIVABLE' | 'TAX_LIABILITY' | 'CASH' | 'DEFERRED_REVENUE' | 'RECOGNIZED_REVENUE' | 'CONTRACT_ASSET' | 'REALIZED_GAIN_LOSS' | 'EXPENSE' | 'REFUND'
  - `isDefault` boolean
  - `inUse` boolean
  - `default` boolean
  - `id` string

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/revisions/c30f5b9fbfab/schema)
