Stripe Payments

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.

post/zephr/payment/stripe/updateSubscription

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/payment/stripe/updateSubscription
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Request body

subscription_idstring required
payment_method_idstring required

Example request

{
  "subscription_id": "sub_H8eIeMFwMawg6w",
  "payment_method_id": "pm_2KrMmOCvDgIhZCB6u0Yn7COE"
}

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.