Skip to main content
verifyWebhookSignature validates that incoming webhook requests originated from ArcenPay. Always verify signatures before processing webhook payloads.

verifyWebhookSignature

Returns true if the signature matches, false otherwise.

Express example

Next.js App Router example

Next.js Pages Router example

Always read and verify the raw request body before JSON parsing. Parsing first and re-serializing can change the byte sequence and cause verification to fail.
Last modified on May 15, 2026