{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quickbooks/json-schema/quickbooks-bankaccountrequest-schema.json",
  "title": "bankaccountrequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quickbooks-payments-openapi-generated.yml#/components/schemas/bankaccountrequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the bank account holder.",
      "x-intuit-required": "Required"
    },
    "AccountNumber": {
      "type": "string",
      "description": "The bank account number to be used. For security purposes, only the last four digits are displayed.",
      "x-intuit-required": "Required"
    },
    "Default": {
      "type": "boolean",
      "description": "A flag to indicate whether the account is the default, which will be used when one is not explicitly specified. The flag defaults to   false  ; when one account is flagged as true, all other stored accounts in the collection will automatically be set to false.",
      "x-intuit-required": "Optional"
    },
    "Country": {
      "type": "string",
      "description": "ISO-standard country code. Refer to Country Code List for a list of codes.",
      "x-intuit-required": "Optional"
    },
    "Phone": {
      "type": "string",
      "description": "A phone number to be associated with the account.",
      "x-intuit-required": "Required"
    },
    "AccountType": {
      "type": "string",
      "description": "The type of account to be used. Valid values include:  PERSONAL_CHECKING  the account is a personal checking account.\n  PERSONAL_SAVINGS  the account is a personal savings account.\n  BUSINESS_CHECKING  the account is a business checking account.\n  BUSINESS_SAVINGS  the account is a business savings account.",
      "x-intuit-required": "Required"
    },
    "BankCode": {
      "type": "string",
      "description": "A code assigned by a central bank, a bank supervisory body or a Bankers Association in a country to all its licensed member banks or financial institutions. Varies depending on country.",
      "x-intuit-required": "Optional"
    },
    "RoutingNumber": {
      "type": "string",
      "description": "The bank routing number. For security purposes, only the last four digits are displayed.",
      "x-intuit-required": "Required"
    },
    "InputType": {
      "type": "string",
      "description": "Specifies the input type. Valid values include:  KEYED A manually-entered account key.",
      "x-intuit-required": "Optional"
    }
  },
  "required": [
    "AccountNumber",
    "AccountType",
    "Name",
    "Phone",
    "RoutingNumber"
  ]
}