mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(api_models): shrink Amount (#140)
This commit is contained in:
@ -8,7 +8,7 @@ pub struct RefundRequest {
|
||||
pub refund_id: Option<String>,
|
||||
pub payment_id: String,
|
||||
pub merchant_id: Option<String>,
|
||||
pub amount: Option<i32>,
|
||||
pub amount: Option<i64>,
|
||||
pub reason: Option<String>,
|
||||
pub refund_type: Option<RefundType>,
|
||||
pub metadata: Option<serde_json::Value>,
|
||||
@ -26,7 +26,7 @@ pub enum RefundType {
|
||||
pub struct RefundResponse {
|
||||
pub refund_id: String,
|
||||
pub payment_id: String,
|
||||
pub amount: i32,
|
||||
pub amount: i64,
|
||||
pub currency: String,
|
||||
pub reason: Option<String>,
|
||||
pub status: RefundStatus,
|
||||
|
||||
Reference in New Issue
Block a user