Stripe publishable key for the Payment Element.
GET
/billing/config
const url = 'https://api.siteqwality.com/billing/config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/billing/config \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Stripe publishable key
Media type application/json
object
publishable_key
required
Empty when no key is configured, which the frontend must treat as “payment collection unavailable” rather than as an error. That keeps a deploy where the SSM parameter is missing from taking the whole account page down with it.
string
Example generated
{ "publishable_key": "example"}Missing or invalid authentication