---
title: "Create bank account"
method: POST
path: "/bank-accounts/"
tags: ["Bank Accounts"]
---

# Create bank account

`POST /bank-accounts/`

Endpoint for creating a new bank account.

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- BankAccount — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string, required — The associated account for this bank account.
  - `classification` string, required — The classification of the bank account (e.g., Asset).
  - `created_ts` string, date-time, required — The timestamp in UTC when the bank account was created
  - `currency` string, required — The currency used for this bank account.
  - `id` string, required — The unique identifier of the bank account.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the bank account.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the bank account was last modified
  - `name` string, required — The name of the bank account.
  - `sub_classification` 'BANK' | 'PETTY_CASH' | 'CREDIT_CARD', required — * `BANK` - BANK * `PETTY_CASH` - PETTY_CASH * `CREDIT_CARD` - CREDIT_CARD Full information for [BankAccountSubClassificationEnum](bankaccountsubclassificationenum)

## Response `201`

- BankAccount — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string, required — The associated account for this bank account.
  - `classification` string, required — The classification of the bank account (e.g., Asset).
  - `created_ts` string, date-time, required — The timestamp in UTC when the bank account was created
  - `currency` string, required — The currency used for this bank account.
  - `id` string, required — The unique identifier of the bank account.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the bank account.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the bank account was last modified
  - `name` string, required — The name of the bank account.
  - `sub_classification` 'BANK' | 'PETTY_CASH' | 'CREDIT_CARD', required — * `BANK` - BANK * `PETTY_CASH` - PETTY_CASH * `CREDIT_CARD` - CREDIT_CARD Full information for [BankAccountSubClassificationEnum](bankaccountsubclassificationenum)

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/versions/36816b4fce7f/schema)
