Skip to content

List all Braintree plans

Request

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
Query
product_idstringrequired

Product ID

Headers
cookiestring

The session cookie.

Example:`blaize_session=...` (string)
cURL
curl -i -X GET \
  'https://demo-site/zephr/payment/braintree/plans?product_id=string' \
  -H 'cookie: `blaize_session=...` (string)' \
  -b '`blaize_session=...` (string)'

Responses

OK

Headers
any
Bodyapplication/json
plan-idobject(payment_plan)
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" } }