v1
latestOpenAPI 3.0.02026-08-0610682246.0 KBBraintree Payments
List the Braintree subscriptions of a user
Lists all Braintree subscriptions for the logged-in user.
get/blaize/payment/braintree/subscriptions
Headers
cookiestring
The session cookie.
Response
OK
Example response
{
"managed-by": "Braintree",
"ends": "2021-05-17T04:31:33Z",
"external-id": "abc123",
"next-billing-time": "2021-05-17T04:31:33Z",
"blaize-product": {
"tenantId": "your-tenant|site-slug",
"subTenantId": "your-tenant|site-slug",
"id": "one-month-one-off",
"label": "One month access",
"description": "One month access",
"entitlement": {
"id": "191f6d00-b8d4-46f1-a22d-2bf53f4f8fa3",
"type": "bundle"
},
"mapping": {
"recurring": {
"plans": [
{
"paymentProvider": "braintree"
}
]
},
"oneOff": {
"plans": [
{
"paymentProvider": "braintree",
"accessDuration": {
"duration": 2,
"unit": "MONTHS"
}
}
]
}
}
},
"transaction-history": [
{
"time": "2024-02-15T11:30:58Z",
"currency": "EUR",
"cents": 900,
"cycle": "month",
"cycleCount": 1,
"currencyCode": "EUR",
"human-readable-amount": "€9.0"
}
],
"paid_through_date": "2021-05-17T04:31:33Z",
"plan_id": "plan-123",
"plan_name": "monthly-plan",
"billing_frequency": 1,
"currency_code": "GBP",
"pre_discount_price": 50,
"discounts_applied": true
}