mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
refactor(core): updated payments response with payment_method_id & payment_method_status (#3883)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2717,6 +2717,13 @@ pub struct PaymentsResponse {
|
||||
|
||||
/// Payment Fingerprint
|
||||
pub fingerprint: Option<String>,
|
||||
|
||||
/// Payment Method Id
|
||||
pub payment_method_id: Option<String>,
|
||||
|
||||
/// Payment Method Status
|
||||
#[schema(value_type = Option<PaymentMethodStatus>)]
|
||||
pub payment_method_status: Option<common_enums::PaymentMethodStatus>,
|
||||
}
|
||||
|
||||
#[derive(Setter, Clone, Default, Debug, PartialEq, serde::Serialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user