mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat: add merchant_name field in the response body (#1280)
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
use cards::CardNumber;
|
||||
use common_utils::pii;
|
||||
use common_utils::{crypto::OptionalEncryptableName, pii};
|
||||
use serde::de;
|
||||
use utoipa::ToSchema;
|
||||
|
||||
@ -441,6 +441,9 @@ pub struct PaymentMethodListResponse {
|
||||
/// Value indicating if the current payment is a mandate payment
|
||||
#[schema(value_type = MandateType)]
|
||||
pub mandate_payment: Option<payments::MandateType>,
|
||||
|
||||
#[schema(value_type = Option<String>)]
|
||||
pub merchant_name: OptionalEncryptableName,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Hash, Debug, serde::Deserialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user