List the Braintree subscriptions of a user

Lists all Braintree subscriptions for the logged-in user.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
header Parameters
cookie
string

The session cookie.

Example: `blaize_session=...` (string)
Responses
200

OK

401

Unauthorized

404

Not Found

get/blaize/payment/braintree/subscriptions
Response samples
application/json
{
  • "token": "8m2kc5g",
  • "managed-by": "Braintree",
  • "external-id": "abc123",
  • "next-billing-time": "2021-05-17T04:31:33Z",
  • "ends": "2021-05-17T04:31:33Z",
  • "blaize-product": {
    },
  • "transaction-history": [
    ],
  • "subscription-state": "active",
  • "paid_through_date": "2021-05-17T04:31:33Z",
  • "plan_id": "plan-123",
  • "plan_name": "monthly-plan",
  • "currency_code": "GBP",
  • "pre_discount_price": 50,
  • "billing_frequency_unit": "MONTH",
  • "billing_frequency": 1,
  • "discounts_applied": true,
  • "multiphase_plan": true
}