Update the Stripe subscription

Updates the payment method in the subscription. Payment method id will be provided by stripe on updating card details in the front end.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
subscription_id
required
string
payment_method_id
required
string
Responses
200

OK

post/zephr/payment/stripe/updateSubscription
Request samples
application/json
{
  • "subscription_id": "sub_H8eIeMFwMawg6w",
  • "payment_method_id": "pm_2KrMmOCvDgIhZCB6u0Yn7COE"
}