mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
refactor(core): propagate network_transaction_id in response of payment (#8829)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -5207,6 +5207,9 @@ pub struct PaymentsResponse {
|
||||
/// A unique identifier for the payment method used in this payment. If the payment method was saved or tokenized, this ID can be used to reference it for future transactions or recurring payments.
|
||||
pub payment_method_id: Option<String>,
|
||||
|
||||
/// The network transaction ID is a unique identifier for the transaction as recognized by the payment network (e.g., Visa, Mastercard), this ID can be used to reference it for future transactions or recurring payments.
|
||||
pub network_transaction_id: Option<String>,
|
||||
|
||||
/// Payment Method Status, refers to the status of the payment method used for this payment.
|
||||
#[schema(value_type = Option<PaymentMethodStatus>)]
|
||||
pub payment_method_status: Option<common_enums::PaymentMethodStatus>,
|
||||
|
||||
Reference in New Issue
Block a user