NAME
Net::API::Stripe::Terminal::ConnectionToken - A Stripe Connection Token Object
SYNOPSIS
my $token = $stripe->connection_token({
# Usable anywhere because undef
location => undef,
secret => 'pst_SGHJYDGHjfdldjflTHshfj',
});
See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.
VERSION
v0.100.0
DESCRIPTION
A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::Terminal::ConnectionToken object. It may also take an hash like arguments, that also are method of the same name.
METHODS
object string, value is "terminal.connection_token"
String representing the object’s type. Objects of the same type share the same value.
location string
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.
secret string
Your application should pass this token to the Stripe Terminal SDK.
API SAMPLE
{
"object": "terminal.connection_token",
"secret": "pst_test_fake123456789"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/terminal/connection_tokens, https://stripe.com/docs/terminal/readers/fleet-management#create
COPYRIGHT & LICENSE
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.