lithic 0.18.1 → 0.20.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 +66 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +2 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
- data/lib/lithic/models/blockchain_recipient.rb +148 -0
- data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
- data/lib/lithic/models/book_transfer_create_params.rb +4 -0
- data/lib/lithic/models/book_transfer_list_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +4 -0
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +10 -8
- data/lib/lithic/models/card_reassign_account_params.rb +29 -0
- data/lib/lithic/models/dispute_v2.rb +178 -130
- data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
- data/lib/lithic/models/embed_session_generated_webhook_event.rb +83 -0
- data/lib/lithic/models/embed_viewed_webhook_event.rb +85 -0
- data/lib/lithic/models/event.rb +44 -12
- data/lib/lithic/models/event_list_params.rb +23 -6
- data/lib/lithic/models/event_subscription.rb +23 -6
- data/lib/lithic/models/events/subscription_create_params.rb +23 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +23 -6
- data/lib/lithic/models/external_payment_list_params.rb +3 -3
- data/lib/lithic/models/financial_account.rb +14 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_event.rb +8 -0
- data/lib/lithic/models/fraud/transaction_report_response.rb +8 -8
- data/lib/lithic/models/fraud/transaction_retrieve_response.rb +10 -8
- data/lib/lithic/models/parsed_webhook_event.rb +5 -1
- data/lib/lithic/models/payment.rb +91 -6
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
- data/lib/lithic/models/transaction_monitoring/case_update_params.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/queue.rb +10 -1
- data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +14 -1
- data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +15 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +4 -3
- data/lib/lithic/models.rb +10 -0
- data/lib/lithic/resources/blockchain_recipients.rb +57 -0
- data/lib/lithic/resources/card_authorizations.rb +1 -1
- data/lib/lithic/resources/cards.rb +34 -2
- data/lib/lithic/resources/disputes_v2.rb +3 -1
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +2 -2
- data/lib/lithic/resources/transaction_monitoring/queues.rb +12 -2
- data/lib/lithic/resources/transactions.rb +4 -3
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +6 -1
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
- data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
- data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
- data/rbi/lithic/models/book_transfer_create_params.rbi +20 -0
- data/rbi/lithic/models/book_transfer_list_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +20 -0
- data/rbi/lithic/models/card.rbi +2 -2
- data/rbi/lithic/models/card_provision_params.rbi +16 -12
- data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
- data/rbi/lithic/models/dispute_v2.rbi +285 -181
- data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -0
- data/rbi/lithic/models/embed_session_generated_webhook_event.rbi +157 -0
- data/rbi/lithic/models/embed_viewed_webhook_event.rbi +146 -0
- data/rbi/lithic/models/event.rbi +70 -18
- data/rbi/lithic/models/event_list_params.rbi +31 -6
- data/rbi/lithic/models/event_subscription.rbi +31 -6
- data/rbi/lithic/models/events/subscription_create_params.rbi +31 -6
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +31 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +3 -3
- data/rbi/lithic/models/financial_account.rbi +12 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_event.rbi +34 -0
- data/rbi/lithic/models/fraud/transaction_report_response.rbi +16 -29
- data/rbi/lithic/models/fraud/transaction_retrieve_response.rbi +16 -29
- data/rbi/lithic/models/parsed_webhook_event.rbi +2 -0
- data/rbi/lithic/models/payment.rbi +147 -4
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
- data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +8 -33
- data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +7 -31
- data/rbi/lithic/models/transaction_monitoring/queue.rbi +10 -0
- data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +12 -0
- data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +14 -0
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +8 -6
- data/rbi/lithic/models.rbi +12 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +51 -0
- data/rbi/lithic/resources/card_authorizations.rbi +1 -1
- data/rbi/lithic/resources/cards.rbi +30 -6
- data/rbi/lithic/resources/disputes_v2.rbi +4 -0
- data/rbi/lithic/resources/external_payments.rbi +1 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +4 -3
- data/rbi/lithic/resources/three_ds/decisioning.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +6 -11
- data/rbi/lithic/resources/transaction_monitoring/queues.rbi +11 -0
- data/rbi/lithic/resources/transactions.rbi +8 -6
- data/rbi/lithic/resources/webhooks.rbi +2 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +4 -2
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
- data/sig/lithic/models/blockchain_recipient.rbs +106 -0
- data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +8 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +8 -0
- data/sig/lithic/models/card_reassign_account_params.rbs +28 -0
- data/sig/lithic/models/dispute_v2.rbs +145 -101
- data/sig/lithic/models/disputes_v2_list_params.rbs +7 -0
- data/sig/lithic/models/embed_session_generated_webhook_event.rbs +66 -0
- data/sig/lithic/models/embed_viewed_webhook_event.rbs +68 -0
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/financial_account.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_event.rbs +16 -0
- data/sig/lithic/models/fraud/transaction_report_response.rbs +16 -26
- data/sig/lithic/models/fraud/transaction_retrieve_response.rbs +16 -26
- data/sig/lithic/models/parsed_webhook_event.rbs +2 -0
- data/sig/lithic/models/payment.rbs +46 -1
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
- data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +5 -7
- data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +4 -4
- data/sig/lithic/models/transaction_monitoring/queue.rbs +5 -0
- data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +9 -1
- data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +10 -1
- data/sig/lithic/models.rbs +10 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +18 -0
- data/sig/lithic/resources/cards.rbs +6 -0
- data/sig/lithic/resources/disputes_v2.rbs +1 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +1 -1
- data/sig/lithic/resources/transaction_monitoring/queues.rbs +2 -0
- data/sig/lithic/resources/webhooks.rbs +2 -0
- metadata +20 -5
- data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +0 -28
- data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +0 -61
- data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a1dad385b89d74fc7b9228fc05beafec83f75a70f844981c069f5363224516c
|
|
4
|
+
data.tar.gz: ebf7bf2cb414e22297cec903a453e582a65ae88bcc9452a7151905d261504332
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8c7901fb8cfcddae62cf0652149ce81862fb297ac35ee9e4494bdfee61a455feaa15821eeceaa13e41effba6ebfc3f87a6a10a9713d8110de617c5eff7252fe
|
|
7
|
+
data.tar.gz: 9e5d08fa9e5d110aab84ffe6e9afac0e093db30b2cdf41a582995669c342c94dffe7134d8cac89b96a975fa1ebe6f14d8e303e7f6a0bae8b6a393cb5ca5a3777
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.20.0 (2026-08-31)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.19.0...v0.20.0](https://github.com/lithic-com/lithic-ruby/compare/v0.19.0...v0.20.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add blockchain_addresses field to FinancialAccount model ([c46e82c](https://github.com/lithic-com/lithic-ruby/commit/c46e82cc5bf4560c31adc1ebd6e991b55a1c3f2d))
|
|
10
|
+
* **api:** add blockchain_recipients resource ([437d522](https://github.com/lithic-com/lithic-ruby/commit/437d5226c1c6b1dfd8faaa70787e8b2ea533f14a))
|
|
11
|
+
* **api:** add claim_token field/param and WRITE_OFF_REVERSED to disputes v2 ([d32fe12](https://github.com/lithic-com/lithic-ruby/commit/d32fe12d9edaa339a12b61333e542f24c67f3c2e))
|
|
12
|
+
* **api:** add limit_cash_amount and limit_cash_count to velocity limit params ([4e4dfb7](https://github.com/lithic-com/lithic-ruby/commit/4e4dfb78069500939027ed67d445d63160cd9e1c))
|
|
13
|
+
* **api:** add PROGRAM scope to auth rules, FINANCIAL_ACCOUNT/PROGRAM to case_entity ([1520693](https://github.com/lithic-com/lithic-ruby/commit/15206930f871b13afd3852083c6bf778a83e6eb9))
|
|
14
|
+
* **api:** add reassign_account method to cards ([2f6bdfa](https://github.com/lithic-com/lithic-ruby/commit/2f6bdfaf9f1c6c9128e765e10b495252ca9711ce))
|
|
15
|
+
* **api:** add STABLECOIN enum value to payment type ([5151e5d](https://github.com/lithic-com/lithic-ruby/commit/5151e5d6276054b59f41d32af07efae6badabcbb))
|
|
16
|
+
* **api:** add stablecoin event types to payment/financial_event/statement_line_items ([2f1fbca](https://github.com/lithic-com/lithic-ruby/commit/2f1fbca332e111e3624d834a774db3f7d979f4a4))
|
|
17
|
+
* **api:** add STABLECOIN method, make method_attributes nullable in Payment ([6ecbe70](https://github.com/lithic-com/lithic-ruby/commit/6ecbe702c2e3d1cd3e5623cecf46e4bc02fb3b41))
|
|
18
|
+
* **api:** add stablecoin payment method type to payments ([80e026a](https://github.com/lithic-com/lithic-ruby/commit/80e026ae4b67579db63140dcaa70c44409b47b83))
|
|
19
|
+
* **api:** add stablecoin_inbound/stablecoin_outbound to payment type enum ([087861b](https://github.com/lithic-com/lithic-ruby/commit/087861b820756e52b92ff69b5d7929109e27ba59))
|
|
20
|
+
* Make blockchain recipient account_token nullable ([ce96330](https://github.com/lithic-com/lithic-ruby/commit/ce96330d08b6f3b9bbc4ee1011dcc7080f839a38))
|
|
21
|
+
* Remove stablecoin transfer type ([41e80f8](https://github.com/lithic-com/lithic-ruby/commit/41e80f87c3b3a3167f97c4657acd71cf28bc3074))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **types:** rename event data variants, remove type discriminator in dispute_v2 ([aeedd0a](https://github.com/lithic-com/lithic-ruby/commit/aeedd0ab75d527323dc8a748af1ea86a95f52ac5))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Chores
|
|
30
|
+
|
|
31
|
+
* **internal:** allow the mock server port to be set with STAINLESS_MOCK_PORT ([0fbeb86](https://github.com/lithic-com/lithic-ruby/commit/0fbeb86633809668c1bd304a40b2f23860b232be))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Documentation
|
|
35
|
+
|
|
36
|
+
* **api:** update client_device_id and client_wallet_account_id descriptions in card provision ([e5cd94f](https://github.com/lithic-com/lithic-ruby/commit/e5cd94f58dbafc40ab1f2e25182b4b559d2ed258))
|
|
37
|
+
* **api:** update cvv field documentation in Card and tokenization ([b520213](https://github.com/lithic-com/lithic-ruby/commit/b520213ceec3af853f96b5ca9e8ef32a34169a0a))
|
|
38
|
+
|
|
39
|
+
## 0.19.0 (2026-07-30)
|
|
40
|
+
|
|
41
|
+
Full Changelog: [v0.18.1...v0.19.0](https://github.com/lithic-com/lithic-ruby/compare/v0.18.1...v0.19.0)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* **api:** add disposition_reasons to queues, change resolution to string in cases ([81b7499](https://github.com/lithic-com/lithic-ruby/commit/81b74990960f2f1ee8666118fc6afe8b9ac8f0ca))
|
|
46
|
+
* **api:** add PAYMENT type to book transfers ([979bd5d](https://github.com/lithic-com/lithic-ruby/commit/979bd5d73e39028767418a470e10fc39cfb9686f))
|
|
47
|
+
* **api:** add PROGRAM_TRANSFER category, LITHIC/BANK_PROGRAM_TRANSFER type enum values ([774ebfa](https://github.com/lithic-com/lithic-ruby/commit/774ebfa41c6c7c8d249265ba518f781f59e79237))
|
|
48
|
+
* **api:** add RECIPIENT_NAME attribute to auth rules conditional ACH parameters ([7e2398e](https://github.com/lithic-com/lithic-ruby/commit/7e2398e3c0fe3d08ece0c70249da4b73764541f6))
|
|
49
|
+
* **api:** add recipient_name field to payment ACH method attributes ([9ed474c](https://github.com/lithic-com/lithic-ruby/commit/9ed474c7521804e6cb99902aabea5fa4f5178ca1))
|
|
50
|
+
* **api:** add REVERSED status value to payment list params ([f5f2fdb](https://github.com/lithic-com/lithic-ruby/commit/f5f2fdb6c4d34e9f4ab5ed40fb2516872b419418))
|
|
51
|
+
* **api:** add stablecoin support to payments, account activity, financial events ([92a2b8b](https://github.com/lithic-com/lithic-ruby/commit/92a2b8b3ab8ecfab83ed698164de87c4b23ae31d))
|
|
52
|
+
* **api:** Extend velocity Custom period cap to 90 days ([eeb4a32](https://github.com/lithic-com/lithic-ruby/commit/eeb4a3228542f9d61966dc4c09987b40bdfdde3d))
|
|
53
|
+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([69b6ead](https://github.com/lithic-com/lithic-ruby/commit/69b6ead528e48ca397c5b14bcfd5868d6819aaca))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
|
|
58
|
+
* **types:** make optional fields nullable in fraud transaction responses ([796975f](https://github.com/lithic-com/lithic-ruby/commit/796975f199c3f8ad5b1646274d243944398c06e8))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Documentation
|
|
62
|
+
|
|
63
|
+
* Add card embed documentation ([0543caa](https://github.com/lithic-com/lithic-ruby/commit/0543caa4d27cde3479e6a3536cdd037073940f03))
|
|
64
|
+
* **api:** clarify last_transaction_event_token parameter in financial_accounts balances ([9dd45f0](https://github.com/lithic-com/lithic-ruby/commit/9dd45f05a127d34a45db81c875446e3fd1df5e42))
|
|
65
|
+
* **api:** clarify simulate_clearing supports multiple calls in transactions ([7a7e783](https://github.com/lithic-com/lithic-ruby/commit/7a7e78338a405f4edb463df0de5f64cf157c0334))
|
|
66
|
+
* **api:** expand dispute event descriptions across Event and subscription models ([4db3479](https://github.com/lithic-com/lithic-ruby/commit/4db3479aaf148f8f3ea7e16ea89eb3c275fe963e))
|
|
67
|
+
* **api:** update category parameter description in external_payments ([db7d72a](https://github.com/lithic-com/lithic-ruby/commit/db7d72a41aaee552817197d85b7989d85f6399c3))
|
|
68
|
+
|
|
3
69
|
## 0.18.1 (2026-06-29)
|
|
4
70
|
|
|
5
71
|
Full Changelog: [v0.18.0...v0.18.1](https://github.com/lithic-com/lithic-ruby/compare/v0.18.0...v0.18.1)
|
data/README.md
CHANGED
data/lib/lithic/client.rb
CHANGED
|
@@ -83,6 +83,9 @@ module Lithic
|
|
|
83
83
|
# @return [Lithic::Resources::ExternalBankAccounts]
|
|
84
84
|
attr_reader :external_bank_accounts
|
|
85
85
|
|
|
86
|
+
# @return [Lithic::Resources::BlockchainRecipients]
|
|
87
|
+
attr_reader :blockchain_recipients
|
|
88
|
+
|
|
86
89
|
# @return [Lithic::Resources::Payments]
|
|
87
90
|
attr_reader :payments
|
|
88
91
|
|
|
@@ -240,6 +243,7 @@ module Lithic
|
|
|
240
243
|
@transactions = Lithic::Resources::Transactions.new(client: self)
|
|
241
244
|
@responder_endpoints = Lithic::Resources::ResponderEndpoints.new(client: self)
|
|
242
245
|
@external_bank_accounts = Lithic::Resources::ExternalBankAccounts.new(client: self)
|
|
246
|
+
@blockchain_recipients = Lithic::Resources::BlockchainRecipients.new(client: self)
|
|
243
247
|
@payments = Lithic::Resources::Payments.new(client: self)
|
|
244
248
|
@three_ds = Lithic::Resources::ThreeDS.new(client: self)
|
|
245
249
|
@reports = Lithic::Resources::Reports.new(client: self)
|
|
@@ -111,6 +111,7 @@ module Lithic
|
|
|
111
111
|
|
|
112
112
|
ACH = :ACH
|
|
113
113
|
WIRE = :WIRE
|
|
114
|
+
STABLECOIN = :STABLECOIN
|
|
114
115
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
|
115
116
|
FEE = :FEE
|
|
116
117
|
REWARD = :REWARD
|
|
@@ -131,6 +132,7 @@ module Lithic
|
|
|
131
132
|
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
|
132
133
|
HOLD = :HOLD
|
|
133
134
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
135
|
+
PROGRAM_TRANSFER = :PROGRAM_TRANSFER
|
|
134
136
|
|
|
135
137
|
# @!method self.values
|
|
136
138
|
# @return [Array<Symbol>]
|
|
@@ -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>]
|
|
@@ -153,6 +153,7 @@ module Lithic
|
|
|
153
153
|
|
|
154
154
|
ACH = :ACH
|
|
155
155
|
WIRE = :WIRE
|
|
156
|
+
STABLECOIN = :STABLECOIN
|
|
156
157
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
|
157
158
|
FEE = :FEE
|
|
158
159
|
REWARD = :REWARD
|
|
@@ -173,6 +174,7 @@ module Lithic
|
|
|
173
174
|
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
|
174
175
|
HOLD = :HOLD
|
|
175
176
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
177
|
+
PROGRAM_TRANSFER = :PROGRAM_TRANSFER
|
|
176
178
|
|
|
177
179
|
# @!method self.values
|
|
178
180
|
# @return [Array<Symbol>]
|
|
@@ -196,6 +196,7 @@ module Lithic
|
|
|
196
196
|
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
197
197
|
# (Telephone-Initiated Entry), and others.
|
|
198
198
|
# - `MEMO`: Optional memo or description field included with the ACH transaction.
|
|
199
|
+
# - `RECIPIENT_NAME`: The name of the recipient of the ACH transaction.
|
|
199
200
|
#
|
|
200
201
|
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition::Attribute]
|
|
201
202
|
required :attribute, enum: -> { Lithic::AuthRules::ConditionalACHActionParameters::Condition::Attribute }
|
|
@@ -238,6 +239,7 @@ module Lithic
|
|
|
238
239
|
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
239
240
|
# (Telephone-Initiated Entry), and others.
|
|
240
241
|
# - `MEMO`: Optional memo or description field included with the ACH transaction.
|
|
242
|
+
# - `RECIPIENT_NAME`: The name of the recipient of the ACH transaction.
|
|
241
243
|
#
|
|
242
244
|
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition#attribute
|
|
243
245
|
module Attribute
|
|
@@ -249,6 +251,7 @@ module Lithic
|
|
|
249
251
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
|
250
252
|
SEC_CODE = :SEC_CODE
|
|
251
253
|
MEMO = :MEMO
|
|
254
|
+
RECIPIENT_NAME = :RECIPIENT_NAME
|
|
252
255
|
|
|
253
256
|
# @!method self.values
|
|
254
257
|
# @return [Array<Symbol>]
|
|
@@ -1059,6 +1059,7 @@ module Lithic
|
|
|
1059
1059
|
|
|
1060
1060
|
CARD = :CARD
|
|
1061
1061
|
ACCOUNT = :ACCOUNT
|
|
1062
|
+
PROGRAM = :PROGRAM
|
|
1062
1063
|
|
|
1063
1064
|
# @!method self.values
|
|
1064
1065
|
# @return [Array<Symbol>]
|
|
@@ -1269,6 +1270,7 @@ module Lithic
|
|
|
1269
1270
|
extend Lithic::Internal::Type::Enum
|
|
1270
1271
|
|
|
1271
1272
|
FINANCIAL_ACCOUNT = :FINANCIAL_ACCOUNT
|
|
1273
|
+
PROGRAM = :PROGRAM
|
|
1272
1274
|
|
|
1273
1275
|
# @!method self.values
|
|
1274
1276
|
# @return [Array<Symbol>]
|
|
@@ -29,6 +29,25 @@ module Lithic
|
|
|
29
29
|
# @return [Integer, nil]
|
|
30
30
|
optional :limit_amount, Integer, nil?: true
|
|
31
31
|
|
|
32
|
+
# @!attribute limit_cash_amount
|
|
33
|
+
# The maximum amount of cash spend velocity allowed in the period in minor units
|
|
34
|
+
# (the smallest unit of a currency, e.g. cents for USD). Cash spend covers ATM
|
|
35
|
+
# withdrawals, cash disbursements, and purchases with cashback. Transactions
|
|
36
|
+
# exceeding this limit will be declined.
|
|
37
|
+
#
|
|
38
|
+
# @return [Integer, nil]
|
|
39
|
+
optional :limit_cash_amount, Integer, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute limit_cash_count
|
|
42
|
+
# The number of cash spend velocity impacting transactions may not exceed this
|
|
43
|
+
# limit in the period. Transactions exceeding this limit will be declined. A cash
|
|
44
|
+
# velocity impacting transaction is an ATM withdrawal, cash disbursement, or
|
|
45
|
+
# purchase with cashback that has been authorized, and optionally settled, or a
|
|
46
|
+
# force post (a transaction that settled without prior authorization).
|
|
47
|
+
#
|
|
48
|
+
# @return [Integer, nil]
|
|
49
|
+
optional :limit_cash_count, Integer, nil?: true
|
|
50
|
+
|
|
32
51
|
# @!attribute limit_count
|
|
33
52
|
# The number of spend velocity impacting transactions may not exceed this limit in
|
|
34
53
|
# the period. Transactions exceeding this limit will be declined. A spend velocity
|
|
@@ -39,7 +58,7 @@ module Lithic
|
|
|
39
58
|
# @return [Integer, nil]
|
|
40
59
|
optional :limit_count, Integer, nil?: true
|
|
41
60
|
|
|
42
|
-
# @!method initialize(period:, scope:, filters: nil, limit_amount: nil, limit_count: nil)
|
|
61
|
+
# @!method initialize(period:, scope:, filters: nil, limit_amount: nil, limit_cash_amount: nil, limit_cash_count: nil, limit_count: nil)
|
|
43
62
|
# Some parameter documentations has been truncated, see
|
|
44
63
|
# {Lithic::Models::AuthRules::VelocityLimitParams} for more details.
|
|
45
64
|
#
|
|
@@ -51,6 +70,10 @@ module Lithic
|
|
|
51
70
|
#
|
|
52
71
|
# @param limit_amount [Integer, nil] The maximum amount of spend velocity allowed in the period in minor units (the s
|
|
53
72
|
#
|
|
73
|
+
# @param limit_cash_amount [Integer, nil] The maximum amount of cash spend velocity allowed in the period in minor units (
|
|
74
|
+
#
|
|
75
|
+
# @param limit_cash_count [Integer, nil] The number of cash spend velocity impacting transactions may not exceed this lim
|
|
76
|
+
#
|
|
54
77
|
# @param limit_count [Integer, nil] The number of spend velocity impacting transactions may not exceed this limit in
|
|
55
78
|
|
|
56
79
|
# The scope the velocity is calculated for
|
|
@@ -24,7 +24,7 @@ module Lithic
|
|
|
24
24
|
class TrailingWindowObject < Lithic::Internal::Type::BaseModel
|
|
25
25
|
# @!attribute duration
|
|
26
26
|
# The size of the trailing window to calculate Spend Velocity over in seconds. The
|
|
27
|
-
# minimum value is 10 seconds, and the maximum value is
|
|
27
|
+
# minimum value is 10 seconds, and the maximum value is 7776000 seconds (90 days).
|
|
28
28
|
#
|
|
29
29
|
# @return [Integer]
|
|
30
30
|
required :duration, Integer
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::BlockchainRecipients#create
|
|
6
|
+
class BlockchainRecipient < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute token
|
|
8
|
+
# A globally unique identifier for this blockchain recipient
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :token, String
|
|
12
|
+
|
|
13
|
+
# @!attribute account_token
|
|
14
|
+
# The financial account the blockchain recipient belongs to, or null when the
|
|
15
|
+
# recipient is registered against the program rather than a financial account
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
required :account_token, String, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute address_tag
|
|
21
|
+
# An optional tag or memo used by some chains to identify the destination of a
|
|
22
|
+
# transfer within a shared address
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
required :address_tag, String, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute chain
|
|
28
|
+
# The blockchain network that the address belongs to
|
|
29
|
+
#
|
|
30
|
+
# @return [String]
|
|
31
|
+
required :chain, String
|
|
32
|
+
|
|
33
|
+
# @!attribute created
|
|
34
|
+
# An ISO 8601 string representing when this blockchain recipient was created
|
|
35
|
+
#
|
|
36
|
+
# @return [Time]
|
|
37
|
+
required :created, Time
|
|
38
|
+
|
|
39
|
+
# @!attribute external_id
|
|
40
|
+
# The identifier the recipient is registered under with the payment provider
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
required :external_id, String, nil?: true
|
|
44
|
+
|
|
45
|
+
# @!attribute name
|
|
46
|
+
# The nickname for this blockchain recipient
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
required :name, String, nil?: true
|
|
50
|
+
|
|
51
|
+
# @!attribute owner
|
|
52
|
+
# Legal name of the business or individual who owns the blockchain address
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
required :owner, String
|
|
56
|
+
|
|
57
|
+
# @!attribute owner_type
|
|
58
|
+
# Owner Type
|
|
59
|
+
#
|
|
60
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
61
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
62
|
+
|
|
63
|
+
# @!attribute program_id
|
|
64
|
+
# Globally unique identifier for the program the blockchain recipient is
|
|
65
|
+
# associated with
|
|
66
|
+
#
|
|
67
|
+
# @return [String]
|
|
68
|
+
required :program_id, String
|
|
69
|
+
|
|
70
|
+
# @!attribute state
|
|
71
|
+
# Account State
|
|
72
|
+
#
|
|
73
|
+
# @return [Symbol, Lithic::Models::BlockchainRecipient::State]
|
|
74
|
+
required :state, enum: -> { Lithic::BlockchainRecipient::State }
|
|
75
|
+
|
|
76
|
+
# @!attribute updated
|
|
77
|
+
# An ISO 8601 string representing when this blockchain recipient was last updated
|
|
78
|
+
#
|
|
79
|
+
# @return [Time]
|
|
80
|
+
required :updated, Time
|
|
81
|
+
|
|
82
|
+
# @!attribute verification_state
|
|
83
|
+
# Verification State
|
|
84
|
+
#
|
|
85
|
+
# @return [Symbol, Lithic::Models::BlockchainRecipient::VerificationState]
|
|
86
|
+
required :verification_state, enum: -> { Lithic::BlockchainRecipient::VerificationState }
|
|
87
|
+
|
|
88
|
+
# @!method initialize(token:, account_token:, address_tag:, chain:, created:, external_id:, name:, owner:, owner_type:, program_id:, state:, updated:, verification_state:)
|
|
89
|
+
# Some parameter documentations has been truncated, see
|
|
90
|
+
# {Lithic::Models::BlockchainRecipient} for more details.
|
|
91
|
+
#
|
|
92
|
+
# @param token [String] A globally unique identifier for this blockchain recipient
|
|
93
|
+
#
|
|
94
|
+
# @param account_token [String, nil] The financial account the blockchain recipient belongs to, or null when the reci
|
|
95
|
+
#
|
|
96
|
+
# @param address_tag [String, nil] An optional tag or memo used by some chains to identify the destination of a tra
|
|
97
|
+
#
|
|
98
|
+
# @param chain [String] The blockchain network that the address belongs to
|
|
99
|
+
#
|
|
100
|
+
# @param created [Time] An ISO 8601 string representing when this blockchain recipient was created
|
|
101
|
+
#
|
|
102
|
+
# @param external_id [String, nil] The identifier the recipient is registered under with the payment provider
|
|
103
|
+
#
|
|
104
|
+
# @param name [String, nil] The nickname for this blockchain recipient
|
|
105
|
+
#
|
|
106
|
+
# @param owner [String] Legal name of the business or individual who owns the blockchain address
|
|
107
|
+
#
|
|
108
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
109
|
+
#
|
|
110
|
+
# @param program_id [String] Globally unique identifier for the program the blockchain recipient is associate
|
|
111
|
+
#
|
|
112
|
+
# @param state [Symbol, Lithic::Models::BlockchainRecipient::State] Account State
|
|
113
|
+
#
|
|
114
|
+
# @param updated [Time] An ISO 8601 string representing when this blockchain recipient was last updated
|
|
115
|
+
#
|
|
116
|
+
# @param verification_state [Symbol, Lithic::Models::BlockchainRecipient::VerificationState] Verification State
|
|
117
|
+
|
|
118
|
+
# Account State
|
|
119
|
+
#
|
|
120
|
+
# @see Lithic::Models::BlockchainRecipient#state
|
|
121
|
+
module State
|
|
122
|
+
extend Lithic::Internal::Type::Enum
|
|
123
|
+
|
|
124
|
+
ENABLED = :ENABLED
|
|
125
|
+
CLOSED = :CLOSED
|
|
126
|
+
PAUSED = :PAUSED
|
|
127
|
+
|
|
128
|
+
# @!method self.values
|
|
129
|
+
# @return [Array<Symbol>]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Verification State
|
|
133
|
+
#
|
|
134
|
+
# @see Lithic::Models::BlockchainRecipient#verification_state
|
|
135
|
+
module VerificationState
|
|
136
|
+
extend Lithic::Internal::Type::Enum
|
|
137
|
+
|
|
138
|
+
PENDING = :PENDING
|
|
139
|
+
ENABLED = :ENABLED
|
|
140
|
+
FAILED_VERIFICATION = :FAILED_VERIFICATION
|
|
141
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
|
142
|
+
|
|
143
|
+
# @!method self.values
|
|
144
|
+
# @return [Array<Symbol>]
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::BlockchainRecipients#create
|
|
6
|
+
class BlockchainRecipientCreateParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute account_token
|
|
11
|
+
# The financial account the blockchain recipient belongs to
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :account_token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute address
|
|
17
|
+
# The blockchain address funds will be withdrawn to
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :address, String
|
|
21
|
+
|
|
22
|
+
# @!attribute chain
|
|
23
|
+
# The blockchain network that the address belongs to
|
|
24
|
+
#
|
|
25
|
+
# @return [String]
|
|
26
|
+
required :chain, String
|
|
27
|
+
|
|
28
|
+
# @!attribute owner
|
|
29
|
+
# Legal name of the business or individual who owns the blockchain address
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
required :owner, String
|
|
33
|
+
|
|
34
|
+
# @!attribute owner_type
|
|
35
|
+
# Owner Type
|
|
36
|
+
#
|
|
37
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
38
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
39
|
+
|
|
40
|
+
# @!attribute address_tag
|
|
41
|
+
# An optional tag or memo used by some chains to identify the destination of a
|
|
42
|
+
# transfer within a shared address
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :address_tag, String
|
|
46
|
+
|
|
47
|
+
# @!attribute name
|
|
48
|
+
# The nickname for this blockchain recipient
|
|
49
|
+
#
|
|
50
|
+
# @return [String, nil]
|
|
51
|
+
optional :name, String
|
|
52
|
+
|
|
53
|
+
# @!method initialize(account_token:, address:, chain:, owner:, owner_type:, address_tag: nil, name: nil, request_options: {})
|
|
54
|
+
# Some parameter documentations has been truncated, see
|
|
55
|
+
# {Lithic::Models::BlockchainRecipientCreateParams} for more details.
|
|
56
|
+
#
|
|
57
|
+
# @param account_token [String] The financial account the blockchain recipient belongs to
|
|
58
|
+
#
|
|
59
|
+
# @param address [String] The blockchain address funds will be withdrawn to
|
|
60
|
+
#
|
|
61
|
+
# @param chain [String] The blockchain network that the address belongs to
|
|
62
|
+
#
|
|
63
|
+
# @param owner [String] Legal name of the business or individual who owns the blockchain address
|
|
64
|
+
#
|
|
65
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
66
|
+
#
|
|
67
|
+
# @param address_tag [String] An optional tag or memo used by some chains to identify the destination of a tra
|
|
68
|
+
#
|
|
69
|
+
# @param name [String] The nickname for this blockchain recipient
|
|
70
|
+
#
|
|
71
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -115,6 +115,7 @@ module Lithic
|
|
|
115
115
|
INTERNAL = :INTERNAL
|
|
116
116
|
REWARD = :REWARD
|
|
117
117
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
118
|
+
PROGRAM_TRANSFER = :PROGRAM_TRANSFER
|
|
118
119
|
TRANSFER = :TRANSFER
|
|
119
120
|
|
|
120
121
|
# @!method self.values
|
|
@@ -145,6 +146,7 @@ module Lithic
|
|
|
145
146
|
INTEREST = :INTEREST
|
|
146
147
|
LATE_PAYMENT = :LATE_PAYMENT
|
|
147
148
|
BILL_PAYMENT = :BILL_PAYMENT
|
|
149
|
+
PAYMENT_FEE = :PAYMENT_FEE
|
|
148
150
|
CASH_BACK = :CASH_BACK
|
|
149
151
|
ACCOUNT_TO_ACCOUNT = :ACCOUNT_TO_ACCOUNT
|
|
150
152
|
CARD_TO_CARD = :CARD_TO_CARD
|
|
@@ -160,6 +162,8 @@ module Lithic
|
|
|
160
162
|
SERVICE = :SERVICE
|
|
161
163
|
TRANSFER = :TRANSFER
|
|
162
164
|
COLLECTION = :COLLECTION
|
|
165
|
+
LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
|
|
166
|
+
BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
|
|
163
167
|
|
|
164
168
|
# @!method self.values
|
|
165
169
|
# @return [Array<Symbol>]
|
|
@@ -156,6 +156,7 @@ module Lithic
|
|
|
156
156
|
INTERNAL = :INTERNAL
|
|
157
157
|
REWARD = :REWARD
|
|
158
158
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
159
|
+
PROGRAM_TRANSFER = :PROGRAM_TRANSFER
|
|
159
160
|
TRANSFER = :TRANSFER
|
|
160
161
|
|
|
161
162
|
# @!method self.values
|
|
@@ -285,6 +286,7 @@ module Lithic
|
|
|
285
286
|
INTEREST = :INTEREST
|
|
286
287
|
LATE_PAYMENT = :LATE_PAYMENT
|
|
287
288
|
BILL_PAYMENT = :BILL_PAYMENT
|
|
289
|
+
PAYMENT_FEE = :PAYMENT_FEE
|
|
288
290
|
CASH_BACK = :CASH_BACK
|
|
289
291
|
ACCOUNT_TO_ACCOUNT = :ACCOUNT_TO_ACCOUNT
|
|
290
292
|
CARD_TO_CARD = :CARD_TO_CARD
|
|
@@ -300,6 +302,8 @@ module Lithic
|
|
|
300
302
|
SERVICE = :SERVICE
|
|
301
303
|
TRANSFER = :TRANSFER
|
|
302
304
|
COLLECTION = :COLLECTION
|
|
305
|
+
LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
|
|
306
|
+
BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
|
|
303
307
|
|
|
304
308
|
# @!method self.values
|
|
305
309
|
# @return [Array<Symbol>]
|
data/lib/lithic/models/card.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Lithic
|
|
|
5
5
|
# @see Lithic::Resources::Cards#create
|
|
6
6
|
class Card < Lithic::Models::NonPCICard
|
|
7
7
|
# @!attribute cvv
|
|
8
|
-
# Three digit
|
|
8
|
+
# Three or four digit CVV printed on the card. Amex cards use four digit CVVs
|
|
9
9
|
#
|
|
10
10
|
# @return [String, nil]
|
|
11
11
|
optional :cvv, String
|
|
@@ -24,7 +24,7 @@ module Lithic
|
|
|
24
24
|
#
|
|
25
25
|
# Card details with potentially PCI sensitive information for Enterprise customers
|
|
26
26
|
#
|
|
27
|
-
# @param cvv [String] Three digit
|
|
27
|
+
# @param cvv [String] Three or four digit CVV printed on the card. Amex cards use four digit CVVs
|
|
28
28
|
#
|
|
29
29
|
# @param pan [String] Primary Account Number (PAN) (i.e. the card number). Customers must be PCI compl
|
|
30
30
|
end
|
|
@@ -22,17 +22,19 @@ module Lithic
|
|
|
22
22
|
optional :certificate, String
|
|
23
23
|
|
|
24
24
|
# @!attribute client_device_id
|
|
25
|
-
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
26
|
-
#
|
|
27
|
-
#
|
|
25
|
+
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Stable
|
|
26
|
+
# device identification set by the wallet provider. Required for both wallets
|
|
27
|
+
# regardless of network, though the value is only used for cards on the Visa
|
|
28
|
+
# network and is ignored on Amex and Mastercard.
|
|
28
29
|
#
|
|
29
30
|
# @return [String, nil]
|
|
30
31
|
optional :client_device_id, String
|
|
31
32
|
|
|
32
33
|
# @!attribute client_wallet_account_id
|
|
33
|
-
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
34
|
-
#
|
|
35
|
-
#
|
|
34
|
+
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Consumer
|
|
35
|
+
# ID that identifies the wallet account holder entity. Required for both wallets
|
|
36
|
+
# regardless of network, though the value is only used for cards on the Visa
|
|
37
|
+
# network and is ignored on Amex and Mastercard.
|
|
36
38
|
#
|
|
37
39
|
# @return [String, nil]
|
|
38
40
|
optional :client_wallet_account_id, String
|
|
@@ -67,9 +69,9 @@ module Lithic
|
|
|
67
69
|
#
|
|
68
70
|
# @param certificate [String] Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only `activa
|
|
69
71
|
#
|
|
70
|
-
# @param client_device_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
72
|
+
# @param client_device_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Stable dev
|
|
71
73
|
#
|
|
72
|
-
# @param client_wallet_account_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
74
|
+
# @param client_wallet_account_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Consumer I
|
|
73
75
|
#
|
|
74
76
|
# @param digital_wallet [Symbol, Lithic::Models::CardProvisionParams::DigitalWallet] Name of digital wallet provider.
|
|
75
77
|
#
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::Cards#reassign_account
|
|
6
|
+
class CardReassignAccountParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute card_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :card_token, String
|
|
14
|
+
|
|
15
|
+
# @!attribute new_account_token
|
|
16
|
+
# Globally unique identifier for the account to associate with the card
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :new_account_token, String
|
|
20
|
+
|
|
21
|
+
# @!method initialize(card_token:, new_account_token:, request_options: {})
|
|
22
|
+
# @param card_token [String]
|
|
23
|
+
#
|
|
24
|
+
# @param new_account_token [String] Globally unique identifier for the account to associate with the card
|
|
25
|
+
#
|
|
26
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|