Public API reference
/v4 API
/- List all Braintree plans
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
Get a Braintree Promo Code
List Braintree add-ons
Start the Braintree subscription (Deprecated)
List all Braintree plans
Lists the plans associated with the identified product. The product ID is required.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/payment/braintree/plans
curl -i -X GET \
'https://demo-site/zephr/payment/braintree/plans?product_id=string' \
-H 'cookie: `blaize_session=...` (string)' \
-b '`blaize_session=...` (string)'Response
{ "plan-id": { "id": "annual-plan", "name": "Sports+ Membership Annual", "currency_code": "USD", "base_price": 10.2, "billing_interval_unit": "MONTH", "billing_interval": 3, "billing_cycles": 12, "trial_duration_unit": "DAY", "trial_duration": 30, "discounts": [ … ], "zephr_product_id": "product-123" } }