mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat: scheme error code and messages in payments api response (#7528)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -210,6 +210,10 @@ pub struct RefundResponse {
|
||||
/// Charge specific fields for controlling the revert of funds from either platform or connected account
|
||||
#[schema(value_type = Option<SplitRefund>,)]
|
||||
pub split_refunds: Option<common_types::refunds::SplitRefund>,
|
||||
/// Error code received from the issuer in case of failed refunds
|
||||
pub issuer_error_code: Option<String>,
|
||||
/// Error message received from the issuer in case of failed refunds
|
||||
pub issuer_error_message: Option<String>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1")]
|
||||
|
||||
Reference in New Issue
Block a user