refactor(recon): updating user flow for recon (#2029)

This commit is contained in:
anji-reddy-j
2023-08-29 16:12:19 +05:30
committed by GitHub
parent e64d5a3fc2
commit 15106233e9
12 changed files with 65 additions and 5 deletions

View File

@ -9,6 +9,7 @@ use utoipa::ToSchema;
use super::payments::AddressDetails;
use crate::{
enums,
enums::{self as api_enums},
payment_methods,
};
@ -272,6 +273,10 @@ pub struct MerchantAccountResponse {
/// The default business profile that must be used for creating merchant accounts and payments
#[schema(max_length = 64)]
pub default_profile: Option<String>,
/// A enum value to indicate the status of recon service. By default it is not_requested.
#[schema(value_type = ReconStatus, example = "not_requested")]
pub recon_status: enums::ReconStatus,
}
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize)]