Stripe webhook receiver
curl --request POST \
--url https://api.turos.app/v1/billing/webhooks/stripeimport requests
url = "https://api.turos.app/v1/billing/webhooks/stripe"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.turos.app/v1/billing/webhooks/stripe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Billing
Stripe webhook receiver
Receive and process signed Stripe subscription lifecycle webhooks.
POST
/
v1
/
billing
/
webhooks
/
stripe
Stripe webhook receiver
curl --request POST \
--url https://api.turos.app/v1/billing/webhooks/stripeimport requests
url = "https://api.turos.app/v1/billing/webhooks/stripe"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.turos.app/v1/billing/webhooks/stripe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Response
Successful response
The response is of type object.