mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(users): Add preferred_merchant_id column and update user details API (#3373)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -147,3 +147,9 @@ pub struct VerifyTokenResponse {
|
||||
pub merchant_id: String,
|
||||
pub user_email: pii::Email,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct UpdateUserAccountDetailsRequest {
|
||||
pub name: Option<Secret<String>>,
|
||||
pub preferred_merchant_id: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user