Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.
Using the official libraries is the recommended and most straightforward method to verify webhooks (as discussed in the previous verification guide). However, there may be situations where you need to verify them manually. This section explains the manual verification process in detail.
The recommended way to verify webhooks is using the official libraries. Consider that implementation strategy first.
Verifying signatures manually
Each webhook call includes three headers that are crucial for verifying authenticity:
webhook-id: A unique message identifier for the webhook message. This value is unique across all messages. If a webhook is resent (due to a previous failure), the webhook-id remains the same.
webhook-timestamp: The timestamp of the attempt in seconds since the Unix epoch.
webhook-signature: A Base64-encoded list of signatures (space-delimited).
You use these headers, along with the raw request body, to generate and compare the expected signature.
Constructing the signed content
The content to sign is created by concatenating the id, timestamp, and payload (raw body of the request) with a . character between them:
It’s critical that you use the raw request body here. Any modifications (such as re-stringifying a parsed JSON body) will change the content and result in a signature mismatch.
Determining the expected signature
Straddle uses an HMAC with SHA-256 to sign its webhooks.To calculate the expected signature:
Extract the portion of your signing secret after the whsec_ prefix.
Base64-decode that portion to get your key bytes.
Compute the HMAC using the decoded key and the signedContent.
Compare the result against the provided webhook-signature values.
Example in Node.js
const crypto = require('crypto');const svix_id = "msg_p5jXN8AQM9LWM0D4loKWxJek";const svix_timestamp = "1614265330";const body = '{"test": 2432232314}';const secret = "whsec_5WbX5kEWLlfzsGNjH64I8lOOqUB6e8FH";const signedContent = `${svix_id}.${svix_timestamp}.${body}`;const secretBytes = Buffer.from(secret.split('_')[1], "base64");const signature = crypto .createHmac('sha256', secretBytes) .update(signedContent) .digest('base64');console.log(signature);// This signature should match one of those found in the `webhook-signature` header.
Comparing signatures
The webhook-signature header often looks like this:
Each signature is prefixed by a version identifier and a comma, such as v1,. To verify, remove the prefix (e.g., v1,) and compare the remaining Base64 string to your computed signature.
Use a constant-time comparison method to compare signatures and prevent timing attacks.
Verifying the timestamp
The webhook-timestamp header includes the timestamp of the attempt. Make sure this timestamp is close to your current time (within a certain allowed skew, like a few minutes) to prevent replay attacks.
Example signatures
Here is an example you can use to validate your manual verification logic. Note that this may fail verification due to an old timestamp, and that’s expected if you’re strictly enforcing freshness.
const secret = 'whsec_plJ3nmyCDGBKInavdOK15jsl';const payload = '{"event_type":"ping","data":{"success":true}}';const msg_id = 'msg_loFOjxBNrRLzqYUe';const timestamp = '1731705121';// The expected signature would be generated following the steps described above.// Replace with actual code to verify and compare the result.
You can also use the open-source Standard Webhooks simulation tool to generate as many examples as needed.
Was this page helpful?
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Straddle Docs","colors":{"primary":"#85affd","light":"#85affd","dark":"#211E1D"},"logo":{"light":"https://mintcdn.com/straddle/FP2o-XBPEWWJYx3V/logo/logo_color_black.svg?fit=max\u0026auto=format\u0026n=FP2o-XBPEWWJYx3V\u0026q=85\u0026s=d4efaf9d0a40a7a0f78e54d255f46e75","dark":"https://mintcdn.com/straddle/FP2o-XBPEWWJYx3V/logo/logo_color_white.svg?fit=max\u0026auto=format\u0026n=FP2o-XBPEWWJYx3V\u0026q=85\u0026s=9a1e4ebd7777e61799ab78309c52a495","href":"https://dashboard.straddle.com"},"favicon":"https://mintcdn.com/straddle/yfacwvdaNnY4Xjbu/favicon.png?fit=max\u0026auto=format\u0026n=yfacwvdaNnY4Xjbu\u0026q=85\u0026s=c29a7511edcaf839d6eba20fcfe1552c","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"languages":["cURL","Javascript","Python","Ruby"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://github.com/straddleio","label":"Github"},{"href":"https://strddl.co/postman","label":"Postman"}],"primary":{"type":"button","label":"Get Started","href":"https://dashboard.straddle.com"}},"footer":{"socials":{"github":"https://github.com/straddleio","linkedin":"https://www.linkedin.com/company/straddle","slack":"https://strddl.co/mmunity"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"section","latex":true},"integrations":{"posthog":{"apiKey":"phc_npx1xpsIsHuPrXbLgGPNPc8rNjsIYN8xxnvWs2KN5tf"}},"contextual":{"options":["chatgpt","claude","copy","view"],"display":"header"},"thumbnails":{"appearance":"light"},"navigation":{"global":{"anchors":[{"anchor":"API Playground","icon":"code","href":"https://straddle.dev"},{"anchor":"Community","icon":"slack","href":"https://strddl.co/mmunity"},{"anchor":"Changelog","icon":"arrows-rotate","href":"/changelog/updates/2026"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"straddle","hasAudioNarration":false,"actualSubdomain":"straddle","customDomains":["docs.straddle.com"],"gitSource":{"type":"github","owner":"straddleio","repo":"straddle-docs","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd399145bcbcac4ae952c6","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API","count":77},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Build with AI","count":33},{"language":"default","tag":"Embed","count":32},{"language":"default","tag":"Resources","count":22},{"language":"default","tag":"Webhooks","count":20},{"language":"default","tag":"Bridge","count":13},{"language":"default","tag":"Fundamentals","count":9},{"language":"default","tag":"Charges","count":9},{"language":"default","tag":"Customers","count":8}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"help@straddle.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar svg[style*=\"mask-image\"]{background-color:#85affd!important}html:not(.dark){background-color:#f8f4f2!important}"}]}
{"page":{"pagePath":"webhooks/security/manual","slug":"/webhooks/security/manual","pageMetadata":{"title":"Manual webhook signature verification","description":"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.","icon":"wrench","href":"/webhooks/security/manual"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Using the official libraries is the recommended and most straightforward method to verify webhooks (as discussed in the previous verification guide). However, there may be situations where you need to verify them manually. This section explains the manual verification process in detail.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The recommended way to verify webhooks is using the official libraries. Consider that implementation strategy first.`})}),`\n`,_jsx(Heading,{level:`2`,id:`verifying-signatures-manually`,children:`Verifying signatures manually`}),`\n`,_jsx(_components.p,{children:`Each webhook call includes three headers that are crucial for verifying authenticity:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`webhook-id`}),`: A unique message identifier for the webhook message. This value is unique across all messages. If a webhook is resent (due to a previous failure), the `,_jsx(_components.code,{children:`webhook-id`}),` remains the same.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`webhook-timestamp`}),`: The timestamp of the attempt in seconds since the Unix epoch.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`webhook-signature`}),`: A Base64-encoded list of signatures (space-delimited).`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You use these headers, along with the raw request body, to generate and compare the expected signature.`}),`\n`,_jsx(Heading,{level:`2`,id:`constructing-the-signed-content`,children:`Constructing the signed content`}),`\n`,_jsxs(_components.p,{children:[`The content to sign is created by concatenating the `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`timestamp`}),`, and `,_jsx(_components.code,{children:`payload`}),` (raw body of the request) with a `,_jsx(_components.code,{children:`.`}),` character between them:`]}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`signed-content.js`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` signedContent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`webhook_id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`webhook_timestamp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:`It’s critical that you use the raw request body here. Any modifications (such as re-stringifying a parsed JSON body) will change the content and result in a signature mismatch.`}),`\n`,_jsx(Heading,{level:`2`,id:`determining-the-expected-signature`,children:`Determining the expected signature`}),`\n`,_jsx(_components.p,{children:`Straddle uses an HMAC with SHA-256 to sign its webhooks.`}),`\n`,_jsx(_components.p,{children:`To calculate the expected signature:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Extract the portion of your signing secret after the `,_jsx(_components.code,{children:`whsec_`}),` prefix.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Base64-decode that portion to get your key bytes.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Compute the HMAC using the decoded key and the `,_jsx(_components.code,{children:`signedContent`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Compare the result against the provided `,_jsx(_components.code,{children:`webhook-signature`}),` values.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-in-node-js`,children:`Example in Node.js`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`node-verify.js`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` crypto`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'crypto'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` svix_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"msg_p5jXN8AQM9LWM0D4loKWxJek\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` svix_timestamp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1614265330\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` body`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"test\": 2432232314}'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"whsec_5WbX5kEWLlfzsGNjH64I8lOOqUB6e8FH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` signedContent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`svix_id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`svix_timestamp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` secretBytes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`secret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`split`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` signature`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` crypto`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createHmac`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'sha256'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`secretBytes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signedContent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`digest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'base64'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signature`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"// This signature should match one of those found in the `webhook-signature` header.\"})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`comparing-signatures`,children:`Comparing signatures`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`webhook-signature`}),` header often looks like this:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` v1,bm9ldHUjKzFob2VudXRob2VodWUzMjRvdWVvdW9ldQo=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` v2,MzJsNDk4MzI0K2VvdSMjMTEjQEBAQDEyMzMzMzEyMwo=`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each signature is prefixed by a version identifier and a comma, such as `,_jsx(_components.code,{children:`v1,`}),`. To verify, remove the prefix (e.g., `,_jsx(_components.code,{children:`v1,`}),`) and compare the remaining Base64 string to your computed signature.`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Use a constant-time comparison method to compare signatures and prevent timing attacks.`})}),`\n`,_jsx(Heading,{level:`2`,id:`verifying-the-timestamp`,children:`Verifying the timestamp`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`webhook-timestamp`}),` header includes the timestamp of the attempt. Make sure this timestamp is close to your current time (within a certain allowed skew, like a few minutes) to prevent replay attacks.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-signatures`,children:`Example signatures`}),`\n`,_jsx(_components.p,{children:`Here is an example you can use to validate your manual verification logic. Note that this may fail verification due to an old timestamp, and that’s expected if you’re strictly enforcing freshness.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`manual-example.js`,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'whsec_plJ3nmyCDGBKInavdOK15jsl'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"event_type\":\"ping\",\"data\":{\"success\":true}}'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` msg_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'msg_loFOjxBNrRLzqYUe'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` timestamp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1731705121'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// The expected signature would be generated following the steps described above.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Replace with actual code to verify and compare the result.`})}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[`You can also use the open-source `,_jsx(_components.a,{href:`https://www.standardwebhooks.com/simulate`,children:`Standard Webhooks`}),` simulation tool to generate as many examples as needed.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Manual webhook signature verification","description":"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.","icon":"wrench","href":"/webhooks/security/manual"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Verifying signatures manually","slug":"verifying-signatures-manually","depth":2,"children":[]},{"title":"Constructing the signed content","slug":"constructing-the-signed-content","depth":2,"children":[]},{"title":"Determining the expected signature","slug":"determining-the-expected-signature","depth":2,"children":[{"title":"Example in Node.js","slug":"example-in-node-js","depth":3,"children":[]}]},{"title":"Comparing signatures","slug":"comparing-signatures","depth":2,"children":[]},{"title":"Verifying the timestamp","slug":"verifying-the-timestamp","depth":2,"children":[]},{"title":"Example signatures","slug":"example-signatures","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"straddle","siteName":"Straddle Docs","title":"Manual webhook signature verification - Straddle Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T12:11:56.861Z","originalFileLocation":"webhooks/security/manual.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Straddle Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manual webhook signature verification - Straddle Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Straddle Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.straddle.com/webhooks/security/manual\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://straddle.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Manual+webhook+signature+verification\u0026amp;description=Manually+verify+Straddle+webhook+signatures+without+an+SDK%2C+including+the+HMAC+computation%2C+header+parsing%2C+and+timestamp+checks+for+replay+protection.\u0026amp;theme=2dc92c56e6f05e7a2cb86305\u0026amp;signature=d06d06fef185e1a632bdc983e2398c630b427a17766600a22334059ab148fbde\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Manual webhook signature verification - Straddle Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://straddle.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Manual+webhook+signature+verification\u0026amp;description=Manually+verify+Straddle+webhook+signatures+without+an+SDK%2C+including+the+HMAC+computation%2C+header+parsing%2C+and+timestamp+checks+for+replay+protection.\u0026amp;theme=2dc92c56e6f05e7a2cb86305\u0026amp;signature=d06d06fef185e1a632bdc983e2398c630b427a17766600a22334059ab148fbde\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/straddle/hsVCJ0EHrlTYHWuD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Straddle Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#85affd\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.straddle.com/webhooks/security/manual\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/security/manual.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.straddle.com/#organization\",\"name\":\"Straddle Docs\",\"url\":\"https://docs.straddle.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/straddle/FP2o-XBPEWWJYx3V/logo/logo_color_black.svg?fit=max\u0026auto=format\u0026n=FP2o-XBPEWWJYx3V\u0026q=85\u0026s=d4efaf9d0a40a7a0f78e54d255f46e75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.straddle.com#website\",\"name\":\"Straddle Docs\",\"url\":\"https://docs.straddle.com\",\"publisher\":{\"@id\":\"https://docs.straddle.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.straddle.com/webhooks/security/manual#webpage\",\"url\":\"https://docs.straddle.com/webhooks/security/manual\",\"name\":\"Manual webhook signature verification\",\"description\":\"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\",\"dateModified\":\"2026-10-12T12:11:56.861Z\",\"isPartOf\":{\"@id\":\"https://docs.straddle.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.straddle.com/webhooks/security/manual#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.straddle.com/webhooks/security/manual#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.straddle.com/webhooks/overview/101\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manual webhook signature verification\",\"item\":\"https://docs.straddle.com/webhooks/security/manual\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.straddle.com/webhooks/security/manual#article\",\"headline\":\"Manual webhook signature verification\",\"name\":\"Manual webhook signature verification\",\"description\":\"Manually verify Straddle webhook signatures without an SDK, including the HMAC computation, header parsing, and timestamp checks for replay protection.\",\"url\":\"https://docs.straddle.com/webhooks/security/manual\",\"mainEntityOfPage\":{\"@id\":\"https://docs.straddle.com/webhooks/security/manual#webpage\"},\"dateModified\":\"2026-10-12T12:11:56.861Z\",\"publisher\":{\"@id\":\"https://docs.straddle.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.straddle.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Straddle Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Straddle Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/webhooks/security/manual.md","siteName":"Straddle Docs","nav":{"global":{"anchors":[{"anchor":"API Playground","icon":"code","href":"https://straddle.dev"},{"anchor":"Community","icon":"slack","href":"https://strddl.co/mmunity"},{"anchor":"Changelog","icon":"arrows-rotate","href":"/changelog/updates/2026"}]},"dropdowns":[{"dropdown":"Guides","icon":"book-open","description":"Product guides and quickstarts","groups":[{"group":"Start here","pages":[{"title":"Welcome to Straddle","sidebarTitle":"Welcome","icon":"house","href":"/guides/overview"},{"title":"Core concepts of the Straddle platform","icon":"school","href":"/guides/coreconcepts"},{"title":"Quickstart guide for the Straddle API","icon":"rocket","href":"/guides/quickstart"},{"title":"Pay by Bank: account-to-account payments","icon":"building-columns","href":"/guides/paybybank"},{"title":"Straddle platform glossary","icon":"spell-check","mode":"wide","href":"/guides/glossary"}]},{"group":"Identity","pages":[{"title":"Identity verification overview","sidebarTitle":"Overview","icon":"fingerprint","href":"/guides/identity/overview"},{"title":"Verifying customers and KYC","sidebarTitle":"Customers","icon":"user","mode":"wide","href":"/guides/identity/customers"},{"title":"Consumer reputation and friendly fraud","icon":"snake","href":"/guides/identity/reputation"},{"title":"Business identity verification (KYB)","sidebarTitle":"Business identity","mode":"wide","icon":"building","href":"/guides/identity/business_identity"},{"title":"Risk models and scoring","icon":"calculator","href":"/guides/identity/models"},{"title":"Identity verification reason codes","icon":"binary","href":"/guides/identity/reasons"},{"title":"Sanctions watchlist screening","sidebarTitle":"Watchlists","icon":"bomb","href":"/guides/identity/watchlists"}]},{"group":"Bridge","pages":[{"title":"Bridge API overview","icon":"bridge","href":"/guides/bridge/overview"},{"title":"Bridge widget for connecting bank accounts","sidebarTitle":"Bridge widget","icon":"code","href":"/guides/bridge/widget"},{"title":"Paykeys: secure tokens for bank payments","icon":"sitemap","href":"/guides/bridge/paykeys"},{"title":"Create paykeys from Plaid processor tokens","sidebarTitle":"Plaid token","icon":"link","href":"/guides/bridge/plaid-token"},{"title":"Create paykeys from Quiltt tokens","sidebarTitle":"Quiltt token","icon":"link","href":"/guides/bridge/quiltt-token"},{"title":"Create a paykey from a Mastercard token","sidebarTitle":"Mastercard token","icon":"link","href":"/guides/bridge/mastercard-consent"},{"title":"Create paykeys from raw bank account details","sidebarTitle":"Bank account","icon":"landmark","href":"/guides/bridge/bank-account"}]},{"group":"Payments","pages":[{"title":"Payments overview","icon":"money-bill-transfer","href":"/guides/payments/overview"},{"title":"Charges: collect ACH bank payments","icon":"arrow-down-to-line","href":"/guides/payments/charges"},{"title":"Payouts: send funds to bank accounts","icon":"arrow-up-from-line","href":"/guides/payments/payouts"},{"title":"Payment status and lifecycle reference","icon":"list-check","href":"/guides/payments/statuses"},{"title":"Funding events and reconciliation","icon":"building-columns","href":"/guides/payments/funding"},{"title":"Reporting and exporting payment data","icon":"magnifying-glass-chart","href":"/guides/payments/reports"}]},{"group":"Embed","pages":[{"title":"Straddle Embed for platforms overview","icon":"connectdevelop","href":"/guides/embed/overview"},{"title":"Platform API interactions","sidebarTitle":"Using the API","icon":"gear-complex-code","href":"/guides/embed/api-headers"},{"title":"Onboard merchants with Straddle Embed","sidebarTitle":"Onboarding","icon":"signature","href":"/guides/embed/onboarding"},{"group":"Drop-in Components","pages":[{"title":"Hosted onboarding for embedded accounts","icon":"anchor","href":"/guides/embed/hosted-onboarding"},{"title":"Straddle Embed React component","icon":"react","href":"/guides/embed/react-onboarding"}]},{"group":"API Onboarding","pages":[{"title":"Organizations: group multiple accounts","sidebarTitle":"Organizations","icon":"store","href":"/guides/embed/organizations"},{"title":"Manage embedded platform accounts","icon":"building","href":"/guides/embed/accounts"},{"title":"Manage account representatives","icon":"users","href":"/guides/embed/representatives"},{"title":"Manage linked bank accounts for users","icon":"piggy-bank","href":"/guides/embed/linked-bank-accounts"},{"title":"Request and manage account capabilities","icon":"gears","href":"/guides/embed/capabilities"}]}]},{"group":"Resources","pages":[{"title":"Synthetic identity fraud explained","icon":"user-ninja","href":"/guides/resources/synthetic-identity"},{"title":"WALDO: identity matching","sidebarTitle":"WALDO","icon":"user-secret","href":"/guides/resources/waldo"},{"group":"Sandbox and Testing","icon":"vials","pages":[{"title":"Platform sandbox quickstart","icon":"umbrella-beach","sidebarTitle":"Account onboarding","href":"/guides/resources/sandbox-platform"},{"title":"Sandbox simulation testing for Pay by Bank","sidebarTitle":"Pay by Bank","icon":"flask-vial","href":"/guides/resources/sandbox-paybybank"},{"title":"Sandbox testing for Bridge bank connections","sidebarTitle":"Bridge","icon":"flask","href":"/guides/resources/sandbox-bridge"},{"title":"Securely share data with Straddle","sidebarTitle":"Share data","icon":"share","href":"/guides/resources/datashare"}]}]}]},{"dropdown":"Build with AI","icon":"toolbox","description":"Plan, build, test, and investigate payments","groups":[{"group":"Get started","pages":[{"title":"Build your Straddle integration with AI","sidebarTitle":"Build with AI","icon":"toolbox","href":"/developer-tools/overview"},{"title":"Build your first integration","sidebarTitle":"First integration","icon":"bolt","href":"/developer-tools/quickstart"},{"title":"Choose your tools","icon":"route","href":"/developer-tools/routing"}]},{"group":"Straddle Wizard","pages":[{"title":"Set up a project with the Wizard","sidebarTitle":"Project setup","icon":"wand-magic-sparkles","href":"/developer-tools/wizard/overview"},{"title":"Run and resume an integration","sidebarTitle":"Run and resume","icon":"diagram-project","href":"/developer-tools/wizard/integrate"},{"title":"Wizard commands","icon":"terminal","href":"/developer-tools/wizard/commands"}]},{"group":"Agent skills","pages":[{"title":"Build with Straddle skills","sidebarTitle":"Skills overview","icon":"wand-magic-sparkles","href":"/developer-tools/skills/overview"},{"title":"Install the Straddle plugin","sidebarTitle":"Install the plugin","icon":"download","href":"/developer-tools/agent-plugin/install"},{"title":"Use Straddle skills","sidebarTitle":"Use skills","icon":"diagram-project","href":"/developer-tools/skills/use-kit"},{"title":"Choose a Straddle skill","sidebarTitle":"Skill catalog","icon":"list","href":"/developer-tools/skills/catalog"},{"title":"Troubleshoot Straddle skills","sidebarTitle":"Troubleshooting","icon":"screwdriver-wrench","href":"/developer-tools/skills/troubleshooting"}]},{"group":"Playbooks","pages":[{"title":"Payment operations playbooks","sidebarTitle":"Playbooks overview","icon":"book-open","href":"/playbooks/overview"},{"title":"Check payment progress","sidebarTitle":"Payment progress","icon":"list-check","href":"/playbooks/payment-progress"},{"title":"Investigate failed and returned payments","sidebarTitle":"Failed and returned payments","icon":"rotate-left","href":"/playbooks/returns"},{"title":"Reconcile payments","icon":"scale-balanced","href":"/playbooks/reconcile-payments"},{"title":"Review identity queue items","sidebarTitle":"Identity reviews","icon":"user-check","href":"/playbooks/identity-review"},{"title":"Find paykeys that need attention","sidebarTitle":"Paykeys needing attention","icon":"key","href":"/playbooks/expiring-paykeys"},{"title":"Compare charge and payout volume","sidebarTitle":"Charge and payout volume","icon":"chart-column","href":"/playbooks/account-cash-flow"},{"title":"Investigate payment data","sidebarTitle":"Search and SQL","icon":"magnifying-glass","href":"/playbooks/investigate-data"}]},{"group":"Straddle MCP","pages":[{"title":"Connect your agent to Straddle","sidebarTitle":"MCP overview","icon":"plug","href":"/developer-tools/mcp/overview"},{"title":"Connect MCP","icon":"plug","href":"/developer-tools/mcp/install"},{"title":"Search Straddle documentation","sidebarTitle":"Search documentation","icon":"magnifying-glass","href":"/developer-tools/mcp/docs-search"},{"title":"Read an account through API MCP","sidebarTitle":"API requests","icon":"code","href":"/developer-tools/mcp/api-requests"},{"title":"Authentication and permissions","icon":"shield-halved","href":"/developer-tools/mcp/safety"},{"title":"Set account scope","icon":"building","href":"/developer-tools/mcp/account-scoping"},{"title":"Troubleshoot MCP","sidebarTitle":"Troubleshooting","icon":"screwdriver-wrench","href":"/developer-tools/mcp/troubleshooting"}]},{"group":"Straddle CLI","pages":[{"title":"Work with Straddle from your terminal","sidebarTitle":"CLI overview","icon":"terminal","href":"/developer-tools/cli/overview"},{"title":"Install the Straddle CLI","sidebarTitle":"Install the CLI","icon":"download","href":"/developer-tools/cli/install"},{"title":"Configure credentials and account context","sidebarTitle":"Credentials and context","icon":"sliders","href":"/developer-tools/cli/auth-context"},{"title":"Use the CLI with coding agents","sidebarTitle":"Use with agents","icon":"robot","href":"/developer-tools/cli/agent-use"},{"title":"Synchronize and query local data","sidebarTitle":"Local data","icon":"database","href":"/developer-tools/cli/local-data"},{"title":"Troubleshoot the Straddle CLI","sidebarTitle":"Troubleshooting","icon":"screwdriver-wrench","href":"/developer-tools/cli/troubleshooting"}]},{"group":"SDKs","pages":[{"title":"Choose an SDK","icon":"code","href":"/developer-tools/sdks"}]}]},{"dropdown":"API","icon":"square-terminal","description":"Endpoints, SDKs, and authentication","groups":[{"group":"Fundamentals","pages":[{"title":"Straddle API introduction","href":"/api-reference/introduction"},{"title":"API authentication with bearer tokens","href":"/api-reference/authentication"},{"title":"Sandbox and production environments","href":"/api-reference/environments"},{"title":"Tracing API requests with Request-Id","href":"/api-reference/request-id"},{"title":"Idempotency keys for safe API retries","href":"/api-reference/idempotency"},{"title":"Straddle API response format","href":"/api-reference/response-structure"},{"title":"API errors and HTTP status codes","href":"/api-reference/errors"},{"title":"Attaching metadata to Straddle objects","href":"/api-reference/metadata"},{"title":"Make API calls for embedded accounts","href":"/api-reference/embedded-accounts"}]},{"group":"SDKs","pages":[{"title":"Python SDK for Straddle","icon":"python","href":"/api-reference/sdk/python"},{"title":"Node.js SDK for Straddle","icon":"node-js","href":"/api-reference/sdk/node"},{"title":"Ruby SDK for Straddle","icon":"gem","href":"/api-reference/sdk/ruby"}]},{"group":"Customers","pages":[{"openapi":"post /v1/customers","sidebarTitle":"Create a customer","title":"Create a customer","href":"/api-reference/customers/create"},{"openapi":"put /v1/customers/{id}","sidebarTitle":"Update a Customer","title":"Update a customer","href":"/api-reference/customers/update"},{"openapi":"get /v1/customers/{id}","sidebarTitle":"Lookup a customer","title":"Lookup a customer","href":"/api-reference/customers/retrieve"},{"openapi":"get /v1/customers/{id}/review","sidebarTitle":"Review a customer","title":"Review a customer","href":"/api-reference/customers/review"},{"openapi":"patch /v1/customers/{id}/review","title":"Decision a customer","href":"/api-reference/customers/decision"},{"openapi":"get /v1/customers/{id}/unmasked","title":"Unmask customer data","href":"/api-reference/customers/unmask"},{"openapi":"delete /v1/customers/{id}","title":"Delete a customer","href":"/api-reference/customers/delete"},{"openapi":"get /v1/customers","title":"List customers","href":"/api-reference/customers/search"}]},{"group":"Bridge","pages":[{"openapi":"post /v1/bridge/sessions","title":"Create a Bridge session","href":"/api-reference/bridge/sessions"},{"openapi":"post /v1/bridge/initialize","title":"Initiate a widget session","href":"/api-reference/bridge/session"},{"openapi":"post /v1/bridge/plaid","title":"Bridge a Plaid token","href":"/api-reference/bridge/plaid-token"},{"openapi":"post /v1/bridge/quiltt","title":"Bridge a Quiltt token","href":"/api-reference/bridge/quiltt-token"},{"openapi":"post /v1/bridge/mastercard","title":"Bridge a Mastercard consent receipt","href":"/api-reference/bridge/mastercard"},{"openapi":"post /v1/bridge/bank_account","title":"Bridge a bank account","sidebarTitle":"Bridge a bank account","href":"/api-reference/bridge/bank-account"}]},{"group":"Paykeys","pages":[{"openapi":"get /v1/paykeys/{id}","title":"Lookup a paykey","href":"/api-reference/paykeys/retrieve"},{"openapi":"get /v1/paykeys/{id}/reveal","sidebarTitle":"Reveal a paykey","title":"Reveal a paykey","href":"/api-reference/paykeys/reveal"},{"openapi":"get /v1/paykeys/{id}/unmasked","title":"Unmask paykey data","href":"/api-reference/paykeys/unmask"},{"openapi":"get /v1/paykeys","title":"Search paykeys","href":"/api-reference/paykeys/search"},{"openapi":"put /v1/paykeys/{id}/cancel","sidebarTitle":"Cancel a paykey","title":"Cancel a paykey","href":"/api-reference/paykeys/cancel"},{"openapi":"get /v1/paykeys/{id}/review","title":"Review a paykey","href":"/api-reference/paykeys/review"},{"openapi":"patch /v1/paykeys/{id}/review","title":"Accept/Reject a paykey","href":"/api-reference/paykeys/patch_review"},{"openapi":"patch /v1/paykeys/{id}/unblock","title":"Unblock a paykey","href":"/api-reference/paykeys/unblock"}]},{"group":"Charges","pages":[{"openapi":"post /v1/charges","title":"Create a charge","href":"/api-reference/charges/create"},{"openapi":"put /v1/charges/{id}","title":"Update a charge","href":"/api-reference/charges/update"},{"openapi":"get /v1/charges/{id}","title":"Lookup a charge","href":"/api-reference/charges/retrieve"},{"openapi":"put /v1/charges/{id}/hold","title":"Hold a charge","href":"/api-reference/charges/hold"},{"openapi":"put /v1/charges/{id}/release","title":"Release a charge","href":"/api-reference/charges/release"},{"openapi":"put /v1/charges/{id}/cancel","title":"Cancel a charge","href":"/api-reference/charges/cancel"},{"title":"Resubmit a charge","openapi":"post /v1/charges/{id}/resubmit","href":"/api-reference/charges/resubmit"},{"title":"Refund a charge","openapi":"post /v1/charges/{id}/refund","href":"/api-reference/charges/refund"},{"title":"Upload proof of authorization for a charge","openapi":"post /v1/charges/{id}/authorization","href":"/api-reference/charges/authorize"}]},{"group":"Payouts","pages":[{"openapi":"post /v1/payouts","title":"Create a payout","href":"/api-reference/payouts/create"},{"openapi":"put /v1/payouts/{id}","title":"Update a payout","href":"/api-reference/payouts/update"},{"openapi":"get /v1/payouts/{id}","title":"Lookup a payout","href":"/api-reference/payouts/retrieve"},{"openapi":"put /v1/payouts/{id}/hold","title":"Hold a payout","href":"/api-reference/payouts/hold"},{"openapi":"put /v1/payouts/{id}/release","title":"Release a payout","href":"/api-reference/payouts/release"},{"openapi":"put /v1/payouts/{id}/cancel","title":"Cancel a payout","href":"/api-reference/payouts/cancel"},{"title":"Resubmit a payout","openapi":"post /v1/payouts/{id}/resubmit","href":"/api-reference/payouts/resubmit"},{"title":"Upload proof of authorization for a payout","openapi":"post /v1/payouts/{id}/authorization","href":"/api-reference/payouts/authorize"}]},{"group":"Funding","pages":[{"openapi":"get /v1/funding_events","title":"List funding events","href":"/api-reference/funding/search"},{"openapi":"get /v1/funding_events/{id}","title":"Lookup funding details","href":"/api-reference/funding/details"},{"openapi":"POST /v1/funding_events/simulate","title":"Simulate a funding event in sandbox","href":"/api-reference/funding/simulate"}]},{"group":"Payments","pages":[{"openapi":"get /v1/payments","title":"Search for all payments","href":"/api-reference/payments/search"}]},{"group":"Embed","pages":[{"group":"Organizations","pages":[{"openapi":"post /v1/organizations","title":"Create an organization","href":"/api-reference/organizations/create"},{"openapi":"get /v1/organizations","title":"List organizations","href":"/api-reference/organizations/list"}]},{"group":"Accounts","pages":[{"openapi":"post /v1/accounts","sidebarTitle":"Create an account","title":"Create an account","href":"/api-reference/accounts/create"},{"openapi":"put /v1/accounts/{account_id}","sidebarTitle":"Update an account","title":"Update an account","href":"/api-reference/accounts/update"},{"openapi":"get /v1/accounts/{account_id}","sidebarTitle":"Lookup an account","title":"Lookup an account","href":"/api-reference/accounts/lookup"},{"openapi":"get /v1/account_settings/{account_id}","sidebarTitle":"Get account settings","title":"Get account settings","href":"/api-reference/accounts/account-settings"},{"openapi":"get /v1/accounts","sidebarTitle":"List accounts","title":"List accounts","href":"/api-reference/accounts/list"},{"openapi":"post /v1/accounts/{account_id}/onboard","sidebarTitle":"Onboard an account","title":"Onboard an account","href":"/api-reference/accounts/onboard"},{"openapi":"post /v1/accounts/{account_id}/simulate","sidebarTitle":"Simulate onboarding","title":"Simulate account onboarding in sandbox","href":"/api-reference/accounts/simulate"}]},{"group":"Representatives","pages":[{"openapi":"post /v1/representatives","title":"Create a representative","href":"/api-reference/representatives/create"},{"openapi":"put /v1/representatives/{representative_id}","title":"Update a representative","href":"/api-reference/representatives/update"},{"openapi":"get /v1/representatives/{representative_id}","title":"Lookup a representative","href":"/api-reference/representatives/lookup"},{"openapi":"get /v1/representatives/{representative_id}/unmask","title":"Unmask representative data","href":"/api-reference/representatives/unmask"},{"openapi":"get /v1/representatives","title":"List representatives","href":"/api-reference/representatives/list"}]},{"group":"Linked Bank Accounts","pages":[{"openapi":"post /v1/linked_bank_accounts","title":"Create a linked bank account","href":"/api-reference/linkedbankaccounts/create"},{"openapi":"put /v1/linked_bank_accounts/{linked_bank_account_id}","title":"Update a linked bank account","href":"/api-reference/linkedbankaccounts/update"},{"openapi":"patch /v1/linked_bank_accounts/{linked_bank_account_id}/cancel","title":"Cancel a linked bank account","href":"/api-reference/linkedbankaccounts/cancel"},{"openapi":"get /v1/linked_bank_accounts/{linked_bank_account_id}","title":"Lookup a linked bank account","href":"/api-reference/linkedbankaccounts/lookup"},{"openapi":"get /v1/linked_bank_accounts/{linked_bank_account_id}/unmask","title":"Unmask a linked bank account","href":"/api-reference/linkedbankaccounts/unmask"},{"openapi":"get /v1/linked_bank_accounts","title":"List linked bank accounts","href":"/api-reference/linkedbankaccounts/list"}]},{"group":"Capability Requests","pages":[{"openapi":"post /v1/accounts/{account_id}/capability_requests","title":"Request a capability","href":"/api-reference/capabilityrequests/create"},{"openapi":"get /v1/accounts/{account_id}/capability_requests","title":"List capability requests","href":"/api-reference/capabilityrequests/list"}]}]}]},{"dropdown":"Webhooks","icon":"webhook","description":"Event delivery and security","groups":[{"group":"Webhooks","pages":[{"title":"Webhooks 101","icon":"webhook","sidebarTitle":"Webhooks 101","href":"/webhooks/overview/101"},{"title":"Configure webhook endpoints","icon":"folder-code","href":"/webhooks/overview/endpoints"},{"title":"Polling endpoints","icon":"list","sidebarTitle":"Polling endpoints","href":"/webhooks/overview/polling"},{"title":"Webhook event catalog","icon":"book-open","href":"/webhooks/overview/events"},{"title":"Filter webhook delivery logs","icon":"filter","href":"/webhooks/overview/filtering"},{"title":"Webhook replays and retries","icon":"reply-all","href":"/webhooks/overview/replays"},{"title":"Why you should verify webhooks","description":"Understand why verifying Straddle webhook signatures is critical for security, preventing spoofed events, and protecting your platform from fraudulent payloads.","icon":"info","href":"/webhooks/security/why-verify"},{"title":"Manual webhook signature verification","icon":"wrench","href":"/webhooks/security/manual"},{"title":"Verify webhook signatures with SDKs","description":"Securely verify Straddle webhook signatures and payloads using Svix SDKs in Node.js, Python, Ruby, Go, and other languages with code examples.","icon":"codepen","href":"/webhooks/security/sdks"},{"title":"Trusted IP allowlist for webhooks","sidebarTitle":"Trusted IPs","icon":"shield-plus","href":"/webhooks/security/ip-list"}]}]},{"dropdown":"Integrations","icon":"puzzle","description":"Connected services","groups":[{"group":"Integrations","pages":[{"title":"Integrations overview","href":"/integrations/overview"}]},{"group":"Open Banking","pages":[{"title":"Plaid integration for ACH payments","sidebarTitle":"Plaid","icon":"link","href":"/integrations/open-banking/plaid"},{"title":"Quiltt integration for ACH payments","sidebarTitle":"Quiltt","icon":"link","href":"/integrations/open-banking/quiltt"},{"title":"Create a Mastercard token for Straddle","sidebarTitle":"Mastercard","icon":"link","href":"/integrations/open-banking/mastercard"}]},{"group":"Events","pages":[{"title":"Zapier integration for Straddle webhooks","sidebarTitle":"Zapier","icon":"link","href":"/integrations/webhooks/zapier"}]}]},{"dropdown":"Changelog","icon":"arrows-rotate","description":"Release history","groups":[{"group":"Updates","pages":[{"title":"2026 changelog and product updates","sidebarTitle":"2026 updates","icon":"calendar-days","mode":"wide","href":"/changelog/updates/2026"},{"title":"2025 changelog and product updates","sidebarTitle":"2025 updates","icon":"calendar-days","mode":"wide","href":"/changelog/updates/2025"},{"title":"2024 changelog and product updates","sidebarTitle":"2024 updates","icon":"calendar-days","href":"/changelog/updates/2024"}]}]},{"dropdown":"Resources","icon":"books","description":"ACH and compliance guides","groups":[{"group":"ACH Fundamentals","pages":[{"title":"ACH payments basics","href":"/help/ACH101/ach-basics"},{"title":"Same Day ACH vs. standard ACH and cut-off times","href":"/help/ACH101/same-day-vs-standard-ach"}]},{"group":"Payment Compliance","pages":[{"title":"ACH payment authorization guide","href":"/help/Payment-Compliance/ach-auth"},{"title":"ACH SEC codes reference","href":"/help/Payment-Compliance/sec-codes"},{"title":"Bank account verification requirements","sidebarTitle":"Account verification","href":"/help/Payment-Compliance/account-validation"},{"title":"Understanding consent methods: internet vs. signed","href":"/help/Payment-Compliance/consent-types"},{"title":"Standing authorizations for recurring ACH","href":"/help/Payment-Compliance/standing-auth"},{"title":"ACH data security and Nacha audits","href":"/help/Payment-Compliance/data-security"},{"title":"Cannabis-related business due diligence","href":"/help/Payment-Compliance/crb-dd"}]},{"group":"NACHA Rules","pages":[{"title":"ACH rules and regulations","href":"/help/nacha-rules/ach-rules"},{"title":"ACH return codes and Nacha thresholds","href":"/help/nacha-rules/ach-return"},{"title":"Nacha ACH appendix","href":"/help/nacha-rules/nacha-appendix"}]},{"group":"Reference Materials","pages":[{"title":"Accounts with benefits: FBO","href":"/help/Reference-Materials/fbo-accounts"},{"title":"MSB: A fintech guide","href":"/help/Reference-Materials/money-service"},{"title":"Check the status of your production request","href":"/help/Reference-Materials/production"},{"title":"Beneficial ownership requirements","href":"/help/Reference-Materials/representatives"}]}]}]},"basePath":"","title":"Manual webhook signature verification - Straddle Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}