get user sub status and cancel sub
All checks were successful
Tests / Tests (pull_request) Successful in 11s
All checks were successful
Tests / Tests (pull_request) Successful in 11s
This commit is contained in:
@@ -39,3 +39,27 @@ query GetAvailableSubscriptionOptions {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetSubscriptionStatus {
|
||||
getUserSubscriptionStatus {
|
||||
hasActiveSubscription
|
||||
subscriptionStatus
|
||||
currentPeriodStart
|
||||
currentPeriodEnd
|
||||
validUntil
|
||||
stripePriceId
|
||||
stripeSubscriptionId
|
||||
}
|
||||
}
|
||||
|
||||
mutation CancelSubscription {
|
||||
cancelSubscription {
|
||||
hasActiveSubscription
|
||||
subscriptionStatus
|
||||
currentPeriodStart
|
||||
currentPeriodEnd
|
||||
validUntil
|
||||
stripePriceId
|
||||
stripeSubscriptionId
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user