create_temporary_password

Function create_temporary_password 

Source
pub async fn create_temporary_password(
    password: String,
    valid_for: i32,
    client_id: i32,
) -> Result<TemporaryPasswordState, Error>
Expand description

Creates a new temporary password for processing payments

ยงArguments

  • password - The 2-step verification password of the current user
  • valid_for - Time during which the temporary password will be valid, in seconds; must be between 60 and 86400
  • client_id - The client id to send the request to