Packages
Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/stripe/params/terminal/connection_token_create_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.Terminal.ConnectionTokenCreateParams do
@moduledoc "Parameters for connection token create."
@typedoc """
* `expand` - Specifies which fields in the response should be expanded.
* `location` - The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens). Max length: 5000.
"""
@type t :: %__MODULE__{
expand: [String.t()] | nil,
location: String.t() | nil
}
defstruct [:expand, :location]
end