mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat: Add amount, currency and email to paze session response (#6412)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -5578,6 +5578,15 @@ pub struct PazeSessionTokenResponse {
|
||||
pub client_name: String,
|
||||
/// Paze Client Profile ID
|
||||
pub client_profile_id: String,
|
||||
/// The transaction currency code
|
||||
#[schema(value_type = Currency, example = "USD")]
|
||||
pub transaction_currency_code: api_enums::Currency,
|
||||
/// The transaction amount
|
||||
#[schema(value_type = String, example = "38.02")]
|
||||
pub transaction_amount: StringMajorUnit,
|
||||
/// Email Address
|
||||
#[schema(max_length = 255, value_type = Option<String>, example = "johntest@test.com")]
|
||||
pub email_address: Option<Email>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, serde::Serialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user