pub async fn list_accounts(
        &self,
        device_id: &str,
        session_id: &str,
    ) -> ResponsePayload<Vec<Account>> {
        self.request(
            "/v1/accounts_flat",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[],
        )
        .await
        .json()
        .await
        .unwrap()
    }
/// List all bank accounts as flat list.
///
/// Note that this method won't return any accounts from investing.
List all bank accounts as flat list.
Note that this method won't return any accounts from investing.
List all bank accounts as flat list . Note that this method won ' t return any accounts from investing .
pub async fn list_accounts(
        &self,
        device_id: &str,
        session_id: &str,
    ) -> ResponsePayload<Vec<Account>> {
        self.request(
            "/v1/accounts_flat",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[],
        )
        .await
        .json()
        .await
        .unwrap()
    }
pub async fn list_accounts ( & self , device_id : & str , session_id : & str , ) -> ResponsePayload < Vec < Account > > { self . request ( " " , & [ ( " " , device_id ) , ( " " , session_id ) ] , & [ ] , ) . await . json ( ) . await . unwrap ( ) }
List all bank accounts as flat list.
List all bank accounts as flat list .
&self
device_id
&str
session_id
&str
&self
device_id
&str
session_id
&str