lithic 0.22.0 → 0.23.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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account_activity_list_params.rb +1 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +2 -24
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
  8. data/lib/lithic/models/book_transfer_create_params.rb +1 -0
  9. data/lib/lithic/models/book_transfer_response.rb +1 -0
  10. data/lib/lithic/models/card_authorization.rb +1 -0
  11. data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
  12. data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
  13. data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
  14. data/lib/lithic/models/financial_account_balance.rb +6 -6
  15. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
  16. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
  17. data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +6 -6
  18. data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
  19. data/lib/lithic/models/financial_accounts/loan_tape.rb +9 -1
  20. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
  21. data/lib/lithic/models/financial_event.rb +4 -0
  22. data/lib/lithic/models/funding_event_list_params.rb +28 -1
  23. data/lib/lithic/models/hold.rb +24 -28
  24. data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
  25. data/lib/lithic/models/ip_range_retrieve_response.rb +25 -0
  26. data/lib/lithic/models/payment.rb +1 -0
  27. data/lib/lithic/models/transaction.rb +9 -3
  28. data/lib/lithic/models/transactions/events/enhanced_data.rb +27 -3
  29. data/lib/lithic/models/transfer_limits_response.rb +9 -1
  30. data/lib/lithic/models.rb +2 -0
  31. data/lib/lithic/resources/cards/financial_transactions.rb +5 -3
  32. data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
  33. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
  34. data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
  35. data/lib/lithic/resources/funding_events.rb +8 -2
  36. data/lib/lithic/resources/ip_ranges.rb +36 -0
  37. data/lib/lithic/resources/webhooks.rb +2 -0
  38. data/lib/lithic/version.rb +1 -1
  39. data/lib/lithic.rb +3 -0
  40. data/rbi/lithic/client.rbi +3 -0
  41. data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
  42. data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
  43. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
  44. data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
  45. data/rbi/lithic/models/book_transfer_response.rbi +5 -0
  46. data/rbi/lithic/models/card_authorization.rbi +2 -0
  47. data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
  48. data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
  49. data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
  50. data/rbi/lithic/models/financial_account_balance.rbi +6 -6
  51. data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
  52. data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
  53. data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +9 -18
  54. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
  55. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +24 -3
  56. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
  57. data/rbi/lithic/models/financial_event.rbi +17 -0
  58. data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
  59. data/rbi/lithic/models/hold.rbi +28 -29
  60. data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
  61. data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -0
  62. data/rbi/lithic/models/payment.rbi +1 -0
  63. data/rbi/lithic/models/transaction.rbi +11 -4
  64. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +25 -5
  65. data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
  66. data/rbi/lithic/models.rbi +2 -0
  67. data/rbi/lithic/resources/cards/financial_transactions.rbi +4 -1
  68. data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
  69. data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
  70. data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
  71. data/rbi/lithic/resources/funding_events.rbi +12 -0
  72. data/rbi/lithic/resources/ip_ranges.rbi +25 -0
  73. data/sig/lithic/client.rbs +2 -0
  74. data/sig/lithic/models/account_activity_list_params.rbs +2 -0
  75. data/sig/lithic/models/account_activity_list_response.rbs +3 -32
  76. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
  77. data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
  78. data/sig/lithic/models/book_transfer_response.rbs +2 -0
  79. data/sig/lithic/models/card_authorization.rbs +8 -1
  80. data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
  81. data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
  82. data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
  83. data/sig/lithic/models/financial_account_balance.rbs +8 -8
  84. data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -0
  85. data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +12 -18
  86. data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
  87. data/sig/lithic/models/financial_accounts/loan_tape.rbs +8 -3
  88. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
  89. data/sig/lithic/models/financial_event.rbs +8 -0
  90. data/sig/lithic/models/funding_event_list_params.rbs +26 -1
  91. data/sig/lithic/models/hold.rbs +22 -30
  92. data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
  93. data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
  94. data/sig/lithic/models/payment.rbs +2 -0
  95. data/sig/lithic/models/transaction.rbs +12 -5
  96. data/sig/lithic/models/transactions/events/enhanced_data.rbs +13 -3
  97. data/sig/lithic/models/transfer_limits_response.rbs +5 -0
  98. data/sig/lithic/models.rbs +2 -0
  99. data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
  100. data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
  101. data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
  102. data/sig/lithic/resources/funding_events.rbs +3 -0
  103. data/sig/lithic/resources/ip_ranges.rbs +11 -0
  104. metadata +12 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d5394fbf93d5fe79485f48eeee1e627eca7c52a58f140b47c7d060fe16dd59b
