{
"event": {
"id": "<string>",
"type": "protection_level.updated",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"protection_level": {
"id": "<string>",
"stripe_product_id": "<string>",
"cover_level": {
"amount": 123,
"formatted": "<string>"
},
"account_code": "<string>",
"public": true,
"prices": [
{
"price": {
"amount": 123,
"formatted": "<string>"
},
"stripe_price_id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"curies": "<unknown>"
}
}
}Webhooks
protection_level.updated
Triggered when a protection level is updated.
WEBHOOK
protection_level.updated
{
"event": {
"id": "<string>",
"type": "protection_level.updated",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"protection_level": {
"id": "<string>",
"stripe_product_id": "<string>",
"cover_level": {
"amount": 123,
"formatted": "<string>"
},
"account_code": "<string>",
"public": true,
"prices": [
{
"price": {
"amount": 123,
"formatted": "<string>"
},
"stripe_price_id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"curies": "<unknown>"
}
}
}Body
application/json
Protection Level Updated Webhook Body
Show child attributes
Show child attributes
Response
Return a 2XX (200, 201, ...) status to indicate that the data was received successfully.
Was this page helpful?
⌘I