massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / stripe / stripe / webhook.pyi
1 from typing import Any
2
3 from stripe import error as error
4
5 class Webhook:
6     DEFAULT_TOLERANCE: int
7     @staticmethod
8     def construct_event(payload, sig_header, secret, tolerance=..., api_key: Any | None = ...): ...
9
10 class WebhookSignature:
11     EXPECTED_SCHEME: str
12     @classmethod
13     def verify_header(cls, payload, header, secret, tolerance: Any | None = ...): ...