View Source ExOAPI.Stripe.Schemas.Terminal_connectionToken (exoapi_stripe v0.1.4)

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

Related guide: Fleet Management.

:location :: :string

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.

:object :: :string

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

:secret :: :string

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

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Terminal_connectionToken{
  location: String.t() | nil,
  object: :"terminal.connection_token" | nil,
  secret: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()