Public API reference
/v4 API
/- Check a Stripe promo code for a user
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 change
Preview the Stripe subscription price
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
Check a Stripe promo code...
Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The payment form payment options are checked to match the minimum payment amount requirements of the promo code.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/payment/stripe/promo-code
curl -i -X GET \
'https://demo-site/zephr/payment/stripe/promo-code?code=string&paymentForm=string' \
-b blaize_session=YOUR_API_KEY_HEREResponse
{ "code": "string", "discount": "string", "paymentOptions": [ { … } ] }