POST /webhooks/stripe
Endpoint
POST /api/v1/webhooks/stripe
Caller
Stripe only. This endpoint is not called by partner systems directly.
Required header
| Header | Required | Description |
|---|---|---|
stripe-signature | Yes | Signature generated by Stripe for webhook verification |
Behavior
- Verify Stripe signature using configured webhook secret.
- Parse Stripe event payload.
- Map event type to internal status.
- Resolve transaction by
payment_intentidentifier. - Update transaction status and financial fields.
- Notify partner webhook URL with signed payload.
Success response example
{
"received": true,
"clive_tx_id": "CLVTX_1739378102312_420",
"status": "succeeded"
}
Ignored events
If event type is not mapped, Clive returns accepted/ignored semantics:
{
"message": "Ignored event payment_method.attached"
}
Common error codes
STRIPE_SIGNATURE_MISSINGSTRIPE_SIGNATURE_INVALIDINVALID_WEBHOOK_JSONMISSING_INTENT_IDPAYMENT_INTENT_NOT_FOUND