chore: support cancellation reason
This commit is contained in:
parent
53cbe992bf
commit
4987884b58
|
|
@ -124,7 +124,8 @@ pub struct WorkspaceUsageAndLimit {
|
||||||
pub struct SubscriptionCancelRequest {
|
pub struct SubscriptionCancelRequest {
|
||||||
pub workspace_id: String,
|
pub workspace_id: String,
|
||||||
pub plan: SubscriptionPlan,
|
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)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue