lithic 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +48 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/type/union.rb +7 -21
  5. data/lib/lithic/models/account_activity_list_params.rb +2 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +2 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
  8. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
  9. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
  10. data/lib/lithic/models/book_transfer_create_params.rb +4 -0
  11. data/lib/lithic/models/book_transfer_list_params.rb +1 -0
  12. data/lib/lithic/models/book_transfer_response.rb +4 -0
  13. data/lib/lithic/models/card_authorization.rb +7 -6
  14. data/lib/lithic/models/embed_session_generated_webhook_event.rb +83 -0
  15. data/lib/lithic/models/embed_viewed_webhook_event.rb +85 -0
  16. data/lib/lithic/models/event.rb +44 -12
  17. data/lib/lithic/models/event_list_params.rb +23 -6
  18. data/lib/lithic/models/event_subscription.rb +23 -6
  19. data/lib/lithic/models/events/subscription_create_params.rb +23 -6
  20. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  21. data/lib/lithic/models/events/subscription_update_params.rb +23 -6
  22. data/lib/lithic/models/external_payment_list_params.rb +3 -3
  23. data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
  24. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +7 -0
  25. data/lib/lithic/models/financial_event.rb +5 -0
  26. data/lib/lithic/models/fraud/transaction_report_response.rb +8 -8
  27. data/lib/lithic/models/fraud/transaction_retrieve_response.rb +10 -8
  28. data/lib/lithic/models/parsed_webhook_event.rb +5 -1
  29. data/lib/lithic/models/payment.rb +28 -1
  30. data/lib/lithic/models/payment_list_params.rb +1 -0
  31. data/lib/lithic/models/transaction_monitoring/case_transaction.rb +120 -43
  32. data/lib/lithic/models/transaction_monitoring/case_update_params.rb +5 -11
  33. data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +5 -11
  34. data/lib/lithic/models/transaction_monitoring/queue.rb +10 -1
  35. data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +14 -1
  36. data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +15 -1
  37. data/lib/lithic/models/transaction_simulate_clearing_params.rb +4 -3
  38. data/lib/lithic/models.rb +4 -0
  39. data/lib/lithic/resources/card_authorizations.rb +1 -1
  40. data/lib/lithic/resources/cards.rb +5 -0
  41. data/lib/lithic/resources/external_payments.rb +1 -1
  42. data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
  43. data/lib/lithic/resources/transaction_monitoring/cases.rb +2 -2
  44. data/lib/lithic/resources/transaction_monitoring/queues.rb +12 -2
  45. data/lib/lithic/resources/transactions.rb +4 -3
  46. data/lib/lithic/resources/webhooks.rb +1 -1
  47. data/lib/lithic/version.rb +1 -1
  48. data/lib/lithic.rb +2 -1
  49. data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
  50. data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
  51. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
  52. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
  53. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
  54. data/rbi/lithic/models/book_transfer_create_params.rbi +20 -0
  55. data/rbi/lithic/models/book_transfer_list_params.rbi +5 -0
  56. data/rbi/lithic/models/book_transfer_response.rbi +20 -0
  57. data/rbi/lithic/models/card_authorization.rbi +12 -10
  58. data/rbi/lithic/models/embed_session_generated_webhook_event.rbi +157 -0
  59. data/rbi/lithic/models/embed_viewed_webhook_event.rbi +146 -0
  60. data/rbi/lithic/models/event.rbi +70 -18
  61. data/rbi/lithic/models/event_list_params.rbi +31 -6
  62. data/rbi/lithic/models/event_subscription.rbi +31 -6
  63. data/rbi/lithic/models/events/subscription_create_params.rbi +31 -6
  64. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  65. data/rbi/lithic/models/events/subscription_update_params.rbi +31 -6
  66. data/rbi/lithic/models/external_payment_list_params.rbi +3 -3
  67. data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
  68. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +35 -0
  69. data/rbi/lithic/models/financial_event.rbi +22 -0
  70. data/rbi/lithic/models/fraud/transaction_report_response.rbi +16 -29
  71. data/rbi/lithic/models/fraud/transaction_retrieve_response.rbi +16 -29
  72. data/rbi/lithic/models/parsed_webhook_event.rbi +2 -0
  73. data/rbi/lithic/models/payment.rbi +47 -0
  74. data/rbi/lithic/models/payment_list_params.rbi +2 -0
  75. data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +151 -46
  76. data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +8 -33
  77. data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +7 -31
  78. data/rbi/lithic/models/transaction_monitoring/queue.rbi +10 -0
  79. data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +12 -0
  80. data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +14 -0
  81. data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +8 -6
  82. data/rbi/lithic/models.rbi +5 -0
  83. data/rbi/lithic/resources/card_authorizations.rbi +1 -1
  84. data/rbi/lithic/resources/cards.rbi +3 -0
  85. data/rbi/lithic/resources/external_payments.rbi +1 -1
  86. data/rbi/lithic/resources/financial_accounts/balances.rbi +4 -3
  87. data/rbi/lithic/resources/three_ds/decisioning.rbi +1 -1
  88. data/rbi/lithic/resources/transaction_monitoring/cases.rbi +4 -11
  89. data/rbi/lithic/resources/transaction_monitoring/queues.rbi +11 -0
  90. data/rbi/lithic/resources/transactions.rbi +8 -6
  91. data/rbi/lithic/resources/webhooks.rbi +2 -0
  92. data/sig/lithic/models/account_activity_list_params.rbs +4 -0
  93. data/sig/lithic/models/account_activity_list_response.rbs +4 -0
  94. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
  95. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
  96. data/sig/lithic/models/book_transfer_create_params.rbs +8 -0
  97. data/sig/lithic/models/book_transfer_list_params.rbs +2 -0
  98. data/sig/lithic/models/book_transfer_response.rbs +8 -0
  99. data/sig/lithic/models/embed_session_generated_webhook_event.rbs +66 -0
  100. data/sig/lithic/models/embed_viewed_webhook_event.rbs +68 -0
  101. data/sig/lithic/models/event.rbs +4 -0
  102. data/sig/lithic/models/event_list_params.rbs +4 -0
  103. data/sig/lithic/models/event_subscription.rbs +4 -0
  104. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  105. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  106. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  107. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +14 -0
  108. data/sig/lithic/models/financial_event.rbs +10 -0
  109. data/sig/lithic/models/fraud/transaction_report_response.rbs +16 -26
  110. data/sig/lithic/models/fraud/transaction_retrieve_response.rbs +16 -26
  111. data/sig/lithic/models/parsed_webhook_event.rbs +2 -0
  112. data/sig/lithic/models/payment.rbs +15 -0
  113. data/sig/lithic/models/payment_list_params.rbs +2 -1
  114. data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +93 -34
  115. data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +5 -7
  116. data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +4 -4
  117. data/sig/lithic/models/transaction_monitoring/queue.rbs +5 -0
  118. data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +9 -1
  119. data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +10 -1
  120. data/sig/lithic/models.rbs +4 -0
  121. data/sig/lithic/resources/transaction_monitoring/cases.rbs +2 -2
  122. data/sig/lithic/resources/transaction_monitoring/queues.rbs +2 -0
  123. data/sig/lithic/resources/webhooks.rbs +2 -0
  124. metadata +8 -5
  125. data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +0 -28
  126. data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +0 -61
  127. data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +0 -24
@@ -49,7 +49,7 @@ module Lithic
49
49
  # The type of event that occurred. Possible values:
50
50
  #
51
51
  # - account_holder_document.updated: Occurs when an account holder's document
52
- # upload status has been updated
52
+ # upload status has been updated.
53
53
  # - account_holder.created: Occurs when a new account_holder is created.
54
54
  # - account_holder.updated: Occurs when an account_holder is updated.
55
55
  # - account_holder.verification: Occurs when an asynchronous account_holder's
@@ -113,10 +113,25 @@ module Lithic
113
113
  # This event will be deprecated in the future. We recommend using
114
114
  # `tokenization.updated` instead.
115
115
  #
116
- # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
116
+ # - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
117
+ # dispute filed through the Chargebacks API (`/v1/disputes`).
118
+ #
119
+ # This event is not emitted for Managed Disputes.
120
+ #
117
121
  # - dispute_transaction.created: Occurs when a new dispute transaction is created
118
- # - dispute_transaction.updated: Occurs when a dispute transaction is updated
119
- # - dispute.updated: Occurs when a dispute is updated.
122
+ # for a Managed Disputes case.
123
+ # - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
124
+ # Disputes case is updated.
125
+ # - dispute.updated: Occurs when a dispute filed through the Chargebacks API
126
+ # (`/v1/disputes`) is created or updated.
127
+ #
128
+ # This event is not emitted for Managed Disputes. Use
129
+ # `dispute_transaction.created` and `dispute_transaction.updated` instead.
130
+ #
131
+ # - embed.session_generated: Occurs when a card embed session is successfully
132
+ # generated.
133
+ # - embed.viewed: Occurs when a card detail is successfully revealed through an
134
+ # embed.
120
135
  # - external_bank_account.created: Occurs when an external bank account is
121
136
  # created.
122
137
  # - external_bank_account.updated: Occurs when an external bank account is
@@ -138,12 +153,12 @@ module Lithic
138
153
  # - payment_transaction.updated: Occurs when a payment transaction is updated.
139
154
  # - settlement_report.updated: Occurs when a settlement report is created or
140
155
  # updated.
141
- # - statements.created: Occurs when a statement has been created
156
+ # - statements.created: Occurs when a statement has been created.
142
157
  # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
143
158
  # event. Upon receiving this request, the Card Program should issue its own
144
159
  # challenge to the cardholder. After a cardholder challenge is successfully
145
160
  # completed, the Card Program needs to respond back to Lithic by call to
146
- # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
161
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
147
162
  # Then the cardholder must navigate back to the merchant checkout flow to
148
163
  # complete the transaction. Some merchants will include an `app_requestor_url`
149
164
  # for app-based purchases; Lithic recommends triggering a redirect to that URL
@@ -196,6 +211,8 @@ module Lithic
196
211
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
197
212
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
198
213
  DISPUTE_UPDATED = :"dispute.updated"
214
+ EMBED_SESSION_GENERATED = :"embed.session_generated"
215
+ EMBED_VIEWED = :"embed.viewed"
199
216
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
200
217
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
201
218
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -51,7 +51,7 @@ module Lithic
51
51
  # The type of event that occurred. Possible values:
52
52
  #
53
53
  # - account_holder_document.updated: Occurs when an account holder's document
54
- # upload status has been updated
54
+ # upload status has been updated.
55
55
  # - account_holder.created: Occurs when a new account_holder is created.
56
56
  # - account_holder.updated: Occurs when an account_holder is updated.
57
57
  # - account_holder.verification: Occurs when an asynchronous account_holder's
@@ -115,10 +115,25 @@ module Lithic
115
115
  # This event will be deprecated in the future. We recommend using
116
116
  # `tokenization.updated` instead.
117
117
  #
118
- # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
118
+ # - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
119
+ # dispute filed through the Chargebacks API (`/v1/disputes`).
120
+ #
121
+ # This event is not emitted for Managed Disputes.
122
+ #
119
123
  # - dispute_transaction.created: Occurs when a new dispute transaction is created
120
- # - dispute_transaction.updated: Occurs when a dispute transaction is updated
121
- # - dispute.updated: Occurs when a dispute is updated.
124
+ # for a Managed Disputes case.
125
+ # - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
126
+ # Disputes case is updated.
127
+ # - dispute.updated: Occurs when a dispute filed through the Chargebacks API
128
+ # (`/v1/disputes`) is created or updated.
129
+ #
130
+ # This event is not emitted for Managed Disputes. Use
131
+ # `dispute_transaction.created` and `dispute_transaction.updated` instead.
132
+ #
133
+ # - embed.session_generated: Occurs when a card embed session is successfully
134
+ # generated.
135
+ # - embed.viewed: Occurs when a card detail is successfully revealed through an
136
+ # embed.
122
137
  # - external_bank_account.created: Occurs when an external bank account is
123
138
  # created.
124
139
  # - external_bank_account.updated: Occurs when an external bank account is
@@ -140,12 +155,12 @@ module Lithic
140
155
  # - payment_transaction.updated: Occurs when a payment transaction is updated.
141
156
  # - settlement_report.updated: Occurs when a settlement report is created or
142
157
  # updated.
143
- # - statements.created: Occurs when a statement has been created
158
+ # - statements.created: Occurs when a statement has been created.
144
159
  # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
145
160
  # event. Upon receiving this request, the Card Program should issue its own
146
161
  # challenge to the cardholder. After a cardholder challenge is successfully
147
162
  # completed, the Card Program needs to respond back to Lithic by call to
148
- # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
163
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
149
164
  # Then the cardholder must navigate back to the merchant checkout flow to
150
165
  # complete the transaction. Some merchants will include an `app_requestor_url`
151
166
  # for app-based purchases; Lithic recommends triggering a redirect to that URL
@@ -198,6 +213,8 @@ module Lithic
198
213
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
199
214
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
200
215
  DISPUTE_UPDATED = :"dispute.updated"
216
+ EMBED_SESSION_GENERATED = :"embed.session_generated"
217
+ EMBED_VIEWED = :"embed.viewed"
201
218
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
202
219
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
203
220
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -64,6 +64,8 @@ module Lithic
64
64
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
65
65
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
66
66
  DISPUTE_UPDATED = :"dispute.updated"
67
+ EMBED_SESSION_GENERATED = :"embed.session_generated"
68
+ EMBED_VIEWED = :"embed.viewed"
67
69
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
68
70
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
69
71
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -58,7 +58,7 @@ module Lithic
58
58
  # The type of event that occurred. Possible values:
59
59
  #
60
60
  # - account_holder_document.updated: Occurs when an account holder's document
61
- # upload status has been updated
61
+ # upload status has been updated.
62
62
  # - account_holder.created: Occurs when a new account_holder is created.
63
63
  # - account_holder.updated: Occurs when an account_holder is updated.
64
64
  # - account_holder.verification: Occurs when an asynchronous account_holder's
@@ -122,10 +122,25 @@ module Lithic
122
122
  # This event will be deprecated in the future. We recommend using
123
123
  # `tokenization.updated` instead.
124
124
  #
125
- # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
125
+ # - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
126
+ # dispute filed through the Chargebacks API (`/v1/disputes`).
127
+ #
128
+ # This event is not emitted for Managed Disputes.
129
+ #
126
130
  # - dispute_transaction.created: Occurs when a new dispute transaction is created
127
- # - dispute_transaction.updated: Occurs when a dispute transaction is updated
128
- # - dispute.updated: Occurs when a dispute is updated.
131
+ # for a Managed Disputes case.
132
+ # - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
133
+ # Disputes case is updated.
134
+ # - dispute.updated: Occurs when a dispute filed through the Chargebacks API
135
+ # (`/v1/disputes`) is created or updated.
136
+ #
137
+ # This event is not emitted for Managed Disputes. Use
138
+ # `dispute_transaction.created` and `dispute_transaction.updated` instead.
139
+ #
140
+ # - embed.session_generated: Occurs when a card embed session is successfully
141
+ # generated.
142
+ # - embed.viewed: Occurs when a card detail is successfully revealed through an
143
+ # embed.
129
144
  # - external_bank_account.created: Occurs when an external bank account is
130
145
  # created.
131
146
  # - external_bank_account.updated: Occurs when an external bank account is
@@ -147,12 +162,12 @@ module Lithic
147
162
  # - payment_transaction.updated: Occurs when a payment transaction is updated.
148
163
  # - settlement_report.updated: Occurs when a settlement report is created or
149
164
  # updated.
150
- # - statements.created: Occurs when a statement has been created
165
+ # - statements.created: Occurs when a statement has been created.
151
166
  # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
152
167
  # event. Upon receiving this request, the Card Program should issue its own
153
168
  # challenge to the cardholder. After a cardholder challenge is successfully
154
169
  # completed, the Card Program needs to respond back to Lithic by call to
155
- # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
170
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
156
171
  # Then the cardholder must navigate back to the merchant checkout flow to
157
172
  # complete the transaction. Some merchants will include an `app_requestor_url`
158
173
  # for app-based purchases; Lithic recommends triggering a redirect to that URL
@@ -205,6 +220,8 @@ module Lithic
205
220
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
206
221
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
207
222
  DISPUTE_UPDATED = :"dispute.updated"
223
+ EMBED_SESSION_GENERATED = :"embed.session_generated"
224
+ EMBED_VIEWED = :"embed.viewed"
208
225
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
209
226
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
210
227
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -20,7 +20,7 @@ module Lithic
20
20
  optional :business_account_token, String
21
21
 
22
22
  # @!attribute category
23
- # External Payment category to be returned.
23
+ # The external rail the funds moved on
24
24
  #
25
25
  # @return [Symbol, Lithic::Models::ExternalPaymentListParams::Category, nil]
26
26
  optional :category, enum: -> { Lithic::ExternalPaymentListParams::Category }
@@ -79,7 +79,7 @@ module Lithic
79
79
  #
80
80
  # @param business_account_token [String]
81
81
  #
82
- # @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] External Payment category to be returned.
82
+ # @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] The external rail the funds moved on
83
83
  #
84
84
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
85
85
  #
@@ -97,7 +97,7 @@ module Lithic
97
97
  #
98
98
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
99
99
 
100
- # External Payment category to be returned.
100
+ # The external rail the funds moved on
101
101
  module Category
102
102
  extend Lithic::Internal::Type::Enum
103
103
 
@@ -20,9 +20,10 @@ module Lithic
20
20
  optional :balance_date, Time
21
21
 
22
22
  # @!attribute last_transaction_event_token
23
- # Balance after a given financial event occured. For example, passing the
24
- # event_token of a $5 CARD_CLEARING financial event will return a balance
25
- # decreased by $5
23
+ # Balance after a given financial event occured. Note: if an account receives
24
+ # multiple events around the same time whose financial impacts cancel out, a
25
+ # balance lookup by one of those event tokens may return 404, since their combined
26
+ # impact on the account is zero.
26
27
  #
27
28
  # @return [String, nil]
28
29
  optional :last_transaction_event_token, String
@@ -150,6 +150,7 @@ module Lithic
150
150
 
151
151
  ACH = :ACH
152
152
  WIRE = :WIRE
153
+ STABLECOIN = :STABLECOIN
153
154
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
154
155
  FEE = :FEE
155
156
  REWARD = :REWARD
@@ -170,6 +171,7 @@ module Lithic
170
171
  MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
171
172
  HOLD = :HOLD
172
173
  PROGRAM_FUNDING = :PROGRAM_FUNDING
174
+ PROGRAM_TRANSFER = :PROGRAM_TRANSFER
173
175
 
174
176
  # @!method self.values
175
177
  # @return [Array<Symbol>]
@@ -260,6 +262,8 @@ module Lithic
260
262
  RETURNED_PAYMENT = :RETURNED_PAYMENT
261
263
  RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
262
264
  LITHIC_NETWORK_PAYMENT = :LITHIC_NETWORK_PAYMENT
265
+ LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
266
+ BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
263
267
  ANNUAL = :ANNUAL
264
268
  ANNUAL_REVERSAL = :ANNUAL_REVERSAL
265
269
  QUARTERLY = :QUARTERLY
@@ -267,6 +271,9 @@ module Lithic
267
271
  MONTHLY = :MONTHLY
268
272
  MONTHLY_REVERSAL = :MONTHLY_REVERSAL
269
273
  ACCOUNT_TO_ACCOUNT = :ACCOUNT_TO_ACCOUNT
274
+ STABLECOIN_RECEIVED = :STABLECOIN_RECEIVED
275
+ STABLECOIN_REVIEWED = :STABLECOIN_REVIEWED
276
+ STABLECOIN_SETTLED = :STABLECOIN_SETTLED
270
277
 
271
278
  # @!method self.values
272
279
  # @return [Array<Symbol>]
@@ -149,6 +149,8 @@ module Lithic
149
149
  RETURNED_PAYMENT = :RETURNED_PAYMENT
150
150
  RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
151
151
  LITHIC_NETWORK_PAYMENT = :LITHIC_NETWORK_PAYMENT
152
+ LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
153
+ BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
152
154
  ANNUAL = :ANNUAL
153
155
  ANNUAL_REVERSAL = :ANNUAL_REVERSAL
154
156
  QUARTERLY = :QUARTERLY
@@ -156,6 +158,9 @@ module Lithic
156
158
  MONTHLY = :MONTHLY
157
159
  MONTHLY_REVERSAL = :MONTHLY_REVERSAL
158
160
  ACCOUNT_TO_ACCOUNT = :ACCOUNT_TO_ACCOUNT
161
+ STABLECOIN_RECEIVED = :STABLECOIN_RECEIVED
162
+ STABLECOIN_REVIEWED = :STABLECOIN_REVIEWED
163
+ STABLECOIN_SETTLED = :STABLECOIN_SETTLED
159
164
 
160
165
  # @!method self.values
161
166
  # @return [Array<Symbol>]
@@ -35,13 +35,13 @@ module Lithic
35
35
  # Provides additional context or details about the fraud report.
36
36
  #
37
37
  # @return [String, nil]
38
- optional :comment, String
38
+ optional :comment, String, nil?: true
39
39
 
40
40
  # @!attribute created_at
41
41
  # Timestamp representing when the fraud report was created.
42
42
  #
43
43
  # @return [Time, nil]
44
- optional :created_at, Time
44
+ optional :created_at, Time, nil?: true
45
45
 
46
46
  # @!attribute fraud_type
47
47
  # Specifies the type or category of fraud that the transaction is suspected or
@@ -67,13 +67,13 @@ module Lithic
67
67
  # often through social engineering tactics.
68
68
  #
69
69
  # @return [Symbol, Lithic::Models::Fraud::TransactionReportResponse::FraudType, nil]
70
- optional :fraud_type, enum: -> { Lithic::Models::Fraud::TransactionReportResponse::FraudType }
70
+ optional :fraud_type, enum: -> { Lithic::Models::Fraud::TransactionReportResponse::FraudType }, nil?: true
71
71
 
72
72
  # @!attribute updated_at
73
73
  # Timestamp representing the last update to the fraud report.
74
74
  #
75
75
  # @return [Time, nil]
76
- optional :updated_at, Time
76
+ optional :updated_at, Time, nil?: true
77
77
 
78
78
  # @!method initialize(fraud_status:, transaction_token:, comment: nil, created_at: nil, fraud_type: nil, updated_at: nil)
79
79
  # Some parameter documentations has been truncated, see
@@ -83,13 +83,13 @@ module Lithic
83
83
  #
84
84
  # @param transaction_token [String] The universally unique identifier (UUID) associated with the transaction being r
85
85
  #
86
- # @param comment [String] Provides additional context or details about the fraud report.
86
+ # @param comment [String, nil] Provides additional context or details about the fraud report.
87
87
  #
88
- # @param created_at [Time] Timestamp representing when the fraud report was created.
88
+ # @param created_at [Time, nil] Timestamp representing when the fraud report was created.
89
89
  #
90
- # @param fraud_type [Symbol, Lithic::Models::Fraud::TransactionReportResponse::FraudType] Specifies the type or category of fraud that the transaction is suspected or con
90
+ # @param fraud_type [Symbol, Lithic::Models::Fraud::TransactionReportResponse::FraudType, nil] Specifies the type or category of fraud that the transaction is suspected or con
91
91
  #
92
- # @param updated_at [Time] Timestamp representing the last update to the fraud report.
92
+ # @param updated_at [Time, nil] Timestamp representing the last update to the fraud report.
93
93
 
94
94
  # The fraud status of the transaction, string (enum) supporting the following
95
95
  # values:
@@ -35,13 +35,13 @@ module Lithic
35
35
  # Provides additional context or details about the fraud report.
36
36
  #
37
37
  # @return [String, nil]
38
- optional :comment, String
38
+ optional :comment, String, nil?: true
39
39
 
40
40
  # @!attribute created_at
41
41
  # Timestamp representing when the fraud report was created.
42
42
  #
43
43
  # @return [Time, nil]
44
- optional :created_at, Time
44
+ optional :created_at, Time, nil?: true
45
45
 
46
46
  # @!attribute fraud_type
47
47
  # Specifies the type or category of fraud that the transaction is suspected or
@@ -67,13 +67,15 @@ module Lithic
67
67
  # often through social engineering tactics.
68
68
  #
69
69
  # @return [Symbol, Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType, nil]
70
- optional :fraud_type, enum: -> { Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType }
70
+ optional :fraud_type,
71
+ enum: -> { Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType },
72
+ nil?: true
71
73
 
72
74
  # @!attribute updated_at
73
75
  # Timestamp representing the last update to the fraud report.
74
76
  #
75
77
  # @return [Time, nil]
76
- optional :updated_at, Time
78
+ optional :updated_at, Time, nil?: true
77
79
 
78
80
  # @!method initialize(fraud_status:, transaction_token:, comment: nil, created_at: nil, fraud_type: nil, updated_at: nil)
79
81
  # Some parameter documentations has been truncated, see
@@ -83,13 +85,13 @@ module Lithic
83
85
  #
84
86
  # @param transaction_token [String] The universally unique identifier (UUID) associated with the transaction being r
85
87
  #
86
- # @param comment [String] Provides additional context or details about the fraud report.
88
+ # @param comment [String, nil] Provides additional context or details about the fraud report.
87
89
  #
88
- # @param created_at [Time] Timestamp representing when the fraud report was created.
90
+ # @param created_at [Time, nil] Timestamp representing when the fraud report was created.
89
91
  #
90
- # @param fraud_type [Symbol, Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType] Specifies the type or category of fraud that the transaction is suspected or con
92
+ # @param fraud_type [Symbol, Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType, nil] Specifies the type or category of fraud that the transaction is suspected or con
91
93
  #
92
- # @param updated_at [Time] Timestamp representing the last update to the fraud report.
94
+ # @param updated_at [Time, nil] Timestamp representing the last update to the fraud report.
93
95
 
94
96
  # The fraud status of the transaction, string (enum) supporting the following
95
97
  # values:
@@ -83,6 +83,10 @@ module Lithic
83
83
  # Dispute evidence.
84
84
  variant -> { Lithic::DisputeEvidenceUploadFailedWebhookEvent }
85
85
 
86
+ variant -> { Lithic::EmbedSessionGeneratedWebhookEvent }
87
+
88
+ variant -> { Lithic::EmbedViewedWebhookEvent }
89
+
86
90
  variant -> { Lithic::ExternalBankAccountCreatedWebhookEvent }
87
91
 
88
92
  variant -> { Lithic::ExternalBankAccountUpdatedWebhookEvent }
@@ -826,7 +830,7 @@ module Lithic
826
830
  end
827
831
 
828
832
  # @!method self.variants
829
- # @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::ClaimCreatedWebhookEvent, Lithic::Models::ClaimUpdatedWebhookEvent, Lithic::Models::ClaimDocumentUploadedWebhookEvent, Lithic::Models::ClaimDocumentAcceptedWebhookEvent, Lithic::Models::ClaimDocumentRejectedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
833
+ # @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::ClaimCreatedWebhookEvent, Lithic::Models::ClaimUpdatedWebhookEvent, Lithic::Models::ClaimDocumentUploadedWebhookEvent, Lithic::Models::ClaimDocumentAcceptedWebhookEvent, Lithic::Models::ClaimDocumentRejectedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::EmbedSessionGeneratedWebhookEvent, Lithic::Models::EmbedViewedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
830
834
  end
831
835
  end
832
836
  end
@@ -202,6 +202,7 @@ module Lithic
202
202
 
203
203
  ACH = :ACH
204
204
  WIRE = :WIRE
205
+ STABLECOIN = :STABLECOIN
205
206
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
206
207
  FEE = :FEE
207
208
  REWARD = :REWARD
@@ -222,6 +223,7 @@ module Lithic
222
223
  MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
223
224
  HOLD = :HOLD
224
225
  PROGRAM_FUNDING = :PROGRAM_FUNDING
226
+ PROGRAM_TRANSFER = :PROGRAM_TRANSFER
225
227
 
226
228
  # @!method self.values
227
229
  # @return [Array<Symbol>]
@@ -321,6 +323,13 @@ module Lithic
321
323
  # - `WIRE_RETURN_OUTBOUND_REJECTED` - Outbound wire return rejected by the Federal
322
324
  # Reserve.
323
325
  #
