You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lithic/types/payment.py
+46-6Lines changed: 46 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,11 @@
18
18
19
19
20
20
classEvent(BaseModel):
21
-
"""Payment Event"""
21
+
"""
22
+
Note: Inbound wire transfers are coming soon (availability varies by partner bank). Wire-related fields below are a preview. To learn more, contact your customer success manager.
23
+
24
+
Payment Event
25
+
"""
22
26
23
27
token: str
24
28
"""Globally unique identifier."""
@@ -54,8 +58,22 @@ class Event(BaseModel):
54
58
"ACH_RETURN_PROCESSED",
55
59
"ACH_RETURN_REJECTED",
56
60
"ACH_RETURN_SETTLED",
61
+
"WIRE_TRANSFER_INBOUND_RECEIVED",
62
+
"WIRE_TRANSFER_INBOUND_SETTLED",
63
+
"WIRE_TRANSFER_INBOUND_BLOCKED",
64
+
"WIRE_RETURN_OUTBOUND_INITIATED",
65
+
"WIRE_RETURN_OUTBOUND_SENT",
66
+
"WIRE_RETURN_OUTBOUND_SETTLED",
67
+
"WIRE_RETURN_OUTBOUND_REJECTED",
57
68
]
58
-
"""Event types:
69
+
"""
70
+
Note: Inbound wire transfers are coming soon (availability varies by partner
71
+
bank). Wire-related event types below are a preview. To learn more, contact your
72
+
customer success manager.
73
+
74
+
Event types:
75
+
76
+
ACH events:
59
77
60
78
- `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
61
79
approval/release from an ACH hold.
@@ -81,6 +99,26 @@ class Event(BaseModel):
81
99
Financial Institution.
82
100
- `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
83
101
Financial Institution.
102
+
103
+
Wire transfer events:
104
+
105
+
- `WIRE_TRANSFER_INBOUND_RECEIVED` - Inbound wire transfer received from the
106
+
Federal Reserve and pending release to available balance.
107
+
- `WIRE_TRANSFER_INBOUND_SETTLED` - Inbound wire transfer funds released from
108
+
pending to available balance.
109
+
- `WIRE_TRANSFER_INBOUND_BLOCKED` - Inbound wire transfer blocked and funds
110
+
frozen for regulatory review.
111
+
112
+
Wire return events:
113
+
114
+
- `WIRE_RETURN_OUTBOUND_INITIATED` - Outbound wire return initiated to return
115
+
funds from an inbound wire transfer.
116
+
- `WIRE_RETURN_OUTBOUND_SENT` - Outbound wire return sent to the Federal Reserve
117
+
and pending acceptance.
118
+
- `WIRE_RETURN_OUTBOUND_SETTLED` - Outbound wire return accepted by the Federal
119
+
Reserve and funds returned to sender.
120
+
- `WIRE_RETURN_OUTBOUND_REJECTED` - Outbound wire return rejected by the Federal
121
+
Reserve.
84
122
"""
85
123
86
124
detailed_results: Optional[
@@ -99,7 +137,11 @@ class Event(BaseModel):
99
137
"""More detailed reasons for the event"""
100
138
101
139
external_id: Optional[str] =None
102
-
"""Payment event external ID, for example, ACH trace number."""
140
+
"""Payment event external ID.
141
+
142
+
For ACH transactions, this is the ACH trace number. For inbound wire transfers,
143
+
this is the IMAD (Input Message Accountability Data).
0 commit comments