This commit is contained in:
@@ -12,3 +12,30 @@ mutation EnsureStripeCustomerExists {
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
|
||||
mutation CreateSubscription($priceId: String!) {
|
||||
createSubscription(priceId: $priceId) {
|
||||
checkoutUrl
|
||||
sessionId
|
||||
}
|
||||
}
|
||||
|
||||
query GetAvailableSubscriptionOptions {
|
||||
getAvailableSubscriptionOptions {
|
||||
products {
|
||||
id
|
||||
name
|
||||
description
|
||||
active
|
||||
prices {
|
||||
id
|
||||
currency
|
||||
unitAmount
|
||||
recurringInterval
|
||||
recurringIntervalCount
|
||||
type
|
||||
active
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user