Skip to content

Incorrect type for PlaidAccount #377

Description

@sderrow

The definition of PlaidAccount is currently this, which has no class_type and says that verification_status is always a string. However, according to the API docs and from what I've seen during real-world use, the correct type should be the following, where verification_status is nullable and class_type is specified.

export interface PlaidAccount {
  id: string;
  name: string;
  mask: string;
  type: string;
  subtype: string;
  verification_status: string | null;
  class_type: string | null;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions