# terminal.connection\_token

From **Stripe API**.

A Connection Token is used by the Stripe Terminal SDK to connect to a reader.

Related guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations).

- Type: `object`

## Properties

### `location`

- Required: false
- Type: `string`
- maxLength: `5000`

The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).

### `object`

- Required: true
- Type: `string`
- Allowed values: `"terminal.connection_token"`

String representing the object's type. Objects of the same type share the same value.

### `secret`

- Required: true
- Type: `string`
- maxLength: `5000`

Your application should pass this token to the Stripe Terminal SDK.

## JSON Schema

```json
{"description":"A Connection Token is used by the Stripe Terminal SDK to connect to a reader.\n\nRelated guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations).","properties":{"location":{"description":"The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).","maxLength":5000,"type":"string"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.connection_token"],"type":"string"},"secret":{"description":"Your application should pass this token to the Stripe Terminal SDK.","maxLength":5000,"type":"string"}},"required":["object","secret"],"title":"TerminalConnectionToken","type":"object","x-expandableFields":[],"x-resourceId":"terminal.connection_token"}
```
