Skip to content

Commit 9f6c1a4

Browse files
authored
Feature: clarify webhook disclaimer (#7339)
1 parent e43afa1 commit 9f6c1a4

File tree

1 file changed

+5
-2
lines changed
  • apps/portal/src/app/pay/webhooks

1 file changed

+5
-2
lines changed

apps/portal/src/app/pay/webhooks/page.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createMetadata, DocImage } from "@doc";
1+
import { createMetadata, DocImage, Callout } from "@doc";
22
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
33

44
export const metadata = createMetadata({
@@ -9,6 +9,10 @@ export const metadata = createMetadata({
99

1010
# Webhooks
1111

12+
<Callout variant="warning" title="Verify All Webhook Data Onchain">
13+
**When using webhooks to distribute purchased items, always verify that the proper amount was paid to the proper address onchain using the provided transaction hash. Do not make any assumptions regarding onchain data based on webhook payloads.**
14+
</Callout>
15+
1216
You can create a webhook in your project dashboard under the Universal Bridge tab. You'll be prompted to copy a secret key before saving the webhook. This will be used for verification on all webhook requests received by your backend.
1317

1418
## Response Objects
@@ -120,4 +124,3 @@ The `x-timestamp` header is a UNIX timestamp in seconds, and the webhook body is
120124

121125
Then verify that the signature matches the `x-payload-signature` header.
122126

123-
**When using webhooks to distribute purchased items, always verify that the proper amount was paid to the proper address.**

0 commit comments

Comments
 (0)