Gallery Platform API
Reference

Create a Terminal connection token

Mints a single-use Stripe Terminal connection token on the gallery's connected account, optionally scoped to a registered location. Requires a connected Stripe account with charges enabled.

POST
/gallery/terminal/connection-token

Mints a single-use Stripe Terminal connection token on the gallery's connected account, optionally scoped to a registered location. Requires a connected Stripe account with charges enabled.

Authorization

bearerAuth payments:create
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: payments:create

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Mint a Stripe Terminal connection token on the gallery's connected account.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "secret": "string"}