-
Notifications
You must be signed in to change notification settings - Fork 4
/
subscription_create_params.py
67 lines (58 loc) · 2.39 KB
/
subscription_create_params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List
from typing_extensions import Literal, Required, TypedDict
__all__ = ["SubscriptionCreateParams"]
class SubscriptionCreateParams(TypedDict, total=False):
url: Required[str]
"""URL to which event webhooks will be sent. URL must be a valid HTTPS address."""
description: str
"""Event subscription description."""
disabled: bool
"""Whether the event subscription is active (false) or inactive (true)."""
event_types: List[
Literal[
"account_holder.created",
"account_holder.updated",
"account_holder.verification",
"auth_rules.performance_report.created",
"balance.updated",
"book_transfer_transaction.created",
"card.created",
"card.renewed",
"card.reissued",
"card.shipped",
"card_transaction.updated",
"digital_wallet.tokenization_approval_request",
"digital_wallet.tokenization_result",
"digital_wallet.tokenization_two_factor_authentication_code",
"digital_wallet.tokenization_two_factor_authentication_code_sent",
"digital_wallet.tokenization_updated",
"dispute.updated",
"dispute_evidence.upload_failed",
"external_bank_account.created",
"external_bank_account.updated",
"external_payment.created",
"external_payment.updated",
"financial_account.created",
"financial_account.updated",
"loan_tape.created",
"loan_tape.updated",
"management_operation.created",
"management_operation.updated",
"payment_transaction.created",
"payment_transaction.updated",
"settlement_report.updated",
"statements.created",
"three_ds_authentication.created",
"transfer_transaction.created",
"tokenization.approval_request",
"tokenization.result",
"tokenization.two_factor_authentication_code",
"tokenization.two_factor_authentication_code_sent",
"tokenization.updated",
]
]
"""Indicates types of events that will be sent to this subscription.
If left blank, all types will be sent.
"""