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

# Manage bank accounts (add/update/remove)



## OpenAPI

````yaml /api-reference/platform-api.json put /v2/counterparties/{id}/bank-accounts
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.6.1
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
tags:
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
paths:
  /v2/counterparties/{id}/bank-accounts:
    put:
      tags:
        - Counterparties
      summary: Manage bank accounts (add/update/remove)
      operationId: manageBankAccounts
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManageBankAccountsDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CounterpartyBankAccountDto'
components:
  schemas:
    ManageBankAccountsDto:
      type: object
      properties:
        operations:
          minItems: 1
          maxItems: 50
          type: array
          items:
            $ref: '#/components/schemas/BankAccountOperationDto'
      required:
        - operations
    CounterpartyBankAccountDto:
      type: object
      properties:
        id:
          type: string
          example: ba-001
        currency:
          type: string
          example: USD
        bank_name:
          type: string
          example: Silicon Valley Bank
        account_name:
          type: string
          example: Vercel Inc
        iban:
          type: string
          example: '************1234'
        swift:
          type: string
          example: CHASUS33
        routing_number:
          type: string
          example: '*****0248'
        account_number:
          type: string
          example: '****5678'
        account_type:
          type: string
          example: checking
        sort_code:
          type: string
          example: '****89'
      required:
        - id
        - currency
        - bank_name
    BankAccountOperationDto:
      type: object
      properties:
        action:
          type: string
          enum:
            - add
            - update
            - remove
          example: add
        id:
          type: string
          example: ba-uuid-001
          description: Bank account UUID (required for update/remove)
        currency:
          type: string
          example: USD
          description: ISO 4217 currency code (required for add)
        bank_name:
          type: string
          example: Chase
          description: Bank / institution name (required for add)
        account_name:
          type: string
          example: Vercel Inc
        iban:
          type: string
          example: DE89370400440532013000
          description: IBAN (EUR / international)
        swift:
          type: string
          example: DEUTDEFF
          description: SWIFT/BIC (EUR / international)
        routing_number:
          type: string
          example: '021000021'
          description: ABA routing number (USD)
        account_number:
          type: string
          example: '12345678'
          description: Account number (USD / GBP)
        account_type:
          type: string
          enum:
            - checking
            - savings
          example: checking
          description: Account type (USD)
        sort_code:
          type: string
          example: 60-16-13
          description: Sort code (GBP)
      required:
        - action
  securitySchemes:
    Authorization:
      scheme: bearer
      bearerFormat: API Key
      description: 'Use Authorization: Bearer <api-key>'
      type: http

````