Webhooks
Inbound webhook receiver endpoints
Webhooks
Receive inbound webhooks from external services (payment providers, CI/CD systems, etc.).
Receive Webhook
POST /v1/webhooks/:sourceReceives and processes a webhook from the specified source. The payload is validated and dispatched to the appropriate handler.
Path Parameters:
| Parameter | Description |
|---|---|
source | Webhook source identifier (e.g. stripe, gitlab) |
curl -X POST https://api.fugoku.com/v1/webhooks/stripe \
-H "Content-Type: application/json" \
-H "Stripe-Signature: t=...,v1=..." \
-d '{ "event": "payment_intent.succeeded", "data": { ... } }'Response:
{
"data": {
"type": "webhook-receipt",
"attributes": {
"received": true,
"processed": true
}
}
}Webhook endpoints do not require X-Fugoku-API-Key authentication. They validate via provider-specific signature headers (e.g. Stripe-Signature).