feat: add organization_id to merchant account (#1611)

This commit is contained in:
Narayan Bhat
2023-07-14 12:50:21 +05:30
committed by GitHub
parent 07aef53a5c
commit 7025b789b8
9 changed files with 32 additions and 0 deletions

View File

@ -83,6 +83,9 @@ pub struct MerchantAccountCreate {
///(900) for 15 mins
#[schema(example = 900)]
pub intent_fulfillment_time: Option<u32>,
/// The id of the organization to which the merchant belongs to
pub organization_id: Option<String>,
}
#[derive(Clone, Debug, Deserialize, ToSchema)]
@ -221,6 +224,9 @@ pub struct MerchantAccountResponse {
///Will be used to expire client secret after certain amount of time to be supplied in seconds
///(900) for 15 mins
pub intent_fulfillment_time: Option<i64>,
/// The organization id merchant is associated with
pub organization_id: Option<String>,
}
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize)]