326
+ # Stablecoin events:
327
+ #
328
+ # - `STABLECOIN_RECEIVED` - Stablecoin pay-in received on-chain and pending
329
+ # release to available balance.
330
+ # - `STABLECOIN_REVIEWED` - Stablecoin pay-in has completed the review process.
331
+ # - `STABLECOIN_SETTLED` - Stablecoin pay-in funds released to available balance.
332
+ #
324
333
  # @return [Symbol, Lithic::Models::Payment::Event::Type]
325
334
  required :type, enum: -> { Lithic::Payment::Event::Type }
326
335
 
@@ -430,6 +439,13 @@ module Lithic
430
439
  # - `WIRE_RETURN_OUTBOUND_REJECTED` - Outbound wire return rejected by the Federal
431
440
  # Reserve.
432
441
  #
442
+ # Stablecoin events:
443
+ #
444
+ # - `STABLECOIN_RECEIVED` - Stablecoin pay-in received on-chain and pending
445
+ # release to available balance.
446
+ # - `STABLECOIN_REVIEWED` - Stablecoin pay-in has completed the review process.
447
+ # - `STABLECOIN_SETTLED` - Stablecoin pay-in funds released to available balance.
448
+ #
433
449
  # @see Lithic::Models::Payment::Event#type
434
450
  module Type
435
451
  extend Lithic::Internal::Type::Enum
@@ -456,6 +472,9 @@ module Lithic
456
472
  WIRE_RETURN_OUTBOUND_SENT = :WIRE_RETURN_OUTBOUND_SENT
457
473
  WIRE_RETURN_OUTBOUND_SETTLED = :WIRE_RETURN_OUTBOUND_SETTLED
458
474
  WIRE_RETURN_OUTBOUND_REJECTED = :WIRE_RETURN_OUTBOUND_REJECTED
475
+ STABLECOIN_RECEIVED = :STABLECOIN_RECEIVED
476
+ STABLECOIN_REVIEWED = :STABLECOIN_REVIEWED
477
+ STABLECOIN_SETTLED = :STABLECOIN_SETTLED
459
478
 
460
479
  # @!method self.values
461
480
  # @return [Array<Symbol>]
@@ -539,6 +558,12 @@ module Lithic
539
558
  # @return [String, nil]
540
559
  optional :receipt_routing_number, String, nil?: true
541
560
 
561
+ # @!attribute recipient_name
562
+ # Name of the recipient on ACH receipts. Reflects the originating bank's record
563
+ #
564
+ # @return [String, nil]
565
+ optional :recipient_name, String, nil?: true
566
+
542
567
  # @!attribute retries
543
568
  # Number of retries attempted
544
569
  #
@@ -557,7 +582,7 @@ module Lithic
557
582
  # @return [Array<String>, nil]
558
583
  optional :trace_numbers, Lithic::Internal::Type::ArrayOf[String]
559
584
 
560
- # @!method initialize(sec_code:, ach_hold_period: nil, addenda: nil, company_id: nil, override_company_name: nil, receipt_routing_number: nil, retries: nil, return_reason_code: nil, trace_numbers: nil)
585
+ # @!method initialize(sec_code:, ach_hold_period: nil, addenda: nil, company_id: nil, override_company_name: nil, receipt_routing_number: nil, recipient_name: nil, retries: nil, return_reason_code: nil, trace_numbers: nil)
561
586
  # Some parameter documentations has been truncated, see
562
587
  # {Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes} for more
563
588
  # details.
@@ -574,6 +599,8 @@ module Lithic
574
599
  #
575
600
  # @param receipt_routing_number [String, nil] Receipt routing number
576
601
  #
602
+ # @param recipient_name [String, nil] Name of the recipient on ACH receipts. Reflects the originating bank's record
603
+ #
577
604
  # @param retries [Integer, nil] Number of retries attempted
578
605
  #
579
606
  # @param return_reason_code [String, nil] Return reason code if the transaction was returned
@@ -124,6 +124,7 @@ module Lithic
124
124
  DECLINED = :DECLINED
125
125
  PENDING = :PENDING
126
126
  RETURNED = :RETURNED
127
+ REVERSED = :REVERSED
127
128
  SETTLED = :SETTLED
128
129
 
129
130
  # @!method self.values