Public API reference
/v4 API
/- 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
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
Retrieve the Stripe publi...
This API endpoint fetches the public key associated with a tenant for payment processing. If the user is authenticated and the tenant has a configured Stripe public key, the endpoint will return the Stripe public key in a String format.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/blaize/payment/stripe/publicKey
curl -i -X GET \
https://demo-site/blaize/payment/stripe/publicKey \
-H 'cookie: blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0' \
-b blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0Response
"pk_live_PFghBsstUo5FwUGcXBiNvIkY00X1YHtpnJ"