Package com.stripe.service.terminal
Class ConnectionTokenService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.ConnectionTokenService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server.create
(RequestOptions options) To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server.create
(ConnectionTokenCreateParams params) To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server.create
(ConnectionTokenCreateParams params, RequestOptions options) To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ConnectionTokenService
-
-
Method Details
-
create
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.- Throws:
StripeException
-
create
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.- Throws:
StripeException
-
create
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.- Throws:
StripeException
-
create
public ConnectionToken create(ConnectionTokenCreateParams params, RequestOptions options) throws StripeException 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.- Throws:
StripeException
-