mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat(events): Add payment metadata to hyperswitch-payment-intent-events (#5170)
Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com> Co-authored-by: Sampras Lopes <Sampras.lopes@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -261,7 +261,7 @@ pub struct StripePaymentIntentRequest {
|
||||
pub shipping: Option<Shipping>,
|
||||
pub statement_descriptor: Option<String>,
|
||||
pub statement_descriptor_suffix: Option<String>,
|
||||
pub metadata: Option<SecretSerdeValue>,
|
||||
pub metadata: Option<serde_json::Value>,
|
||||
pub client_secret: Option<masking::Secret<String>>,
|
||||
pub payment_method_options: Option<StripePaymentMethodOptions>,
|
||||
pub merchant_connector_details: Option<admin::MerchantConnectorDetailsWrap>,
|
||||
@ -478,7 +478,7 @@ pub struct StripePaymentIntentResponse {
|
||||
pub customer: Option<id_type::CustomerId>,
|
||||
pub refunds: Option<Vec<stripe_refunds::StripeRefundResponse>>,
|
||||
pub mandate: Option<String>,
|
||||
pub metadata: Option<SecretSerdeValue>,
|
||||
pub metadata: Option<serde_json::Value>,
|
||||
pub charges: Charges,
|
||||
pub connector: Option<String>,
|
||||
pub description: Option<String>,
|
||||
|
||||
@ -458,7 +458,7 @@ pub struct StripeSetupIntentResponse {
|
||||
pub object: String,
|
||||
pub status: StripeSetupStatus,
|
||||
pub client_secret: Option<masking::Secret<String>>,
|
||||
pub metadata: Option<secret::SecretSerdeValue>,
|
||||
pub metadata: Option<Value>,
|
||||
#[serde(with = "common_utils::custom_serde::iso8601::option")]
|
||||
pub created: Option<time::PrimitiveDateTime>,
|
||||
pub customer: Option<id_type::CustomerId>,
|
||||
|
||||
Reference in New Issue
Block a user