Documentation ¶
Overview ¶
Package connectiontoken provides the /terminal/connection_tokens APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(params *stripe.TerminalConnectionTokenParams) (*stripe.TerminalConnectionToken, error)
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.
Types ¶
type Client ¶
Client is used to invoke /terminal/connection_tokens APIs.
func (Client) New ¶
func (c Client) New(params *stripe.TerminalConnectionTokenParams) (*stripe.TerminalConnectionToken, error)
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.
Click to show internal directories.
Click to hide internal directories.