---
title: "Adds a new payment bank account"
method: POST
path: "/payments/bank-account"
tags: ["Payments"]
---

# Adds a new payment bank account

`POST /payments/bank-account`

## Request

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

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

## Request body

- PaymentBankAccountJson
  - `id` string
  - `entityIds` string[], required
  - `externalId` string
  - `name` string
  - `description` string
  - `currencyCode` string, required
  - `cashLedgerAccountId` string
  - `expenseLedgerAccountId` string
  - `status` 'DRAFT' | 'ACTIVE' | 'DEPRECATED', required
  - `hasExistingPayments` boolean
  - `createdOn` integer
  - `updatedOn` integer

## Response `200`

successful operation

- PaymentBankAccountJson
  - `id` string
  - `entityIds` string[], required
  - `externalId` string
  - `name` string
  - `description` string
  - `currencyCode` string, required
  - `cashLedgerAccountId` string
  - `expenseLedgerAccountId` string
  - `status` 'DRAFT' | 'ACTIVE' | 'DEPRECATED', required
  - `hasExistingPayments` boolean
  - `createdOn` integer
  - `updatedOn` integer

---

[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)