4
- data.tar.gz: a970af229514a369b29f77419d940d3ba75d3981b914fbcbac192f877b26062d
3
+ metadata.gz: fc989448bb022cd114bd44f64d856040cd80e588493094ac55a3b4faf0f6725a
4
+ data.tar.gz: b19f6c24a37b3cac6488a79621650569e5e333459d58d3239305efc8d6bab478
5
5
  SHA512:
6
- metadata.gz: fa85dffbcc1a77f79a0b259a7d8c25b1cdbec7a02f7116b93687a197986c986d08eff4811c465ed5856f01bdc336aeeccdf18c352fbdb2a2bc0ed7492e8359ed
7
- data.tar.gz: 5e3bed3eb70b84aa9496b568729b72cf27fcf56cd798135026b6580737973fe6e0e8c07cc106f6dc531b12bee7c3b5eb2e8b7bfb9cef1b213bb5c6c5d3de8701
6
+ metadata.gz: 9d39e27a7a340b7325c097ac528486a731ab4c8fec6f270420a00ec8306436aaaec067775316299c31b2880b95020065ca8dbcfa86ccae76670532e96e027965
7
+ data.tar.gz: 3766f674fec04a8def4f4809c2b0c8c8eaaef02f0842832ecb2600b940447ae77dd25ebbbc85f6583b31f516cbce7217860bf7900f7a2739ef7173d02cb78d73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.23.0](https://github.com/lithic-com/lithic-ruby/compare/v0.22.0...v0.23.0) (2026-10-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** add ALLPOINT to card transaction and authorization network enums ([dc34ff5](https://github.com/lithic-com/lithic-ruby/commit/dc34ff5ae508f99a2be5d558a03ee0ce01f4b236))
9
+ * **api:** add financial_entity_id to transfer limits response items ([a3f8e8c](https://github.com/lithic-com/lithic-ruby/commit/a3f8e8cb9f37901f002b5e9cdba316448a6ffba4))
10
+ * **api:** add INSTANCE_TO_INSTANCE to book transfer type and financial event type enums ([f42ede6](https://github.com/lithic-com/lithic-ruby/commit/f42ede6cb9d21a8ded2b6059a005a52cf9b4a3d7))
11
+ * **api:** add intra-bank transaction category and intra_bank financial event types ([ff8d771](https://github.com/lithic-com/lithic-ruby/commit/ff8d771b0437ad74fc4d833d2530eb2d189cbdbf))
12
+ * **api:** add ip_ranges.retrieve to get static IPs for Lithic ASA responder ([db702d5](https://github.com/lithic-com/lithic-ruby/commit/db702d5f5d03970433452019e2579da830105f9c))
13
+ * **api:** add page_size to financial transaction lists and date filters to funding events list ([4a79194](https://github.com/lithic-com/lithic-ruby/commit/4a79194c8742592a85aa46aa75ff707d0b0e11b5))
14
+ * **api:** add reference_id field to claims for matching with the dashboard ([186b254](https://github.com/lithic-com/lithic-ruby/commit/186b254774bdcaa30dcb18e40a0dbb1ce49a2110))
15
+ * **api:** add unit_amount and total_amount to enhanced commercial data line items, deprecate amount ([e3f5c25](https://github.com/lithic-com/lithic-ruby/commit/e3f5c251fed13893fdc6a17bde583722249c3363))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **api:** correct status enum types on hold and card transaction models ([620c67d](https://github.com/lithic-com/lithic-ruby/commit/620c67d66247dfbf1fa87e0a9c19f4bf44d794ae))
21
+ * **api:** financial account balance last transaction tokens are nullable (breaks java/kotlin types) ([f136d98](https://github.com/lithic-com/lithic-ruby/commit/f136d9805d1651f1052bf75c19d5f52155152978))
22
+ * **api:** make tier_name, tier_rates, and penalty_rates nullable on account tier schedules ([7284947](https://github.com/lithic-com/lithic-ruby/commit/7284947097f697cfd1ac4234df867453a5a39230))
23
+
24
+
25
+ ### Chores
26
+
27
+ * **ci:** raising minimum Ruby version to 3.4 ([#158](https://github.com/lithic-com/lithic-ruby/issues/158)) ([e55b6d6](https://github.com/lithic-com/lithic-ruby/commit/e55b6d6f2604db10d99965d4526494656bdeceb1))
28
+
29
+
30
+ ### Documentation
31
+
32
+ * **api:** clarify credit product can only be assigned once to pending financial accounts ([563339a](https://github.com/lithic-com/lithic-ruby/commit/563339af8ae0313a68287e57290c3a01d1136a81))
33
+
3
34
  ## [0.22.0](https://github.com/lithic-com/lithic-ruby/compare/v0.21.0...v0.22.0) (2026-10-13)
4
35
 
5
36
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "lithic", "~> 0.22.0"
18
+ gem "lithic", "~> 0.23.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
data/lib/lithic/client.rb CHANGED
@@ -80,6 +80,9 @@ module Lithic
80
80
  # @return [Lithic::Resources::ResponderEndpoints]
81
81
  attr_reader :responder_endpoints
82
82
 
83
+ # @return [Lithic::Resources::IPRanges]
84
+ attr_reader :ip_ranges
85
+
83
86
  # @return [Lithic::Resources::ExternalBankAccounts]
84
87
  attr_reader :external_bank_accounts
85
88
 
@@ -242,6 +245,7 @@ module Lithic
242
245
  @financial_accounts = Lithic::Resources::FinancialAccounts.new(client: self)
243
246
  @transactions = Lithic::Resources::Transactions.new(client: self)
244
247
  @responder_endpoints = Lithic::Resources::ResponderEndpoints.new(client: self)
248
+ @ip_ranges = Lithic::Resources::IPRanges.new(client: self)
245
249
  @external_bank_accounts = Lithic::Resources::ExternalBankAccounts.new(client: self)
246
250
  @blockchain_recipients = Lithic::Resources::BlockchainRecipients.new(client: self)
247
251
  @payments = Lithic::Resources::Payments.new(client: self)
@@ -112,6 +112,7 @@ module Lithic
112
112
  ACH = :ACH
113
113
  WIRE = :WIRE
114
114
  STABLECOIN = :STABLECOIN
115
+ INTRA_BANK = :INTRA_BANK
115
116
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
116
117
  FEE = :FEE
117
118
  REWARD = :REWARD
@@ -151,6 +151,7 @@ module Lithic
151
151
  ACH = :ACH
152
152
  WIRE = :WIRE
153
153
  STABLECOIN = :STABLECOIN
154
+ INTRA_BANK = :INTRA_BANK
154
155
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
155
156
  FEE = :FEE
156
157
  REWARD = :REWARD
@@ -228,45 +229,22 @@ module Lithic
228
229
  # @return [Symbol, :CARD]
229
230
  required :family, const: :CARD
230
231
 
231
- # @!attribute status
232
- # The status of the transaction
233
- #
234
- # @return [Symbol, Lithic::Models::AccountActivityListResponse::Card::Status]
235
- required :status, enum: -> { Lithic::Models::AccountActivityListResponse::Card::Status }
236
-
237
232
  # @!attribute updated
238
233
  # ISO 8601 timestamp of when the transaction was last updated
239
234
  #
240
235
  # @return [Time]
241
236
  required :updated, Time
242
237
 
243
- # @!method initialize(token:, created:, status:, updated:, family: :CARD)
238
+ # @!method initialize(token:, created:, updated:, family: :CARD)
244
239
  # Card transaction with ledger base properties
245
240
  #
246
241
  # @param token [String] Unique identifier for the transaction
247
242
  #
248
243
  # @param created [Time] ISO 8601 timestamp of when the transaction was created
249
244
  #
250
- # @param status [Symbol, Lithic::Models::AccountActivityListResponse::Card::Status] The status of the transaction
251
- #
252
245
  # @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
253
246
  #
254
247
  # @param family [Symbol, :CARD] CARD - Card Transaction
255
-
256
- # The status of the transaction
257
- module Status
258
- extend Lithic::Internal::Type::Enum
259
-
260
- PENDING = :PENDING
261
- SETTLED = :SETTLED
262
- DECLINED = :DECLINED
263
- REVERSED = :REVERSED
264
- CANCELED = :CANCELED
265
- RETURNED = :RETURNED
266
-
267
- # @!method self.values
268
- # @return [Array<Symbol>]
269
- end
270
248
  end
271
249
 
272
250
  # @!method self.variants
@@ -154,6 +154,7 @@ module Lithic
154
154
  ACH = :ACH
155
155
  WIRE = :WIRE
156
156
  STABLECOIN = :STABLECOIN
157
+ INTRA_BANK = :INTRA_BANK
157
158
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
158
159
  FEE = :FEE
159
160
  REWARD = :REWARD
@@ -231,45 +232,22 @@ module Lithic
231
232
  # @return [Symbol, :CARD]
232
233
  required :family, const: :CARD
233
234
 
234
- # @!attribute status
235
- # The status of the transaction
236
- #
237
- # @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status]
238
- required :status, enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status }
239
-
240
235
  # @!attribute updated
241
236
  # ISO 8601 timestamp of when the transaction was last updated
242
237
  #
243
238
  # @return [Time]
244
239
  required :updated, Time
245
240
 
246
- # @!method initialize(token:, created:, status:, updated:, family: :CARD)
241
+ # @!method initialize(token:, created:, updated:, family: :CARD)
247
242
  # Card transaction with ledger base properties
248
243
  #
249
244
  # @param token [String] Unique identifier for the transaction
250
245
  #
251
246
  # @param created [Time] ISO 8601 timestamp of when the transaction was created
252
247
  #
253
- # @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status] The status of the transaction
254
- #
255
248
  # @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
256
249
  #
257
250
  # @param family [Symbol, :CARD] CARD - Card Transaction
258
-
259
- # The status of the transaction
260
- module Status
261
- extend Lithic::Internal::Type::Enum
262
-
263
- PENDING = :PENDING
264
- SETTLED = :SETTLED
265
- DECLINED = :DECLINED
266
- REVERSED = :REVERSED
267
- CANCELED = :CANCELED
268
- RETURNED = :RETURNED
269
-
270
- # @!method self.values
271
- # @return [Array<Symbol>]
272
- end
273
251
  end
274
252
 
275
253
  # @!method self.variants
@@ -164,6 +164,7 @@ module Lithic
164
164
  COLLECTION = :COLLECTION
165
165
  LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
166
166
  BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
167
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
167
168
 
168
169
  # @!method self.values
169
170
  # @return [Array<Symbol>]
@@ -304,6 +304,7 @@ module Lithic
304
304
  COLLECTION = :COLLECTION
305
305
  LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
306
306
  BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
307
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
307
308
 
308
309
  # @!method self.values
309
310
  # @return [Array<Symbol>]
@@ -1005,6 +1005,7 @@ module Lithic
1005
1005
  module Network
1006
1006
  extend Lithic::Internal::Type::Enum
1007
1007
 
1008
+ ALLPOINT = :ALLPOINT
1008
1009
  AMEX = :AMEX
1009
1010
  INTERLINK = :INTERLINK
1010
1011
  MAESTRO = :MAESTRO
@@ -40,6 +40,12 @@ module Lithic
40
40
  # @return [String, nil]
41
41
  optional :ending_before, String
42
42
 
43
+ # @!attribute page_size
44
+ # Page size (for pagination).
45
+ #
46
+ # @return [Integer, nil]
47
+ optional :page_size, Integer
48
+
43
49
  # @!attribute result
44
50
  # Financial Transaction result to be returned.
45
51
  #
@@ -59,7 +65,7 @@ module Lithic
59
65
  # @return [Symbol, Lithic::Models::Cards::FinancialTransactionListParams::Status, nil]
60
66
  optional :status, enum: -> { Lithic::Cards::FinancialTransactionListParams::Status }
61
67
 
62
- # @!method initialize(card_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, result: nil, starting_after: nil, status: nil, request_options: {})
68
+ # @!method initialize(card_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
63
69
  # Some parameter documentations has been truncated, see
64
70
  # {Lithic::Models::Cards::FinancialTransactionListParams} for more details.
65
71
  #
@@ -73,6 +79,8 @@ module Lithic
73
79
  #
74
80
  # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
75
81
  #
82
+ # @param page_size [Integer] Page size (for pagination).
83
+ #
76
84
  # @param result [Symbol, Lithic::Models::Cards::FinancialTransactionListParams::Result] Financial Transaction result to be returned.
77
85
  #
78
86
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
@@ -59,6 +59,15 @@ module Lithic
59
59
  # @return [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Reason]
60
60
  required :reason, enum: -> { Lithic::ClaimCreatedWebhookEvent::Reason }
61
61
 
62
+ # @!attribute reference_id
63
+ # Identifier for the claim as displayed in the Lithic dashboard. Populated
64
+ # depending on your program's setup, null otherwise. Use it to match claims
65
+ # received through the API and webhooks to the dashboard. This is not the claim
66
+ # `token`, which is the identifier to use in API requests
67
+ #
68
+ # @return [String, nil]
69
+ required :reference_id, String, nil?: true
70
+
62
71
  # @!attribute status
63
72
  # Current lifecycle status of the claim
64
73
  #
@@ -77,7 +86,10 @@ module Lithic
77
86
  # @return [Time]
78
87
  required :updated, Time
79
88
 
80
- # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, status:, submitted:, updated:, event_type: :"claim.created")
89
+ # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, reference_id:, status:, submitted:, updated:, event_type: :"claim.created")
90
+ # Some parameter documentations has been truncated, see
91
+ # {Lithic::Models::ClaimCreatedWebhookEvent} for more details.
92
+ #
81
93
  # @param token [String] Unique identifier for the claim, in UUID format
82
94
  #
83
95
  # @param account_holder_token [String, nil] Token for the account holder that filed the claim
@@ -94,6 +106,8 @@ module Lithic
94
106
  #
95
107
  # @param reason [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Reason] Dispute reason code provided when creating the claim
96
108
  #
109
+ # @param reference_id [String, nil] Identifier for the claim as displayed in the Lithic dashboard. Populated dependi
110
+ #
97
111
  # @param status [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Status] Current lifecycle status of the claim
98
112
  #
99
113
  # @param submitted [Time, nil] When the claim was submitted. Null until the claim reaches `SUBMITTED` status
@@ -59,6 +59,15 @@ module Lithic
59
59
  # @return [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Reason]
60
60
  required :reason, enum: -> { Lithic::ClaimUpdatedWebhookEvent::Reason }
61
61
 
62
+ # @!attribute reference_id
63
+ # Identifier for the claim as displayed in the Lithic dashboard. Populated
64
+ # depending on your program's setup, null otherwise. Use it to match claims
65
+ # received through the API and webhooks to the dashboard. This is not the claim
66
+ # `token`, which is the identifier to use in API requests
67
+ #
68
+ # @return [String, nil]
69
+ required :reference_id, String, nil?: true
70
+
62
71
  # @!attribute status
63
72
  # Current lifecycle status of the claim
64
73
  #
@@ -77,7 +86,10 @@ module Lithic
77
86
  # @return [Time]
78
87
  required :updated, Time
79
88
 
80
- # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, status:, submitted:, updated:, event_type: :"claim.updated")
89
+ # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, reference_id:, status:, submitted:, updated:, event_type: :"claim.updated")
90
+ # Some parameter documentations has been truncated, see
91
+ # {Lithic::Models::ClaimUpdatedWebhookEvent} for more details.
92
+ #
81
93
  # @param token [String] Unique identifier for the claim, in UUID format
82
94
  #
83
95
  # @param account_holder_token [String, nil] Token for the account holder that filed the claim
@@ -94,6 +106,8 @@ module Lithic
94
106
  #
95
107
  # @param reason [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Reason] Dispute reason code provided when creating the claim
96
108
  #
109
+ # @param reference_id [String, nil] Identifier for the claim as displayed in the Lithic dashboard. Populated dependi
110
+ #
97
111
  # @param status [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Status] Current lifecycle status of the claim
98
112
  #
99
113
  # @param submitted [Time, nil] When the claim was submitted. Null until the claim reaches `SUBMITTED` status
@@ -31,15 +31,15 @@ module Lithic
31
31
  # Globally unique identifier for the last financial transaction event that
32
32
  # impacted this balance.
33
33
  #
34
- # @return [String]
35
- required :last_transaction_event_token, String
34
+ # @return [String, nil]
35
+ required :last_transaction_event_token, String, nil?: true
36
36
 
37
37
  # @!attribute last_transaction_token
38
38
  # Globally unique identifier for the last financial transaction that impacted this
39
39
  # balance.
40
40
  #
41
- # @return [String]
42
- required :last_transaction_token, String
41
+ # @return [String, nil]
42
+ required :last_transaction_token, String, nil?: true
43
43
 
44
44
  # @!attribute pending_amount
45
45
  # Funds not available for spend due to card authorizations or pending ACH release.
@@ -81,9 +81,9 @@ module Lithic
81
81
  #
82
82
  # @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
83
83
  #
84
- # @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
84
+ # @param last_transaction_event_token [String, nil] Globally unique identifier for the last financial transaction event that impacte
85
85
  #
86
- # @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
86
+ # @param last_transaction_token [String, nil] Globally unique identifier for the last financial transaction that impacted this
87
87
  #
88
88
  # @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
89
89
  #
@@ -25,7 +25,10 @@ module Lithic
25
25
  optional :credit_limit, Integer
26
26
 
27
27
  # @!attribute credit_product_token
28
- # Globally unique identifier for the credit product
28
+ # Globally unique identifier for the credit product. This can only be set while
29
+ # the financial account is in the `PENDING` state. Because assigning a credit
30
+ # product transitions the account to `OPEN`, a credit product can be attached only
31
+ # once; updating it on an account in any other state returns a `403`
29
32
  #
30
33
  # @return [String, nil]
31
34
  optional :credit_product_token, String
@@ -42,13 +45,17 @@ module Lithic
42
45
  optional :tier, String
43
46
 
44
47
  # @!method initialize(financial_account_token:, auto_collection_configuration: nil, credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
48
+ # Some parameter documentations has been truncated, see
49
+ # {Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams} for more
50
+ # details.
51
+ #
45
52
  # @param financial_account_token [String]
46
53
  #
47
54
  # @param auto_collection_configuration [Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration]
48
55
  #
49
56
  # @param credit_limit [Integer]
50
57
  #
51
- # @param credit_product_token [String] Globally unique identifier for the credit product
58
+ # @param credit_product_token [String] Globally unique identifier for the credit product. This can only be set
52
59
  #
53
60
  # @param external_bank_account_token [String]
54
61
  #
@@ -40,6 +40,12 @@ module Lithic
40
40
  # @return [String, nil]
41
41
  optional :ending_before, String
42
42
 
43
+ # @!attribute page_size
44
+ # Page size (for pagination).
45
+ #
46
+ # @return [Integer, nil]
47
+ optional :page_size, Integer
48
+
43
49
  # @!attribute result
44
50
  # Financial Transaction result to be returned.
45
51
  #
@@ -59,7 +65,7 @@ module Lithic
59
65
  # @return [Symbol, Lithic::Models::FinancialAccounts::FinancialTransactionListParams::Status, nil]
60
66
  optional :status, enum: -> { Lithic::FinancialAccounts::FinancialTransactionListParams::Status }
61
67
 
62
- # @!method initialize(financial_account_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, result: nil, starting_after: nil, status: nil, request_options: {})
68
+ # @!method initialize(financial_account_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
63
69
  # Some parameter documentations has been truncated, see
64
70
  # {Lithic::Models::FinancialAccounts::FinancialTransactionListParams} for more
65
71
  # details.
@@ -74,6 +80,8 @@ module Lithic
74
80
  #
75
81
  # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
76
82
  #
83
+ # @param page_size [Integer] Page size (for pagination).
84
+ #
77
85
  # @param result [Symbol, Lithic::Models::FinancialAccounts::FinancialTransactionListParams::Result] Financial Transaction result to be returned.
78
86
  #
79
87
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
@@ -21,20 +21,20 @@ module Lithic
21
21
  # Custom rates per category for penalties
22
22
  #
23
23
  # @return [Object, nil]
24
- optional :penalty_rates, Lithic::Internal::Type::Unknown
24
+ optional :penalty_rates, Lithic::Internal::Type::Unknown, nil?: true
25
25
 
26
26
  # @!attribute tier_name
27
27
  # Name of a tier contained in the credit product. Mutually exclusive with
28
28
  # tier_rates
29
29
  #
30
30
  # @return [String, nil]
31
- optional :tier_name, String
31
+ optional :tier_name, String, nil?: true
32
32
 
33
33
  # @!attribute tier_rates
34
34
  # Custom rates per category. Mutually exclusive with tier_name
35
35
  #
36
36
  # @return [Object, nil]
37
- optional :tier_rates, Lithic::Internal::Type::Unknown
37
+ optional :tier_rates, Lithic::Internal::Type::Unknown, nil?: true
38
38
 
39
39
  # @!method initialize(credit_product_token:, effective_date:, penalty_rates: nil, tier_name: nil, tier_rates: nil)
40
40
  # Some parameter documentations has been truncated, see
@@ -47,11 +47,11 @@ module Lithic
47
47
  #
48
48
  # @param effective_date [Date] Date the tier should be effective in YYYY-MM-DD format
49
49
  #
50
- # @param penalty_rates [Object] Custom rates per category for penalties
50
+ # @param penalty_rates [Object, nil] Custom rates per category for penalties
51
51
  #
52
- # @param tier_name [String] Name of a tier contained in the credit product. Mutually exclusive with tier_rat
52
+ # @param tier_name [String, nil] Name of a tier contained in the credit product. Mutually exclusive with tier_rat
53
53
  #
54
- # @param tier_rates [Object] Custom rates per category. Mutually exclusive with tier_name
54
+ # @param tier_rates [Object, nil] Custom rates per category. Mutually exclusive with tier_name
55
55
  end
56
56
  end
57
57
  end
@@ -22,20 +22,20 @@ module Lithic
22
22
  # Custom rates per category for penalties
23
23
  #
24
24
  # @return [Object, nil]
25
- optional :penalty_rates, Lithic::Internal::Type::Unknown
25
+ optional :penalty_rates, Lithic::Internal::Type::Unknown, nil?: true
26
26
 
27
27
  # @!attribute tier_name
28
28
  # Name of a tier contained in the credit product. Mutually exclusive with
29
29
  # tier_rates
30
30
  #
31
31
  # @return [String, nil]
32
- optional :tier_name, String
32
+ optional :tier_name, String, nil?: true
33
33
 
34
34
  # @!attribute tier_rates
35
35
  # Custom rates per category. Mutually exclusive with tier_name
36
36
  #
37
37
  # @return [Object, nil]
38
- optional :tier_rates, Lithic::Internal::Type::Unknown
38
+ optional :tier_rates, Lithic::Internal::Type::Unknown, nil?: true
39
39
 
40
40
  # @!method initialize(financial_account_token:, effective_date:, penalty_rates: nil, tier_name: nil, tier_rates: nil, request_options: {})
41
41
  # Some parameter documentations has been truncated, see
@@ -46,11 +46,11 @@ module Lithic
46
46
  #
47
47
  # @param effective_date [Date]
48
48
  #
49
- # @param penalty_rates [Object] Custom rates per category for penalties
49
+ # @param penalty_rates [Object, nil] Custom rates per category for penalties
50
50
  #
51
- # @param tier_name [String] Name of a tier contained in the credit product. Mutually exclusive with tier_rat
51
+ # @param tier_name [String, nil] Name of a tier contained in the credit product. Mutually exclusive with tier_rat
52
52
  #
53
- # @param tier_rates [Object] Custom rates per category. Mutually exclusive with tier_name
53
+ # @param tier_rates [Object, nil] Custom rates per category. Mutually exclusive with tier_name
54
54
  #
55
55
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
56
56
  end
@@ -366,7 +366,13 @@ module Lithic
366
366
  # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
367
367
  required :past_statements_due, -> { Lithic::FinancialAccounts::CategoryBalances }
368
368
 
369
- # @!method initialize(due:, next_statement_due:, past_due:, past_statements_due:)
369
+ # @!attribute installments
370
+ # Amounts converted into installment plans
371
+ #
372
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances, nil]
373
+ optional :installments, -> { Lithic::FinancialAccounts::CategoryBalances }, nil?: true
374
+
375
+ # @!method initialize(due:, next_statement_due:, past_due:, past_statements_due:, installments: nil)
370
376
  # Some parameter documentations has been truncated, see
371
377
  # {Lithic::Models::FinancialAccounts::LoanTape::Balances} for more details.
372
378
  #
@@ -377,6 +383,8 @@ module Lithic
377
383
  # @param past_due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount not paid off on previous due dates
378
384
  #
379
385
  # @param past_statements_due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount due for the past billing cycles.
386
+ #
387
+ # @param installments [Lithic::Models::FinancialAccounts::CategoryBalances, nil] Amounts converted into installment plans
380
388
  end
381
389
 
382
390
  # @see Lithic::Models::FinancialAccounts::LoanTape#interest_details
@@ -151,6 +151,7 @@ module Lithic
151
151
  ACH = :ACH
152
152
  WIRE = :WIRE
153
153
  STABLECOIN = :STABLECOIN
154
+ INTRA_BANK = :INTRA_BANK
154
155
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
155
156
  FEE = :FEE
156
157
  REWARD = :REWARD
@@ -259,6 +260,9 @@ module Lithic
259
260
  INTEREST = :INTEREST
260
261
  INTEREST_REVERSAL = :INTEREST_REVERSAL
261
262
  INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
263
+ INTRA_BANK_CANCELED = :INTRA_BANK_CANCELED
264
+ INTRA_BANK_INITIATED = :INTRA_BANK_INITIATED
265
+ INTRA_BANK_SETTLED = :INTRA_BANK_SETTLED
262
266
  LATE_PAYMENT = :LATE_PAYMENT
263
267
  LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
264
268
  LOSS_WRITE_OFF = :LOSS_WRITE_OFF
@@ -287,6 +291,7 @@ module Lithic
287
291
  STABLECOIN_SENT = :STABLECOIN_SENT
288
292
  STABLECOIN_SETTLED = :STABLECOIN_SETTLED
289
293
  STABLECOIN_REJECTED = :STABLECOIN_REJECTED
294
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
290
295
 
291
296
  # @!method self.values
292
297
  # @return [Array<Symbol>]
@@ -145,6 +145,9 @@ module Lithic
145
145
  INTEREST = :INTEREST
146
146
  INTEREST_REVERSAL = :INTEREST_REVERSAL
147
147
  INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
148
+ INTRA_BANK_CANCELED = :INTRA_BANK_CANCELED
149
+ INTRA_BANK_INITIATED = :INTRA_BANK_INITIATED
150
+ INTRA_BANK_SETTLED = :INTRA_BANK_SETTLED
148
151
  LATE_PAYMENT = :LATE_PAYMENT
149
152
  LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
150
153
  LOSS_WRITE_OFF = :LOSS_WRITE_OFF
@@ -173,6 +176,7 @@ module Lithic
173
176
  STABLECOIN_SENT = :STABLECOIN_SENT
174
177
  STABLECOIN_SETTLED = :STABLECOIN_SETTLED
175
178
  STABLECOIN_REJECTED = :STABLECOIN_REJECTED
179
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
176
180
 
177
181
  # @!method self.values
178
182
  # @return [Array<Symbol>]
@@ -7,6 +7,20 @@ module Lithic
7
7
  extend Lithic::Internal::Type::RequestParameters::Converter
8
8
  include Lithic::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute begin_
11
+ # Date string in RFC 3339 format. Only entries created after the specified time
12
+ # will be included. UTC time zone.
13
+ #
14
+ # @return [Time, nil]
15
+ optional :begin_, Time
16
+
17
+ # @!attribute end_
18
+ # Date string in RFC 3339 format. Only entries created before the specified time
19
+ # will be included. UTC time zone.
20
+ #
21
+ # @return [Time, nil]
22
+ optional :end_, Time
23
+
10
24
  # @!attribute ending_before
11
25
  # A cursor representing an item's token before which a page of results should end.
12
26
  # Used to retrieve the previous page of results before this item.
@@ -14,6 +28,13 @@ module Lithic
14
28
  # @return [String, nil]
15
29
  optional :ending_before, String
16
30
 
31
+ # @!attribute network_settlement_date
32
+ # Only funding events with a settlement breakout for this network settlement date
33
+ # will be included.
34
+ #
35
+ # @return [Date, nil]
36
+ optional :network_settlement_date, Date
37
+
17
38
  # @!attribute page_size
18
39
  # Page size (for pagination).
19
40
  #
@@ -27,12 +48,18 @@ module Lithic
27
48
  # @return [String, nil]
28
49
  optional :starting_after, String
29
50
 
30
- # @!method initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
51
+ # @!method initialize(begin_: nil, end_: nil, ending_before: nil, network_settlement_date: nil, page_size: nil, starting_after: nil, request_options: {})
31
52
  # Some parameter documentations has been truncated, see
32
53
  # {Lithic::Models::FundingEventListParams} for more details.
33
54
  #
55
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
56
+ #
57
+ # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
58
+ #
34
59
  # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
35
60
  #
61
+ # @param network_settlement_date [Date] Only funding events with a settlement breakout for this network settlement date
62
+ #
36
63
  # @param page_size [Integer] Page size (for pagination).
37
64
  #
38
65
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin