lithic 0.20.0 → 0.21.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +1 -1
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +5 -0
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +9 -0
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment.rb +1 -0
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/transaction.rb +2 -0
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/blockchain_recipients.rb +23 -0
- data/lib/lithic/resources/cards.rb +4 -2
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +82 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +13 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +7 -0
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +35 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment.rbi +2 -0
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/transaction.rbi +10 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
- data/rbi/lithic/resources/cards.rbi +4 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +66 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +18 -0
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +24 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +41 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e9f6ed3184bfb671fac6deab7e1e5a01108b92a3f4adc97e15bd4539c5d69d1
|
|
4
|
+
data.tar.gz: d9f0cd5fa590316ed27b0de33185eff8342f2fa4e885720f6648d4f871d8ef5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9958c2f72d732e9b67960ffc80a089edf988feaaed6347d6946c4efa56aae6898d549507dfa3921b5399d2d099a0fa3bc204b8c4967a4ebf11b4e6494cdb56b1
|
|
7
|
+
data.tar.gz: ea002ba56ac10e779df7971feea5b3b6b752b3172feaf69e22abf4248df595b4574e17af419b6f690156b1c0f3663cf81b4a3f43da79eb24b3ef2de02eac4fc1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.0 (2026-09-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/lithic-com/lithic-ruby/compare/v0.20.0...v0.21.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* [CARDS-5174] Add reiusse/renew 409 error ([2fc8f3b](https://github.com/lithic-com/lithic-ruby/commit/2fc8f3b93ff2e392d8eda8e343d21e423c214191))
|
|
10
|
+
* [TRE-14464] Update /retry payments endpoint to accept method ([6031d67](https://github.com/lithic-com/lithic-ruby/commit/6031d6794afd8c3a4b121cf2f7368e0ac40867c0))
|
|
11
|
+
* [TRE-14524] Add Open to buy API spec ([bdf043e](https://github.com/lithic-com/lithic-ruby/commit/bdf043e53ac45964c091134b25fb7a3023948397))
|
|
12
|
+
* Add missing blockchain/stablecoin endpoints to the spec ([3e8c0dc](https://github.com/lithic-com/lithic-ruby/commit/3e8c0dcdaa7169ba0a47bea4493e71d778af8853))
|
|
13
|
+
* **api:** add EXTERNAL_STABLECOIN category and events to payment resources ([518aebb](https://github.com/lithic-com/lithic-ruby/commit/518aebb0cf94cbc0b1ca1ef85a94a71c5bf1983e))
|
|
14
|
+
* **api:** add FEE/FEE_REVERSAL to financial_event, statement_line_items, management_operation ([04690f1](https://github.com/lithic-com/lithic-ruby/commit/04690f1542cb3f213da8695507a371c4f0a5aed4))
|
|
15
|
+
* **api:** add OTHER enum value to auth_rules type field ([1bb4cc8](https://github.com/lithic-com/lithic-ruby/commit/1bb4cc80ab6e025ebf0d6fcdd88c5b62cbb602a0))
|
|
16
|
+
* **api:** add psd2_context field to three_ds_authentication ([19e526e](https://github.com/lithic-com/lithic-ruby/commit/19e526e916227881e91ac1dac42e75d86132451e))
|
|
17
|
+
* **api:** add retrieve/list methods to financial_accounts installment_plans ([13b25f3](https://github.com/lithic-com/lithic-ruby/commit/13b25f3cef123eedc918ab5730aacb64114175fe))
|
|
18
|
+
* **api:** add STABLECOIN_REVIEWED event type to payment simulate action ([766c658](https://github.com/lithic-com/lithic-ruby/commit/766c658645a79accfca85707ce6d5c087d93959e))
|
|
19
|
+
* AUTH-3759: Add DECLINE_SCA_REQUIRED and SCA_REQUIRED enum entries ([e784b27](https://github.com/lithic-com/lithic-ruby/commit/e784b275c2690eb0d2ab4a36a3ee9f5af2f79b0b))
|
|
20
|
+
* TRE-14349: add installment plan management operation event types ([bd71bde](https://github.com/lithic-com/lithic-ruby/commit/bd71bde5d20641e236b5b2e95908293bf0ef48e9))
|
|
21
|
+
* TRE-14429: Document the stablecoin payments endpoint ([050c7bd](https://github.com/lithic-com/lithic-ruby/commit/050c7bdd679e3c090c6e1819c0aa3405e3cbfc0c))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
* Document the card.pin_updated webhook ([b96e92e](https://github.com/lithic-com/lithic-ruby/commit/b96e92e36fa4ae4dab543d1cc639d807f810b967))
|
|
27
|
+
|
|
3
28
|
## 0.20.0 (2026-08-31)
|
|
4
29
|
|
|
5
30
|
Full Changelog: [v0.19.0...v0.20.0](https://github.com/lithic-com/lithic-ruby/compare/v0.19.0...v0.20.0)
|
data/README.md
CHANGED
|
@@ -123,6 +123,7 @@ module Lithic
|
|
|
123
123
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
124
124
|
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
125
125
|
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
126
|
+
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
|
|
126
127
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
127
128
|
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
128
129
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
|
@@ -162,6 +162,7 @@ module Lithic
|
|
|
162
162
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
163
163
|
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
164
164
|
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
165
|
+
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
|
|
165
166
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
166
167
|
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
167
168
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
|
@@ -165,6 +165,7 @@ module Lithic
|
|
|
165
165
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
166
166
|
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
167
167
|
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
168
|
+
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
|
|
168
169
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
169
170
|
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
170
171
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
|
@@ -86,6 +86,8 @@ module Lithic
|
|
|
86
86
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
87
87
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
88
88
|
# ACH_PAYMENT_UPDATE event stream.
|
|
89
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
90
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
89
91
|
#
|
|
90
92
|
# @return [Symbol, Lithic::Models::AuthRules::AuthRule::Type]
|
|
91
93
|
required :type, enum: -> { Lithic::AuthRules::AuthRule::Type }
|
|
@@ -339,6 +341,8 @@ module Lithic
|
|
|
339
341
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
340
342
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
341
343
|
# ACH_PAYMENT_UPDATE event stream.
|
|
344
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
345
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
342
346
|
#
|
|
343
347
|
# @see Lithic::Models::AuthRules::AuthRule#type
|
|
344
348
|
module Type
|
|
@@ -349,6 +353,7 @@ module Lithic
|
|
|
349
353
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
350
354
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
351
355
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
356
|
+
OTHER = :OTHER
|
|
352
357
|
|
|
353
358
|
# @!method self.values
|
|
354
359
|
# @return [Array<Symbol>]
|
|
@@ -166,6 +166,7 @@ module Lithic
|
|
|
166
166
|
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
|
167
167
|
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
|
168
168
|
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
|
169
|
+
SCA_REQUIRED = :SCA_REQUIRED
|
|
169
170
|
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
|
170
171
|
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
|
171
172
|
SUSPECTED_FRAUD = :SUSPECTED_FRAUD
|
|
@@ -49,6 +49,8 @@ module Lithic
|
|
|
49
49
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
50
50
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
51
51
|
# ACH_PAYMENT_UPDATE event stream.
|
|
52
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
53
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
52
54
|
#
|
|
53
55
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule::Type]
|
|
54
56
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type }
|
|
@@ -143,6 +145,8 @@ module Lithic
|
|
|
143
145
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
144
146
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
145
147
|
# ACH_PAYMENT_UPDATE event stream.
|
|
148
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
149
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
146
150
|
#
|
|
147
151
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule#type
|
|
148
152
|
module Type
|
|
@@ -153,6 +157,7 @@ module Lithic
|
|
|
153
157
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
154
158
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
155
159
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
160
|
+
OTHER = :OTHER
|
|
156
161
|
|
|
157
162
|
# @!method self.values
|
|
158
163
|
# @return [Array<Symbol>]
|
|
@@ -188,6 +193,8 @@ module Lithic
|
|
|
188
193
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
189
194
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
190
195
|
# ACH_PAYMENT_UPDATE event stream.
|
|
196
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
197
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
191
198
|
#
|
|
192
199
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule::Type]
|
|
193
200
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type }
|
|
@@ -268,6 +275,8 @@ module Lithic
|
|
|
268
275
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
269
276
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
270
277
|
# ACH_PAYMENT_UPDATE event stream.
|
|
278
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
279
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
271
280
|
#
|
|
272
281
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule#type
|
|
273
282
|
module Type
|
|
@@ -278,6 +287,7 @@ module Lithic
|
|
|
278
287
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
279
288
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
280
289
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
290
|
+
OTHER = :OTHER
|
|
281
291
|
|
|
282
292
|
# @!method self.values
|
|
283
293
|
# @return [Array<Symbol>]
|
|
@@ -313,6 +323,8 @@ module Lithic
|
|
|
313
323
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
314
324
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
315
325
|
# ACH_PAYMENT_UPDATE event stream.
|
|
326
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
327
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
316
328
|
#
|
|
317
329
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type]
|
|
318
330
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type }
|
|
@@ -417,6 +429,8 @@ module Lithic
|
|
|
417
429
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
418
430
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
419
431
|
# ACH_PAYMENT_UPDATE event stream.
|
|
432
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
433
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
420
434
|
#
|
|
421
435
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule#type
|
|
422
436
|
module Type
|
|
@@ -427,6 +441,7 @@ module Lithic
|
|
|
427
441
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
428
442
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
429
443
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
444
|
+
OTHER = :OTHER
|
|
430
445
|
|
|
431
446
|
# @!method self.values
|
|
432
447
|
# @return [Array<Symbol>]
|
|
@@ -182,6 +182,7 @@ module Lithic
|
|
|
182
182
|
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
|
183
183
|
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
|
184
184
|
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
|
185
|
+
SCA_REQUIRED = :SCA_REQUIRED
|
|
185
186
|
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
|
186
187
|
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
|
187
188
|
SUSPECTED_FRAUD = :SUSPECTED_FRAUD
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::BlockchainRecipients#retrieve
|
|
6
|
+
class BlockchainRecipientRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute blockchain_recipient_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :blockchain_recipient_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(blockchain_recipient_token:, request_options: {})
|
|
16
|
+
# @param blockchain_recipient_token [String]
|
|
17
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardPinUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute card_token
|
|
7
|
+
# The token of the card whose PIN or PIN status was updated
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :card_token, String
|
|
11
|
+
|
|
12
|
+
# @!attribute event_type
|
|
13
|
+
# The type of event that occurred.
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :"card.pin_updated"]
|
|
16
|
+
required :event_type, const: :"card.pin_updated"
|
|
17
|
+
|
|
18
|
+
# @!attribute pin_status
|
|
19
|
+
# The card's PIN status after the update
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus]
|
|
22
|
+
required :pin_status, enum: -> { Lithic::CardPinUpdatedWebhookEvent::PinStatus }
|
|
23
|
+
|
|
24
|
+
# @!attribute status_reason
|
|
25
|
+
# The reason for the PIN update:
|
|
26
|
+
#
|
|
27
|
+
# - `PIN_SET` - The PIN was set for the first time; `pin_status` is `OK`
|
|
28
|
+
# - `PIN_CHANGED` - The PIN was changed, including when changing a blocked PIN;
|
|
29
|
+
# `pin_status` is `OK`
|
|
30
|
+
# - `PIN_UNBLOCKED` - The PIN was unblocked without changing it; `pin_status` is
|
|
31
|
+
# `OK`
|
|
32
|
+
# - `EXCESSIVE_PIN_ATTEMPTS` - The PIN was blocked due to excessive incorrect PIN
|
|
33
|
+
# attempts; `pin_status` is `BLOCKED`
|
|
34
|
+
#
|
|
35
|
+
# @return [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason]
|
|
36
|
+
required :status_reason, enum: -> { Lithic::CardPinUpdatedWebhookEvent::StatusReason }
|
|
37
|
+
|
|
38
|
+
# @!method initialize(card_token:, pin_status:, status_reason:, event_type: :"card.pin_updated")
|
|
39
|
+
# Some parameter documentations has been truncated, see
|
|
40
|
+
# {Lithic::Models::CardPinUpdatedWebhookEvent} for more details.
|
|
41
|
+
#
|
|
42
|
+
# @param card_token [String] The token of the card whose PIN or PIN status was updated
|
|
43
|
+
#
|
|
44
|
+
# @param pin_status [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus] The card's PIN status after the update
|
|
45
|
+
#
|
|
46
|
+
# @param status_reason [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason] The reason for the PIN update:
|
|
47
|
+
#
|
|
48
|
+
# @param event_type [Symbol, :"card.pin_updated"] The type of event that occurred.
|
|
49
|
+
|
|
50
|
+
# The card's PIN status after the update
|
|
51
|
+
#
|
|
52
|
+
# @see Lithic::Models::CardPinUpdatedWebhookEvent#pin_status
|
|
53
|
+
module PinStatus
|
|
54
|
+
extend Lithic::Internal::Type::Enum
|
|
55
|
+
|
|
56
|
+
OK = :OK
|
|
57
|
+
BLOCKED = :BLOCKED
|
|
58
|
+
|
|
59
|
+
# @!method self.values
|
|
60
|
+
# @return [Array<Symbol>]
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# The reason for the PIN update:
|
|
64
|
+
#
|
|
65
|
+
# - `PIN_SET` - The PIN was set for the first time; `pin_status` is `OK`
|
|
66
|
+
# - `PIN_CHANGED` - The PIN was changed, including when changing a blocked PIN;
|
|
67
|
+
# `pin_status` is `OK`
|
|
68
|
+
# - `PIN_UNBLOCKED` - The PIN was unblocked without changing it; `pin_status` is
|
|
69
|
+
# `OK`
|
|
70
|
+
# - `EXCESSIVE_PIN_ATTEMPTS` - The PIN was blocked due to excessive incorrect PIN
|
|
71
|
+
# attempts; `pin_status` is `BLOCKED`
|
|
72
|
+
#
|
|
73
|
+
# @see Lithic::Models::CardPinUpdatedWebhookEvent#status_reason
|
|
74
|
+
module StatusReason
|
|
75
|
+
extend Lithic::Internal::Type::Enum
|
|
76
|
+
|
|
77
|
+
PIN_SET = :PIN_SET
|
|
78
|
+
PIN_CHANGED = :PIN_CHANGED
|
|
79
|
+
PIN_UNBLOCKED = :PIN_UNBLOCKED
|
|
80
|
+
EXCESSIVE_PIN_ATTEMPTS = :EXCESSIVE_PIN_ATTEMPTS
|
|
81
|
+
|
|
82
|
+
# @!method self.values
|
|
83
|
+
# @return [Array<Symbol>]
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
data/lib/lithic/models/event.rb
CHANGED
|
@@ -47,6 +47,8 @@ module Lithic
|
|
|
47
47
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
48
48
|
# cards.
|
|
49
49
|
# - card.created: Occurs when a new card is created.
|
|
50
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
51
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
50
52
|
# - card.reissued: Occurs when a card is reissued.
|
|
51
53
|
# - card.renewed: Occurs when a card is renewed.
|
|
52
54
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -198,6 +200,8 @@ module Lithic
|
|
|
198
200
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
199
201
|
# cards.
|
|
200
202
|
# - card.created: Occurs when a new card is created.
|
|
203
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
204
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
201
205
|
# - card.reissued: Occurs when a card is reissued.
|
|
202
206
|
# - card.renewed: Occurs when a card is renewed.
|
|
203
207
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -318,6 +322,7 @@ module Lithic
|
|
|
318
322
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
319
323
|
CARD_CONVERTED = :"card.converted"
|
|
320
324
|
CARD_CREATED = :"card.created"
|
|
325
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
321
326
|
CARD_REISSUED = :"card.reissued"
|
|
322
327
|
CARD_RENEWED = :"card.renewed"
|
|
323
328
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -101,6 +101,8 @@ module Lithic
|
|
|
101
101
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
102
102
|
# cards.
|
|
103
103
|
# - card.created: Occurs when a new card is created.
|
|
104
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
105
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
104
106
|
# - card.reissued: Occurs when a card is reissued.
|
|
105
107
|
# - card.renewed: Occurs when a card is renewed.
|
|
106
108
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -219,6 +221,7 @@ module Lithic
|
|
|
219
221
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
220
222
|
CARD_CONVERTED = :"card.converted"
|
|
221
223
|
CARD_CREATED = :"card.created"
|
|
224
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
222
225
|
CARD_REISSUED = :"card.reissued"
|
|
223
226
|
CARD_RENEWED = :"card.renewed"
|
|
224
227
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -74,6 +74,8 @@ module Lithic
|
|
|
74
74
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
75
75
|
# cards.
|
|
76
76
|
# - card.created: Occurs when a new card is created.
|
|
77
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
78
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
77
79
|
# - card.reissued: Occurs when a card is reissued.
|
|
78
80
|
# - card.renewed: Occurs when a card is renewed.
|
|
79
81
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -192,6 +194,7 @@ module Lithic
|
|
|
192
194
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
193
195
|
CARD_CONVERTED = :"card.converted"
|
|
194
196
|
CARD_CREATED = :"card.created"
|
|
197
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
195
198
|
CARD_REISSUED = :"card.reissued"
|
|
196
199
|
CARD_RENEWED = :"card.renewed"
|
|
197
200
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -76,6 +76,8 @@ module Lithic
|
|
|
76
76
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
77
77
|
# cards.
|
|
78
78
|
# - card.created: Occurs when a new card is created.
|
|
79
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
80
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
79
81
|
# - card.reissued: Occurs when a card is reissued.
|
|
80
82
|
# - card.renewed: Occurs when a card is renewed.
|
|
81
83
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -194,6 +196,7 @@ module Lithic
|
|
|
194
196
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
195
197
|
CARD_CONVERTED = :"card.converted"
|
|
196
198
|
CARD_CREATED = :"card.created"
|
|
199
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
197
200
|
CARD_REISSUED = :"card.reissued"
|
|
198
201
|
CARD_RENEWED = :"card.renewed"
|
|
199
202
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -45,6 +45,7 @@ module Lithic
|
|
|
45
45
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
46
46
|
CARD_CONVERTED = :"card.converted"
|
|
47
47
|
CARD_CREATED = :"card.created"
|
|
48
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
48
49
|
CARD_REISSUED = :"card.reissued"
|
|
49
50
|
CARD_RENEWED = :"card.renewed"
|
|
50
51
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -83,6 +83,8 @@ module Lithic
|
|
|
83
83
|
# - card.converted: Occurs when a card is converted from virtual to physical
|
|
84
84
|
# cards.
|
|
85
85
|
# - card.created: Occurs when a new card is created.
|
|
86
|
+
# - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
|
|
87
|
+
# blocked due to excessive incorrect PIN attempts.
|
|
86
88
|
# - card.reissued: Occurs when a card is reissued.
|
|
87
89
|
# - card.renewed: Occurs when a card is renewed.
|
|
88
90
|
# - card.shipped: Occurs when a card is shipped.
|
|
@@ -201,6 +203,7 @@ module Lithic
|
|
|
201
203
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
202
204
|
CARD_CONVERTED = :"card.converted"
|
|
203
205
|
CARD_CREATED = :"card.created"
|
|
206
|
+
CARD_PIN_UPDATED = :"card.pin_updated"
|
|
204
207
|
CARD_REISSUED = :"card.reissued"
|
|
205
208
|
CARD_RENEWED = :"card.renewed"
|
|
206
209
|
CARD_SHIPPED = :"card.shipped"
|
|
@@ -134,6 +134,7 @@ module Lithic
|
|
|
134
134
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
135
135
|
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
136
136
|
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
137
|
+
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
|
|
137
138
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
138
139
|
|
|
139
140
|
# @!method self.values
|
|
@@ -247,6 +248,11 @@ module Lithic
|
|
|
247
248
|
EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
|
|
248
249
|
EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
|
|
249
250
|
EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
|
|
251
|
+
EXTERNAL_STABLECOIN_INITIATED = :EXTERNAL_STABLECOIN_INITIATED
|
|
252
|
+
EXTERNAL_STABLECOIN_CANCELED = :EXTERNAL_STABLECOIN_CANCELED
|
|
253
|
+
EXTERNAL_STABLECOIN_SETTLED = :EXTERNAL_STABLECOIN_SETTLED
|
|
254
|
+
EXTERNAL_STABLECOIN_REVERSED = :EXTERNAL_STABLECOIN_REVERSED
|
|
255
|
+
EXTERNAL_STABLECOIN_RELEASED = :EXTERNAL_STABLECOIN_RELEASED
|
|
250
256
|
|
|
251
257
|
# @!method self.values
|
|
252
258
|
# @return [Array<Symbol>]
|