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:
Prajjwal Kumar
2024-03-11 13:04:34 +05:30
committed by GitHub
parent 614182ae4c
commit 7391416e24
42 changed files with 277 additions and 65 deletions

View File

@ -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)]