diff --git a/README.md b/README.md index 6989686..08c9524 100644 --- a/README.md +++ b/README.md @@ -933,6 +933,7 @@ webhook = method.webhooks.create({ "type": "payment.update", "url": "https://api.example.app/webhook", "auth_token": "md7UqcTSmvXCBzPORDwOkE", + "hmac_secret": "bd7UscLSmvEXazTOQDwOKW", }); ``` diff --git a/method/resources/Webhook.py b/method/resources/Webhook.py index 3a90011..6c3edcc 100644 --- a/method/resources/Webhook.py +++ b/method/resources/Webhook.py @@ -84,6 +84,7 @@ class WebhookCreateOpts(TypedDict): type: WebhookTypesLiterals url: str auth_token: Optional[str] + hmac_secret: Optional[str] metadata: Optional[Dict[str, Any]] expand_event: Optional[bool] diff --git a/setup.py b/setup.py index cf2b473..0f9a6c5 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='method-python', - version='1.2.4', + version='1.2.5', description='Python library for the Method API', long_description='Python library for the Method API', long_description_content_type='text/x-rst',