mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
refactor(connector): added amount framework to paypal, payouts and routing (#4865)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com> Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
@ -19,7 +19,7 @@ pub struct PaymentMethodInput {
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct PaymentInput {
|
||||
pub amount: i64,
|
||||
pub amount: common_utils::types::MinorUnit,
|
||||
pub currency: enums::Currency,
|
||||
pub authentication_type: Option<enums::AuthenticationType>,
|
||||
pub card_bin: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user