FILTER BY TAG

Validating a Notification

Follow these steps to validate the integrity of your webhook notifications.
  1. Separate the signature parameters with a semicolon (;) and extract the
    t
    ,
    keyId
    , and
    sig
    values.
  2. Use the
    keyId
    value to fetch the digital signature key.
  3. Generate the payload by concatenating the timestamp with a period (.) and the payload from the body of the notification.
  4. Use the SHA256 algorithm to encrypt the generated payload from Step 3 using the key from Step 2.
  5. Verify that the encrypted value matches the value in
    sig
    parameter.