> ## Documentation Index
> Fetch the complete documentation index at: https://abacuslabs.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a bank account

> Create a new bank account for the authenticated team.



## OpenAPI

````yaml post /bank-accounts
openapi: 3.1.0
info:
  version: 0.0.1
  title: Abacus API
  description: Abacus is the operating system for Merchant Cash Advance businesses.
  contact:
    name: Abacus Support
    email: support@abacuslabs.co
    url: https://abacuslabs.co
  license:
    name: AGPL-3.0 license
    url: https://github.com/Suphian/abacus/blob/main/LICENSE
servers:
  - url: https://api.abacuslabs.co
    description: Production API
security:
  - oauth2: []
  - token: []
paths:
  /bank-accounts:
    post:
      tags:
        - Bank Accounts
      summary: Create a bank account
      description: Create a new bank account for the authenticated team.
      operationId: createBankAccount
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the bank account.
                  example: Checking Account
                currency:
                  type: string
                  description: The currency code for the bank account (ISO 4217).
                  example: USD
                manual:
                  type: boolean
                  description: Whether the bank account is a manual account.
                  example: false
              required:
                - name
              description: Schema for creating a new bank account.
              example:
                name: Checking Account
                currency: USD
                manual: false
      responses:
        '201':
          description: Bank account created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    description: Unique identifier for the bank account.
                    example: b7e6c2a0-1f2d-4c3b-9a8e-123456789abc
                  name:
                    type: string
                    nullable: true
                    description: Name of the bank account.
                    example: Checking Account
                  currency:
                    type: string
                    nullable: true
                    description: Currency code of the bank account (e.g., USD, EUR).
                    example: USD
                  type:
                    type: string
                    nullable: true
                    description: Type of the bank account (e.g., depository, credit).
                    example: depository
                  enabled:
                    type: boolean
                    description: Whether the bank account is enabled.
                    example: true
                  balance:
                    type: number
                    nullable: true
                    description: Current balance of the bank account.
                    example: 1500.75
                  manual:
                    type: boolean
                    nullable: true
                    description: Whether the bank account is a manual account.
                    example: false
                  label:
                    type: string
                    nullable: true
                    enum:
                      - operating
                      - reserve
                      - collections
                      - credit_card
                      - line_of_credit
                      - escrow
                      - other
                      - null
                    description: MCA-specific account label.
                    example: operating
                  balanceInverted:
                    type: boolean
                    description: Whether the account balance sign is inverted.
                    example: false
                  excludedFromTotals:
                    type: boolean
                    description: Whether the account is excluded from portfolio totals.
                    example: false
                  hideTransactions:
                    type: boolean
                    description: >-
                      Whether the account's transactions are hidden from the
                      main view.
                    example: false
                required:
                  - id
                  - name
                  - currency
                  - type
                  - enabled
                  - balance
                  - manual
                  - label
                  - balanceInverted
                  - excludedFromTotals
                  - hideTransactions
                description: A single bank account object response.
                example:
                  id: b7e6c2a0-1f2d-4c3b-9a8e-123456789abc
                  name: Checking Account
                  currency: USD
                  type: depository
                  enabled: true
                  balance: 1500.75
                  manual: false
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: Default authentication mechanism
      x-speakeasy-example: ABACUS_API_KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.