Create a Connection Token

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.

post/v1/terminal/connection_tokens

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/terminal/connection_tokens
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Response

Successful response.

locationstring

The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see the docs on scoping connection tokens.

object'terminal.connection_token' required

String representing the object's type. Objects of the same type share the same value.

secretstring required

Your application should pass this token to the Stripe Terminal SDK.

Changes

No operation changes found yet. Some revisions have not been checked.