Skip to main content

createSubscriptionSession

Create a Stripe Checkout session for subscribing to a plan. Returns the checkout session URL for redirect.

createSubscriptionSession(
ownerID: String!
priceID: String!
): String!

Arguments

createSubscriptionSession.ownerID ● String! non-null scalar

createSubscriptionSession.priceID ● String! non-null scalar

Type

String scalar

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.