Public API reference
/v4 API
/- Create a Stripe one-off payment
Retrieve the Stripe public key
Create a Stripe setup intent secret
Start the Stripe subscription confirmation
Update the Stripe subscription
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
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
Create a Stripe one-off p...
Uses the payment method collected by Stripe Elements to create a one off payment.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/blaize/payment/stripe/buy
{ "product_id": "lifetime-membership", "price_point_id": "gold-package", "payment_method": "pm_123456789", "payment_intent_id": "pi_1GYZYWLgUJT2XNPAYQMomeqf" }
OK
Reference to Stripe payment required to process payment in front end.
Example:"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`"
Response
{ "grant_id": "aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5", "client_secret": "src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`", "payment_intent_id": "pi_1GYZYWLgUJT2XNPAYQMomeqf" }