-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathevent.py
More file actions
100 lines (90 loc) · 3.98 KB
/
Copy pathevent.py
File metadata and controls
100 lines (90 loc) · 3.98 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict
from datetime import datetime
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["Event"]
class Event(BaseModel):
token: str
"""Globally unique identifier."""
created: datetime
"""An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
"""
event_type: 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.converted",
"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",
"funding_event.created",
"loan_tape.created",
"loan_tape.updated",
"management_operation.created",
"management_operation.updated",
"network_total.created",
"network_total.updated",
"payment_transaction.created",
"payment_transaction.updated",
"internal_transaction.created",
"internal_transaction.updated",
"settlement_report.updated",
"statements.created",
"three_ds_authentication.created",
"three_ds_authentication.updated",
"tokenization.approval_request",
"tokenization.result",
"tokenization.two_factor_authentication_code",
"tokenization.two_factor_authentication_code_sent",
"tokenization.updated",
]
"""Event types:
- `account_holder.created` - Notification that a new account holder has been
created and was not rejected.
- `account_holder.updated` - Notification that an account holder was updated.
- `account_holder.verification` - Notification than an account holder's identity
verification is complete.
- `card.created` - Notification that a card has been created.
- `card.renewed` - Notification that a card has been renewed.
- `card.reissued` - Notification that a card has been reissued.
- `card.shipped` - Physical card shipment notification. See
https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
- `card.converted` - Notification that a virtual card has been converted to a
physical card.
- `card_transaction.updated` - Transaction Lifecycle webhook. See
https://docs.lithic.com/docs/transaction-webhooks.
- `dispute.updated` - A dispute has been updated.
- `digital_wallet.tokenization_approval_request` - Card network's request to
Lithic to activate a digital wallet token.
- `digital_wallet.tokenization_result` - Notification of the end result of a
tokenization, whether successful or failed.
- `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
passed to an end user to complete digital wallet authentication. See
https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
- `digital_wallet.tokenization_two_factor_authentication_code_sent` -
Notification that a two factor authentication code for activating a digital
wallet has been sent to the end user.
- `digital_wallet.tokenization_updated` - Notification that a digital wallet
tokenization's status has changed.
"""
payload: Dict[str, object]