Skip to content

UpdateBankAccount ​

Type: schema

Description ​

Only is_default can change. Outbound accounts reject account-detail fields, whether verified or not; inbound accounts ignore them. Making an unverified account default or unsetting the current default returns 400.

TypeScript Definition ​

typescript
UpdateBankAccount: {{
            is_default?: boolean;
            /** @description The saved account type determines the update. If supplied, this value must be nonblank and at most 64 characters, but does not change the account type. */
            account_type?: string;
        };
        /** UpdateBusinessAddress */
}

OpenAPI Schema ​

json
{
  "title": "UpdateBankAccount",
  "description": "Only `is_default` can change. Outbound accounts reject account-detail fields, whether verified or not; inbound accounts ignore them. Making an unverified account default or unsetting the current default returns 400.",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/UpdateBankAccount",
    "description": "API reference for the UpdateBankAccount schema"
  },
  "properties": {
    "is_default": {
      "type": "boolean"
    },
    "account_type": {
      "description": "The saved account type determines the update. If supplied, this value must be nonblank and at most 64 characters, but does not change the account type.",
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "pattern": "\\S"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: