mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(core): added customer phone_number and email to session token response for click to pay (#6863)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -6997,6 +6997,11 @@ pub struct ClickToPaySessionResponse {
|
||||
pub transaction_amount: StringMajorUnit,
|
||||
#[schema(value_type = Currency)]
|
||||
pub transaction_currency_code: common_enums::Currency,
|
||||
#[schema(value_type = Option<String>, max_length = 255, example = "9123456789")]
|
||||
pub phone_number: Option<Secret<String>>,
|
||||
#[schema(max_length = 255, value_type = Option<String>, example = "johntest@test.com")]
|
||||
pub email: Option<Email>,
|
||||
pub phone_country_code: Option<String>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1")]
|
||||
|
||||
Reference in New Issue
Block a user