Public API reference
/v4 API
/- Preview the Stripe subscription change
Retrieve the Stripe public key
Create a Stripe setup intent secret
Start the Stripe subscription confirmation
Update the Stripe subscription
Create a Stripe one-off payment
Receive a webhook from Stripe for when a user is charged for a subscription.
Preview the Stripe subscription price
Check a Stripe promo code for a user
Check a Stripe promo code for a user
Start the Stripe subscription (Deprecated)
List the user's Stripe subscriptions
Cancel a user's Stripe subscription
Preview the Stripe subscr...
Generates a preview of the invoice that Stripe will create for the customer if their subscription is changed to a new plan. The invoice will be a prorated invoice for the price difference between current and new subscription plans for the remainder of the current billing period. The invoice will be billed immediately upon changing subscription. The invoice amount may be negative if the customer is changing to a lower-priced plan.
Note: This method does not modify the user's subscription.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/payment/stripe/subscription/{subscriptionId}/change-previews
{ "plan_id": "price_H8eIeMFwMawg6w" }
Response
{
"total": 5000,
"sub_total": 4500
}