mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
feat(core): add columns unified error code and error message in refund table (#6933)
This commit is contained in:
@ -188,6 +188,10 @@ pub struct RefundResponse {
|
||||
pub error_message: Option<String>,
|
||||
/// The code for the error
|
||||
pub error_code: Option<String>,
|
||||
/// Error code unified across the connectors is received here if there was an error while calling connector
|
||||
pub unified_code: Option<String>,
|
||||
/// Error message unified across the connectors is received here if there was an error while calling connector
|
||||
pub unified_message: Option<String>,
|
||||
/// The timestamp at which refund is created
|
||||
#[serde(with = "common_utils::custom_serde::iso8601::option")]
|
||||
pub created_at: Option<PrimitiveDateTime>,
|
||||
|
||||
Reference in New Issue
Block a user