Payment client configuration
curl --request GET \
--url https://api.turos.app/v1/billing/stripe-config \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/billing/stripe-config"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/billing/stripe-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "stripe_config",
"publishableKey": "pk_live_example",
"livemode": true,
"requestId": "req_example_123"
}Billing
Payment client configuration
Return the current organization’s Stripe publishable-key configuration for browser payment setup.
GET
/
v1
/
billing
/
stripe-config
Payment client configuration
curl --request GET \
--url https://api.turos.app/v1/billing/stripe-config \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/billing/stripe-config"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/billing/stripe-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "stripe_config",
"publishableKey": "pk_live_example",
"livemode": true,
"requestId": "req_example_123"
}Response
Stripe publishable-key configuration for browser payment setup