Skip to main content
POST
Get a store's publishable key, made on the first call

Authorizations

Authorization
string
header
required

Secret, platform or publishable API key. Platform keys require Payments-Account.

Headers

payments-account
string
payments-version
enum<string>
Available options:
2026-11-01
idempotency-key
string
required
Required string length: 1 - 255

Body

application/json
allowed_origins
string[]
required
Required array length: 1 - 1000 elements
Pattern: ^https?:\/\/[a-z0-9_.-]+(:\d{1,5})?$
store
string
required
Pattern: ^store_[a-f0-9]{12}$

Response

The store's publishable key.

allowed_origins
string[]
required
created_at
string<date-time>
required
id
string
required
key
string
required
mode
enum<string>
required
Available options:
live,
test
object
enum<string>
required
Available options:
publishable_key
store
string
required