backend: Add X-Signature and X-Timestamp parameters for webhook verification
This commit is contained in:
parent
8bf3c51125
commit
8d92ad3533
6
backend/openapi/components/parameters/x-signature.yaml
Normal file
6
backend/openapi/components/parameters/x-signature.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
name: X-Signature
|
||||
in: header
|
||||
description: HMAC signature for webhook verification
|
||||
example: 1234567890abcdef
|
||||
schema:
|
||||
type: string
|
||||
6
backend/openapi/components/parameters/x-timestamp.yaml
Normal file
6
backend/openapi/components/parameters/x-timestamp.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
name: X-Timestamp
|
||||
in: header
|
||||
description: Timestamp of the webhook event (in Unix Epoch seconds)
|
||||
example: 1678901234
|
||||
schema:
|
||||
type: string
|
||||
Loading…
x
Reference in New Issue
Block a user