mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
refactor(api_models): shrink Amount (#140)
This commit is contained in:
@ -67,7 +67,7 @@ enum PaymentDetails {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
struct TransactionRequest {
|
||||
transaction_type: TransactionType,
|
||||
amount: i32,
|
||||
amount: i64,
|
||||
currency_code: String,
|
||||
payment: PaymentDetails,
|
||||
authorization_indicator_type: Option<AuthorizationIndicator>,
|
||||
@ -315,7 +315,7 @@ impl<F, T>
|
||||
#[serde(rename_all = "camelCase")]
|
||||
struct RefundTransactionRequest {
|
||||
transaction_type: TransactionType,
|
||||
amount: i32,
|
||||
amount: i64,
|
||||
currency_code: String,
|
||||
payment: PaymentDetails,
|
||||
#[serde(rename = "refTransId")]
|
||||
|
||||
Reference in New Issue
Block a user