Public API reference
/v4 API
/- Create a Braintree buy (one-off)
Retrieve the Braintree token
Create a subscription charged callback
List the Braintree subscriptions of a user
Update the Braintree subscription
Cancel the Braintree subscription
List Braintree payment methods
Create a new Braintree payment method.
Update a Braintree payment method
Delete the Braintree payment method
Set the default Braintree payment method
List all Braintree plans
Get a Braintree Promo Code
List Braintree add-ons
Start the Braintree subscription (Deprecated)
Create a Braintree buy (o...
Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer and issue a one-off payment. When braintree responds successfully, the logged-in user will be granted all entitlements in the product's associated bundle.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/blaize/payment/braintree/buy
{ "product_id": "lifetime-membership", "price_point_id": "gold-package", "payment_nonce": "eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==" }
Response
{ "grant_id": "aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5" }