create sub operations
All checks were successful
Tests / Tests (pull_request) Successful in 11s

This commit is contained in:
2025-07-09 11:31:26 -07:00
parent 6685849cc2
commit a497abd44d
2 changed files with 205 additions and 0 deletions

View File

@@ -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
}
}
}
}