Commerce
Marketplace

Create Commerce Surface Session

Factory for chromeless surface hydrate sessions.

post/api/commerce/surfaces/sessions

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/commerce/surfaces/sessions
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring nullable

Request body

surface'checkout' | 'pay' | 'topup' | 'receipt'
listing_uuidsstring[]
return_urlstring nullable
cancel_urlstring nullable
theme'light' | 'dark' | 'auto'
localestring
amount_minorinteger nullable
currencystring nullable
project_idinteger nullable
commerce_checkout_idstring nullable
payment_idstring nullable
expires_in_secondsinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.