---
title: "Retrieve the Braintree token"
method: GET
path: "/blaize/payment/braintree/token"
tags: ["Braintree Payments"]
---

# Retrieve the Braintree token

`GET /blaize/payment/braintree/token`

## Request

- Base URL: `https://demo-site`
- URL: `https://demo-site/blaize/payment/braintree/token`
- 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`

Issues a Braintree client token for the current blaize session.
This holds the user's userId if the user has an authenticated session.
This token can be used to request a payment once.

## Query parameters

- `allowUnauthenticated` boolean

## Headers

- `cookie` string

## Response `200`

OK

- object
  - `token` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
