# `Stripe.Services.Terminal.ConnectionTokenService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/terminal/connection_token_service.ex#L2)

TerminalConnectionToken

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

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

# `create`

```elixir
@spec create(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Create a Connection Token

To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
