Change the Stripe subscription price

Generates a new preview of the price that Stripe will charge the customer if they create a new subscription for the specified plan. Note: This method does not create any entities in Stripe and does not result in any payments being made.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
path Parameters
externalId
required
string
Request Body schema: application/json
plan_id
string
Responses
200

OK

400

Bad Request

post/zephr/payment/stripe/subscriptions/{externalId}/change-previews
Request samples
application/json
{
  • "plan_id": "string"
}
Response samples
application/json
{
  • "total": 5000,
  • "sub_total": 4500
}