Gallery Platform API
Reference

Create a card-present payment intent

Creates a card-present Stripe PaymentIntent on the gallery's connected account for the invoice's outstanding balance (or a partial amount) and returns its client secret for the Terminal SDK. Requires a connected Stripe account with charges enabled.

POST
/gallery/invoices/{id}/terminal-payment-intents

Creates a card-present Stripe PaymentIntent on the gallery's connected account for the invoice's outstanding balance (or a partial amount) and returns its client secret for the Terminal SDK. 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

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Create a card-present PaymentIntent on the gallery's connected account for an in-person tap.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "stripe_payment_intent_id": "string",  "client_secret": "string",  "amount_cents": -9007199254740991,  "currency": "string",  "status": "string"}