setDefaultPaymentMethodMutation
Mark one of the viewer's saved cards as the default. Updates the Stripe Customer's invoice_settings.default_payment_method, which is the auto-charge fallback for paid waitlist promotion (and any future off-session charge surface).
Arguments
paymentMethodID!Returns
SetDefaultPaymentMethodResult!
See SetDefaultPaymentMethodResult for the full shape.
Try it
Example
Query
mutation SetDefaultPaymentMethod($paymentMethod: ID!) {
setDefaultPaymentMethod(paymentMethod: $paymentMethod) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlsetDefaultPaymentMethod