setDefaultPaymentMethod
Replaces the billing account's default card through Stripe and returns the refreshed card summary. Fails
when the account has no Stripe customer; otherwise points an active subscription at the new card and
detaches the previous card. Use defaultPaymentMethod to read the current summary. Requires
authentication.
setDefaultPaymentMethod(
paymentMethodId: String!
): SetDefaultPaymentMethodResult
Arguments
setDefaultPaymentMethod.paymentMethodId ● String! non-null scalar
Stripe payment method ID created by the payment client; replaces the billing account default card.
Type
SetDefaultPaymentMethodResult object
Refreshed default card summary returned by setDefaultPaymentMethod.