Sha256: 5f3290767cc77d842927d353987c368487951b86ce6fd931d5078ba75684e53e
Contents?: true
Size: 623 Bytes
Versions: 17
Compression:
Stored size: 623 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module Terminal class ConnectionTokenService < StripeService # 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. def create(params = {}, opts = {}) request( method: :post, path: "/v1/terminal/connection_tokens", params: params, opts: opts, base_address: :api ) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems