---
title: "Get Customer Bank Account"
method: GET
path: "/v2/customers/{customerId}/bankaccounts/{customerBankAccountId}"
tags: ["customer"]
---

# Get Customer Bank Account

`GET /v2/customers/{customerId}/bankaccounts/{customerBankAccountId}`

## Request

- Base URL: `https://scx-sbx.api.jtl-software.com`
- URL: `https://scx-sbx.api.jtl-software.com/v2/customers/{customerId}/bankaccounts/{customerBankAccountId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.jtl-cloud.com/oauth2/auth`
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `customers.read`
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `customers.read`
- TypeScript: <https://skmtc.dev/jtl-software/apis/scx-authentication-api/docs/v2/customers/:customerId/bankaccounts/:customerBankAccountId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a specific bank account

## Path parameters

- `customerId` string, uuid, required: Represents a unique key for identifying a customer in the JTL system.
- `customerBankAccountId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `200`

Returns the customer bankaccount for the given id.

- JTLWawiRestContractsModelsV1CustomerCustomerBankAccount: Model Class: CustomerBankAccount
  - `id` string, uuid
  - `accountHolder` string: Name of the account holder of the customer's bank account.
  - `bankName` string: Name of the bank.
  - `accountNumber` string: Account number of the customer's bank account.
  - `bankCode` string: Bank code of the customer bank's account.
  - `iBAN` string: International bank account number of the customer's bank account.
  - `bIC` string: Bank identification code of the customer's bank account.

## Other responses

- `400`: The sent data is invalid.
- `401`
- `402`: No licence available or the app has not been authorised by JTL.
- `404`: No customer bank account with the given ID exists.

---

[API](https://skmtc.dev/jtl-software/apis/scx-authentication-api.md) - [All operations](https://skmtc.dev/jtl-software/apis/scx-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jtl-software/apis/scx-authentication-api/revisions/f979b1ea6951?raw)
