createWaitlistSetupIntentMutation
Create a SetupIntent for capturing a card to reserve a paid waitlist spot. The returned client secret is consumed by Stripe.js; the resulting PaymentMethod is then passed to registerForActivity as paymentMethod.
Arguments
activitySessionEntityRef!Returns
CreateWaitlistSetupIntentResult!
See CreateWaitlistSetupIntentResult for the full shape.
Try it
Example
Query
mutation CreateWaitlistSetupIntent($activitySession: EntityRef!) {
createWaitlistSetupIntent(activitySession: $activitySession) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlcreateWaitlistSetupIntent