---
title: "IriPartyBank"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/IriPartyBank"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# IriPartyBank

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://qa.api.zinnia.io
components:
  schemas:
    IriBankAccountStatus:
      type: string
      description: Status of the bank account.
      enum:
        - ACTIVEBANKACCOUNT
        - TERMINATEDBANKACCOUNT
    IriBankAccountType:
      type: string
      description: Type of the bank account.
      enum:
        - CHECKING
        - SAVINGS
        - CREDITCARDACCOUNT
        - DEBITCARDACCOUNT
        - BROKERAGEACCOUNT
        - CERTIFICATEOFDEPOSITACCOUNT
    IriPartyBank:
      type: object
      properties:
        bankId:
          type: string
          description: Bank identifier.
          example: BNK123
          maxLength: 100
        nameOnAccount:
          type: string
          description: Name on the bank account.
          example: JOHN Q PUBLIC
          maxLength: 100
        accountStatus:
          $ref: "#/components/schemas/IriBankAccountStatus"
        accountType:
          $ref: "#/components/schemas/IriBankAccountType"
        accountNumber:
          type: string
          description: Bank account number.
          example: "0000123412341234"
          maxLength: 17
          pattern: ^\d{4,17}$
        routingNumber:
          type: string
          description: Routing number.
          example: "021000021"
          pattern: ^\d{9}$
        branchName:
          type: string
          description: Branch name.
          example: Charlotte Main Branch
          maxLength: 100
      required:
        - nameOnAccount
        - accountType
        - accountNumber
        - routingNumber
```
