Docs/Platform/POST /v1/webhook

POST /v1/webhookStripe webhook

Platform platform (cross-worker)

Receives payment updates from Stripe in the background; it is plumbing between Stripe and the service, not something you call yourself. Handles incoming Stripe webhook events for subscription lifecycle management (no direct consumer use).

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
typestringNoStripe event type
dataobjectNoStripe event data

Response Schema

success (boolean): Operation success
message (string): Status message

cURL Example

curl -X POST 'https://laminarforge.dev/v1/webhook' -H 'Content-Type: application/json' -d '{"type":"customer.subscription.updated"}'

Python Example

import requests
url = 'https://laminarforge.dev/v1/webhook'
data = {'type': 'customer.subscription.updated'}
response = requests.post(url, json=data)
print(response.json())