{
"id": "paywall_integration_stripe_webhook_rotated_evt_123",
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"type": "integration.stripe.webhook.rotated",
"version": "2024-05-01",
"createdAt": "2024-05-01T12:34:56Z",
"status": "pending",
"attempts": 1,
"data": {
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"webhookId": "wh_stripe_456",
"url": "https://hooks.stripe.com/webhook/openstack/123",
"secretSuffix": "42fa"
}
}Webhook events
Stripe webhook rotated
Triggered when a new Stripe webhook endpoint is created for a paywall. Keeps billing operators in sync when Stripe webhook endpoints are recreated or rotated. Payload fields: paywallId, ownerUserId, webhookId, url, secretSuffix.
WEBHOOK
integration.stripe.webhook.rotated
{
"id": "paywall_integration_stripe_webhook_rotated_evt_123",
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"type": "integration.stripe.webhook.rotated",
"version": "2024-05-01",
"createdAt": "2024-05-01T12:34:56Z",
"status": "pending",
"attempts": 1,
"data": {
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"webhookId": "wh_stripe_456",
"url": "https://hooks.stripe.com/webhook/openstack/123",
"secretSuffix": "42fa"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Paywall event payload that triggered the webhook delivery.
Event key (see the webhooks section for the full catalog).
Available options:
updated, archived, secret.rotated, integration.connected, integration.disconnected, integration.stripe.webhook.rotated, authorization.requested, authorization.completed, authorization.revoked, authorization.declined, balance.deposit.created, balance.topup.link.created, balance.trial.granted, balance.charge.created, balance.charge.completed, balance.charge.failed, usage.charge.created, usage.charge.deferred, usage.rate.limited, balance.depleted, request.blocked, stripe.checkout.session.completed, proxy.request.started, proxy.request.completed, proxy.request.failed, proxy.request.canceled, proxy.request.blocked Allowed value:
"integration.stripe.webhook.rotated"Payload fields: paywallId, ownerUserId, webhookId, url, secretSuffix.
Response
200
Return a 2xx to acknowledge receipt.