{
"id": "paywall_secret_rotated_evt_123",
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"type": "paywall.secret.rotated",
"version": "2024-05-01",
"createdAt": "2024-05-01T12:34:56Z",
"status": "pending",
"attempts": 1,
"data": {
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"secretLastFour": "8f3c",
"actorId": "usr_admin_321",
"actorType": "user"
}
}Webhook events
Paywall secret rotated
Triggered when the API secret for a paywall is regenerated. Enables credential stores to roll keys after a paywall secret was regenerated. Payload fields: paywallId, ownerUserId, secretLastFour, actorId, actorType.
WEBHOOK
paywall.secret.rotated
{
"id": "paywall_secret_rotated_evt_123",
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"type": "paywall.secret.rotated",
"version": "2024-05-01",
"createdAt": "2024-05-01T12:34:56Z",
"status": "pending",
"attempts": 1,
"data": {
"paywallId": "pw_live_123",
"ownerUserId": "usr_owner_789",
"secretLastFour": "8f3c",
"actorId": "usr_admin_321",
"actorType": "user"
}
}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:
paywall.updated, paywall.archived, paywall.secret.rotated, paywall.integration.connected, paywall.integration.disconnected, paywall.integration.stripe.webhook.rotated, paywall.authorization.requested, paywall.authorization.completed, paywall.authorization.revoked, paywall.authorization.declined, paywall.balance.deposit.created, paywall.balance.topup.link.created, paywall.balance.trial.granted, paywall.balance.charge.created, paywall.balance.charge.completed, paywall.balance.charge.failed, paywall.usage.charge.created, paywall.usage.charge.deferred, paywall.usage.rate.limited, paywall.balance.depleted, paywall.request.blocked, paywall.stripe.checkout.session.completed, paywall.proxy.request.started, paywall.proxy.request.completed, paywall.proxy.request.failed, paywall.proxy.request.canceled, paywall.proxy.request.blocked Allowed value:
"paywall.secret.rotated"Payload fields: paywallId, ownerUserId, secretLastFour, actorId, actorType.
Response
200
Return a 2xx to acknowledge receipt.
Was this page helpful?