Public API reference
/v4 API
/- Retrieve the Braintree token
Create a subscription charged callback
List the Braintree subscriptions of a user
Update the Braintree subscription
Cancel the Braintree subscription
Create a Braintree buy (one-off)
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)
Retrieve the Braintree to...
Issues a Braintree client token for the current blaize session. This holds the user's userId if the user has an authenticated session. This token can be used to request a payment once.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/blaize/payment/braintree/token
curl -i -X GET \
'https://demo-site/blaize/payment/braintree/token?allowUnauthenticated=true' \
-H 'cookie: `blaize_session=...` (string)' \
-b '`blaize_session=...` (string)'Response
{ "token": "eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==" }