Class ConnectionTokenService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.ConnectionTokenService

public final class ConnectionTokenService extends ApiService
  • Constructor Details

  • 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

      public ConnectionToken create(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
    • create

      public ConnectionToken create() 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
    • 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