Skip to content

Commit 0533768

Browse files
committed
hmac_secret to Create Webhook type
1 parent 5606aff commit 0533768

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,7 @@ webhook = method.webhooks.create({
933933
"type": "payment.update",
934934
"url": "https://api.example.app/webhook",
935935
"auth_token": "md7UqcTSmvXCBzPORDwOkE",
936+
"hmac_secret": "bd7UscLSmvEXazTOQDwOKW",
936937
});
937938
```
938939

method/resources/Webhook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class WebhookCreateOpts(TypedDict):
8484
type: WebhookTypesLiterals
8585
url: str
8686
auth_token: Optional[str]
87+
hmac_secret: Optional[str]
8788
metadata: Optional[Dict[str, Any]]
8889
expand_event: Optional[bool]
8990

0 commit comments

Comments
 (0)