Public API reference
/v4 API
/- Start the Braintree subscription (Deprecated)
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 subsc...
** (Deprecated - use the "/zephr/subscribe" operation intead)** Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer in with a recurring payment. When braintree responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Payment method nonce from Braintree drop-in UI.
Example:"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ=="
Whether or not to skip any trial period that may be associated with this subscription. This should be null or not set to use the configured trial period.
Example:true
- https://demo-sitehttps://demo-site/blaize/payment/braintree/subscribe
{ "product_id": "premium-access-monthly-recurring", "payment_nonce": "eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==", "skip_trial_period": true, "start_date": "2021-01-01T00:00:00Z" }
Response
{ "grant_id": "33d576c7-d036-40e7-8141-8a91998a5c79" }