Gallery Platform API
Reference

Start saving a payment method

Creates a Stripe-hosted setup link so the contact can save a card/bank for future invoices. Requires a connected Stripe account.

POST
/gallery/contacts/{id}/payment-methods/setup-session

Creates a Stripe-hosted setup link so the contact can save a card/bank for future invoices. Requires a connected Stripe account.

Authorization

bearerAuth payments:create, contacts:read, gallery:read
AuthorizationBearer <token>

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

In: header

Scope: payments:create, contacts:read, gallery:read

Path Parameters

id*string

The contact id.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "url": "http://example.com"}