Validation
How To Validate Webhooks
You can effortlessly verify webhooks received from the MyCover.ai platform by following these steps:
Signature Inclusion: Every sent webhook includes a signature in the headers. This signature is the encrypted webhook data using the merchant's (i.e Distributor) private secret API key.
Your secret API Key is located at Settings > Api Key & Web hooks.
It is usually annotated with "MCASECK".
Validation on Merchant's End: Merchants can follow the same encryption steps using their secret API key. Then, they can compare the created signature with the one they received. If the signatures are the same, it's safe to go ahead and use the webhook information. However, if the signatures don't match, they should ignore the webhook and not use the information it carries.
Last updated