pub async fn request_session(&self, device_id: &str) -> ResponsePayload<Session> {
        self.request("/v1/auth/session", &[("deviceId", device_id)], &[])
            .await
            .json()
            .await
            .unwrap()
    }
/// Ask bank API for new session.
///
/// This method is a first call in any new interaction with bank API, so you should pregenrate
/// device id and keep it.
Ask bank API for new session.
This method is a first call in any new interaction with bank API, so you should pregenrate
device id and keep it.
Ask bank API for new session . This method is a first call in any new interaction with bank API so you should pregenrate device id and keep it .
pub async fn request_session(&self, device_id: &str) -> ResponsePayload<Session> {
        self.request("/v1/auth/session", &[("deviceId", device_id)], &[])
            .await
            .json()
            .await
            .unwrap()
    }
pub async fn request_session ( & self , device_id : & str ) -> ResponsePayload < Session > { self . request ( " " , & [ ( " " , device_id ) ] , & [ ] ) . await . json ( ) . await . unwrap ( ) }
Ask bank API for new session.
Ask bank API for new session .
&self
device_id
&str
&self
device_id
&str