Braintree Payments

List all Braintree plans

Lists the plans associated with the identified product. The product ID is required.

get/zephr/payment/braintree/plans

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/payment/braintree/plans
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Query parameters

product_idstring required

Product ID

Headers

cookiestring

The session cookie.

Response

OK

Example 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,
    "zephr_product_id": "product-123"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.