---
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`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/payments/bank-account/accounts/ledger`
- Auth: API key in header `X-API-Key`

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.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
