mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat(core): Add amount_capturable field to manual update api (#10013)
This commit is contained in:
@ -8556,6 +8556,8 @@ pub struct PaymentsManualUpdateRequest {
|
||||
pub error_reason: Option<String>,
|
||||
/// A unique identifier for a payment provided by the connector
|
||||
pub connector_transaction_id: Option<String>,
|
||||
/// The amount that can be captured on the payment.
|
||||
pub amount_capturable: Option<MinorUnit>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize, Clone, ToSchema)]
|
||||
@ -8577,6 +8579,8 @@ pub struct PaymentsManualUpdateResponse {
|
||||
pub error_reason: Option<String>,
|
||||
/// A unique identifier for a payment provided by the connector
|
||||
pub connector_transaction_id: Option<String>,
|
||||
/// The amount that can be captured on the payment.
|
||||
pub amount_capturable: Option<MinorUnit>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize, Clone, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user