fix(refund): add error code in refund table (#427)

This commit is contained in:
Kartikeya Hegde
2023-01-20 13:44:08 +05:30
committed by GitHub
parent cf88718e69
commit dcfa7b0846
7 changed files with 19 additions and 3 deletions

View File

@ -76,6 +76,7 @@ pub struct RefundResponse {
#[schema(value_type = Option<Object>)]
pub metadata: Option<serde_json::Value>,
pub error_message: Option<String>,
pub error_code: Option<String>,
#[serde(with = "common_utils::custom_serde::iso8601::option")]
pub created_at: Option<PrimitiveDateTime>,
#[serde(with = "common_utils::custom_serde::iso8601::option")]