Skip to main content

append_webhook_receipt

Function append_webhook_receipt 

Source
pub fn append_webhook_receipt(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    endpoint_id: &str,
    verified: bool,
    payload: &str,
) -> Result<(), DatabaseError>
Expand description

Records a bounded webhook payload after the caller has checked its signature. Rejected signatures are recorded as rejected receipts without trusting their payload.