---
title: "BankAccountResponse"
url: "https://developer-staging.agentsync.io/apis/identity/versions/1ed33a2c-924a-434c-9643-fbc531dea1b8/schemas/BankAccountResponse"
---

> Full API specification: https://developer-staging.agentsync.io/apis/identity/versions/1ed33a2c-924a-434c-9643-fbc531dea1b8.md

# BankAccountResponse

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Identity API
  version: v1.275.8
servers:
  - url: https://api.sandbox.agentsync.io/id
    description: Sandbox server
  - url: https://api.agentsync.io/id
    description: Production server
components:
  schemas:
    BankAccountType:
      title: BankAccountType
      type: string
      description: The type of bank account
      enum:
        - SAVINGS
        - CHECKING
      example: CHECKING
    BankAccountResponse:
      title: BankAccountResponse
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The unique identifier for the bank account
          readOnly: true
          example: 550e8400-e29b-41d4-a716-446655440000
        type:
          $ref: "#/components/schemas/BankAccountType"
        holderName:
          type: string
          description: Name of the account holder
          example: Jane Doe
        number:
          type: string
          description: Masked bank account number (last 4 digits visible)
          readOnly: true
          example: "****7890"
        routingNumber:
          type: string
          description: Bank routing number
          readOnly: true
          example: "021000021"
        bankName:
          type: string
          description: Name of the bank
          example: Chase Bank
        nickname:
          type: string
          description: Optional nickname for the bank account
          example: Main
        primaryAccount:
          type: boolean
          description: Indicates if this is the primary bank account
          example: true
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the bank account was created
          readOnly: true
          example: 2024-01-15T10:30:00Z
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the bank account was last updated
          readOnly: true
          nullable: true
          example: 2024-01-15T14:45:00Z
```
