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

# Add Bank Account

> Save a bank account so one of your users can pay with it.

The bank account is stored safely and kept encrypted. After it is saved, our
responses only ever show a masked version (a masked account number and the
last 4 digits of the routing number) — the full account number is never
shown again.

### What you need to send
- ``user_id`` — the user this bank account belongs to
- ``account_holder_name`` — the name on the bank account
- ``bank_account_number`` — the full bank account number
- ``routing_number`` — the bank's 9-digit routing number



## OpenAPI

````yaml POST /v1/platform/bank/add-bank-manually
openapi: 3.1.0
info:
  title: Finogate Platform API v1
  version: 0.1.0
servers:
  - url: https://api-sandbox.finogates.com
    description: Sandbox
  - url: https://api.finogates.com
    description: Production
security: []
tags:
  - name: auth
  - name: users
  - name: payees
  - name: verification
  - name: bank accounts
  - name: card processing
  - name: digital-assets
  - name: international
  - name: onboarding
  - name: pending-applications
  - name: wallets
  - name: payments
  - name: catalog
  - name: webhooks
  - name: phone-numbers
  - name: sms
  - name: calls
  - name: listings
  - name: embed-tokens
paths:
  /v1/platform/bank/add-bank-manually:
    post:
      tags:
        - bank accounts
      summary: Add a Bank Account
      description: >-
        Save a bank account so one of your users can pay with it.


        The bank account is stored safely and kept encrypted. After it is saved,
        our

        responses only ever show a masked version (a masked account number and
        the

        last 4 digits of the routing number) — the full account number is never

        shown again.


        ### What you need to send

        - ``user_id`` — the user this bank account belongs to

        - ``account_holder_name`` — the name on the bank account

        - ``bank_account_number`` — the full bank account number

        - ``routing_number`` — the bank's 9-digit routing number
      operationId: add_bank_account_v1_platform_bank_add_bank_manually_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformBankAccountCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - _AuthenticatedBearer: []
components:
  schemas:
    PlatformBankAccountCreate:
      properties:
        user_id:
          type: string
          format: uuid
          title: User Id
          description: Owner user UUID.
          examples:
            - b3a9b622-cc63-4d3c-aad6-2d8e29e6f9d4
        account_holder_name:
          type: string
          maxLength: 120
          title: Account Holder Name
          description: Name of the account holder.
          examples:
            - John Doe
        bank_account_number:
          type: string
          maxLength: 34
          minLength: 4
          title: Bank Account Number
          description: Full bank account number.
          examples:
            - '1234567890'
        routing_number:
          type: string
          maxLength: 9
          minLength: 9
          title: Routing Number
          description: ACH routing number (9 digits).
          examples:
            - '021000021'
        account_type:
          anyOf:
            - type: string
              maxLength: 30
            - type: 'null'
          title: Account Type
          description: Account type (e.g. ``checking``, ``savings``).
          examples:
            - checking
      additionalProperties: false
      type: object
      required:
        - user_id
        - account_holder_name
        - bank_account_number
        - routing_number
      title: PlatformBankAccountCreate
      description: Add a bank account as a payment method.
    CommonResponse:
      properties:
        status_code:
          type: integer
          title: Status Code
          description: HTTP status code for the response.
        data:
          title: Data
          description: Payload or error details.
        query_generated_time:
          type: integer
          title: Query Generated Time
          description: >-
            UTC timestamp (milliseconds since epoch) when response was
            generated.
      type: object
      required:
        - status_code
        - data
        - query_generated_time
      title: CommonResponse
      description: |-
        Standard response wrapper for single-object responses and errors.

        Generic over the payload type. A route that declares
        ``CommonResponse[SomeModel]`` gets the real ``data`` schema rendered in
        OpenAPI/Swagger; a bare ``CommonResponse`` leaves ``data`` untyped.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    _AuthenticatedBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /v1/platform/auth/token

````