Merge pull request #693 from AppFlowy-IO/feat/billing-cancel-reason

chore: support cancellation reason
This commit is contained in:
Zack 2024-07-17 17:34:32 +08:00 committed by GitHub
commit 76a8993cac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,8 @@ pub struct WorkspaceUsageAndLimit {
pub struct SubscriptionCancelRequest {
pub workspace_id: String,
pub plan: SubscriptionPlan,
pub sync: bool, // if true, this request will block until stripe has sent the cancelation webhook
pub sync: bool, // if true, this request will block until stripe has sent the cancellation webhook
pub reason: Option<String>,
}
#[derive(Serialize, Deserialize, Debug)]