Stripe.Terminal.ConnectionToken (stripity_stripe v2.17.2) View Source
A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
You can:
Link to this section Summary
Functions
Create a new Connection Token
Link to this section Types
Specs
Link to this section Functions
Specs
create(params, Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()} when params: %{optional(:location) => String.t()} | %{}
Create a new 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.