lithic 0.1.0.pre.alpha.55 → 0.1.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 +53 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +62 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
- data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/{external_bank_account_retry_prenote_response.rb → external_bank_account.rb} +32 -33
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +15 -2
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +3 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +164 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +11 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +18 -6
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +9 -243
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +56 -0
- data/lib/lithic/resources/auth_rules/v2.rb +19 -17
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +21 -2
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +38 -21
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +131 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +99 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/{external_bank_account_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +62 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +469 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +28 -7
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +12 -500
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +57 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +11 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +6 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +71 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +44 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account.rbs +162 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +35 -8
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +11 -2
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +248 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +18 -5
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +12 -191
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +56 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +6 -1
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +115 -67
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -16,19 +16,20 @@ module Lithic
|
|
|
16
16
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
17
17
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
18
18
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
19
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
19
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
20
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
21
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
20
22
|
),
|
|
21
23
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
22
24
|
card_tokens: T::Array[String],
|
|
23
25
|
program_level: T::Boolean,
|
|
24
26
|
account_tokens: T::Array[String],
|
|
25
27
|
business_account_tokens: T::Array[String],
|
|
26
|
-
event_stream:
|
|
27
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
28
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
28
29
|
name: T.nilable(String),
|
|
29
30
|
excluded_card_tokens: T::Array[String],
|
|
30
31
|
request_options: Lithic::RequestOptions::OrHash
|
|
31
|
-
).returns(Lithic::
|
|
32
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
32
33
|
end
|
|
33
34
|
def create(
|
|
34
35
|
# Parameters for the Auth Rule
|
|
@@ -41,7 +42,8 @@ module Lithic
|
|
|
41
42
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
42
43
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
43
44
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
44
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
45
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
46
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
45
47
|
type:,
|
|
46
48
|
# Card tokens to which the Auth Rule applies.
|
|
47
49
|
card_tokens:,
|
|
@@ -66,7 +68,7 @@ module Lithic
|
|
|
66
68
|
params(
|
|
67
69
|
auth_rule_token: String,
|
|
68
70
|
request_options: Lithic::RequestOptions::OrHash
|
|
69
|
-
).returns(Lithic::
|
|
71
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
70
72
|
end
|
|
71
73
|
def retrieve(auth_rule_token, request_options: {})
|
|
72
74
|
end
|
|
@@ -87,7 +89,7 @@ module Lithic
|
|
|
87
89
|
excluded_card_tokens: T::Array[String],
|
|
88
90
|
program_level: T::Boolean,
|
|
89
91
|
request_options: Lithic::RequestOptions::OrHash
|
|
90
|
-
).returns(Lithic::
|
|
92
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
91
93
|
end
|
|
92
94
|
def update(
|
|
93
95
|
auth_rule_token,
|
|
@@ -120,17 +122,13 @@ module Lithic
|
|
|
120
122
|
business_account_token: String,
|
|
121
123
|
card_token: String,
|
|
122
124
|
ending_before: String,
|
|
123
|
-
event_stream:
|
|
124
|
-
|
|
125
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
126
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
125
127
|
page_size: Integer,
|
|
126
128
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
127
129
|
starting_after: String,
|
|
128
130
|
request_options: Lithic::RequestOptions::OrHash
|
|
129
|
-
).returns(
|
|
130
|
-
Lithic::Internal::CursorPage[
|
|
131
|
-
Lithic::Models::AuthRules::V2ListResponse
|
|
132
|
-
]
|
|
133
|
-
)
|
|
131
|
+
).returns(Lithic::Internal::CursorPage[Lithic::AuthRules::AuthRule])
|
|
134
132
|
end
|
|
135
133
|
def list(
|
|
136
134
|
# Only return Auth Rules that are bound to the provided account token.
|
|
@@ -142,8 +140,13 @@ module Lithic
|
|
|
142
140
|
# A cursor representing an item's token before which a page of results should end.
|
|
143
141
|
# Used to retrieve the previous page of results before this item.
|
|
144
142
|
ending_before: nil,
|
|
145
|
-
# Only return Auth rules that are executed
|
|
143
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
144
|
+
# during the provided event stream.
|
|
146
145
|
event_stream: nil,
|
|
146
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
147
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
148
|
+
# combined.
|
|
149
|
+
event_streams: nil,
|
|
147
150
|
# Page size (for pagination).
|
|
148
151
|
page_size: nil,
|
|
149
152
|
# Only return Auth Rules that are bound to the provided scope.
|
|
@@ -179,11 +182,13 @@ module Lithic
|
|
|
179
182
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
180
183
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
181
184
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
182
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
185
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
186
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
187
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
183
188
|
)
|
|
184
189
|
),
|
|
185
190
|
request_options: Lithic::RequestOptions::OrHash
|
|
186
|
-
).returns(Lithic::
|
|
191
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
187
192
|
end
|
|
188
193
|
def draft(
|
|
189
194
|
auth_rule_token,
|
|
@@ -199,7 +204,7 @@ module Lithic
|
|
|
199
204
|
params(
|
|
200
205
|
auth_rule_token: String,
|
|
201
206
|
request_options: Lithic::RequestOptions::OrHash
|
|
202
|
-
).returns(Lithic::
|
|
207
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
203
208
|
end
|
|
204
209
|
def promote(auth_rule_token, request_options: {})
|
|
205
210
|
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class CardBulkOrders
|
|
6
|
+
# Create a new bulk order for physical card shipments **[BETA]**. Cards can be
|
|
7
|
+
# added to the order via the POST /v1/cards endpoint by specifying the
|
|
8
|
+
# bulk_order_token. Lock the order via PATCH
|
|
9
|
+
# /v1/card_bulk_orders/{bulk_order_token} to prepare for shipment. Please work
|
|
10
|
+
# with your Customer Success Manager and card personalization bureau to ensure
|
|
11
|
+
# bulk shipping is supported for your program.
|
|
12
|
+
sig do
|
|
13
|
+
params(
|
|
14
|
+
customer_product_id: String,
|
|
15
|
+
shipping_address: T.anything,
|
|
16
|
+
shipping_method:
|
|
17
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
18
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
19
|
+
).returns(Lithic::CardBulkOrder)
|
|
20
|
+
end
|
|
21
|
+
def create(
|
|
22
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
23
|
+
# must be configured with Lithic before use
|
|
24
|
+
customer_product_id:,
|
|
25
|
+
# Shipping address for all cards in this bulk order
|
|
26
|
+
shipping_address:,
|
|
27
|
+
# Shipping method for all cards in this bulk order
|
|
28
|
+
shipping_method:,
|
|
29
|
+
request_options: {}
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Retrieve a specific bulk order by token **[BETA]**
|
|
34
|
+
sig do
|
|
35
|
+
params(
|
|
36
|
+
bulk_order_token: String,
|
|
37
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
38
|
+
).returns(Lithic::CardBulkOrder)
|
|
39
|
+
end
|
|
40
|
+
def retrieve(
|
|
41
|
+
# Globally unique identifier for the bulk order
|
|
42
|
+
bulk_order_token,
|
|
43
|
+
request_options: {}
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Update a bulk order **[BETA]**. Primarily used to lock the order, preventing
|
|
48
|
+
# additional cards from being added
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
bulk_order_token: String,
|
|
52
|
+
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
53
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
54
|
+
).returns(Lithic::CardBulkOrder)
|
|
55
|
+
end
|
|
56
|
+
def update(
|
|
57
|
+
# Globally unique identifier for the bulk order
|
|
58
|
+
bulk_order_token,
|
|
59
|
+
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
60
|
+
status:,
|
|
61
|
+
request_options: {}
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# List bulk orders for physical card shipments **[BETA]**
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
begin_: Time,
|
|
69
|
+
end_: Time,
|
|
70
|
+
ending_before: String,
|
|
71
|
+
page_size: Integer,
|
|
72
|
+
starting_after: String,
|
|
73
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
74
|
+
).returns(Lithic::Internal::CursorPage[Lithic::CardBulkOrder])
|
|
75
|
+
end
|
|
76
|
+
def list(
|
|
77
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
78
|
+
# will be included. UTC time zone.
|
|
79
|
+
begin_: nil,
|
|
80
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
81
|
+
# will be included. UTC time zone.
|
|
82
|
+
end_: nil,
|
|
83
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
84
|
+
# Used to retrieve the previous page of results before this item.
|
|
85
|
+
ending_before: nil,
|
|
86
|
+
# Page size (for pagination).
|
|
87
|
+
page_size: nil,
|
|
88
|
+
# A cursor representing an item's token after which a page of results should
|
|
89
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
90
|
+
starting_after: nil,
|
|
91
|
+
request_options: {}
|
|
92
|
+
)
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# @api private
|
|
96
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
97
|
+
def self.new(client:)
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -12,9 +12,7 @@ module Lithic
|
|
|
12
12
|
last_transaction_event_token: String,
|
|
13
13
|
request_options: Lithic::RequestOptions::OrHash
|
|
14
14
|
).returns(
|
|
15
|
-
Lithic::Internal::SinglePage[
|
|
16
|
-
Lithic::Models::Cards::BalanceListResponse
|
|
17
|
-
]
|
|
15
|
+
Lithic::Internal::SinglePage[Lithic::FinancialAccountBalance]
|
|
18
16
|
)
|
|
19
17
|
end
|
|
20
18
|
def list(
|
|
@@ -18,6 +18,7 @@ module Lithic
|
|
|
18
18
|
params(
|
|
19
19
|
type: Lithic::CardCreateParams::Type::OrSymbol,
|
|
20
20
|
account_token: String,
|
|
21
|
+
bulk_order_token: String,
|
|
21
22
|
card_program_token: String,
|
|
22
23
|
carrier: Lithic::Carrier::OrHash,
|
|
23
24
|
digital_card_art_token: String,
|
|
@@ -62,6 +63,10 @@ module Lithic
|
|
|
62
63
|
# [/account_holders endpoint](https://docs.lithic.com/docs/account-holders-kyc).
|
|
63
64
|
# See [Managing Your Program](doc:managing-your-program) for more information.
|
|
64
65
|
account_token: nil,
|
|
66
|
+
# Globally unique identifier for an existing bulk order to associate this card
|
|
67
|
+
# with. When specified, the card will be added to the bulk order for batch
|
|
68
|
+
# shipment. Only applicable to cards of type PHYSICAL
|
|
69
|
+
bulk_order_token: nil,
|
|
65
70
|
# For card programs with more than one BIN range. This must be configured with
|
|
66
71
|
# Lithic before use. Identifies the card program/BIN range under which to create
|
|
67
72
|
# the card. If omitted, will utilize the program's default `card_program_token`.
|
|
@@ -147,6 +152,7 @@ module Lithic
|
|
|
147
152
|
# tracking
|
|
148
153
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
149
154
|
# or similar international option, with tracking
|
|
155
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
150
156
|
shipping_method: nil,
|
|
151
157
|
# Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
|
|
152
158
|
# $1,000 limit). Transaction requests above the spend limit will be declined. Note
|
|
@@ -374,6 +380,7 @@ module Lithic
|
|
|
374
380
|
# tracking
|
|
375
381
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
376
382
|
# or similar international option, with tracking
|
|
383
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
377
384
|
shipping_method: nil,
|
|
378
385
|
request_options: {}
|
|
379
386
|
)
|
|
@@ -509,6 +516,7 @@ module Lithic
|
|
|
509
516
|
# tracking
|
|
510
517
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
511
518
|
# or similar international option, with tracking
|
|
519
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
512
520
|
shipping_method: nil,
|
|
513
521
|
request_options: {}
|
|
514
522
|
)
|
|
@@ -565,6 +573,7 @@ module Lithic
|
|
|
565
573
|
# tracking
|
|
566
574
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
567
575
|
# or similar international option, with tracking
|
|
576
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
568
577
|
shipping_method: nil,
|
|
569
578
|
request_options: {}
|
|
570
579
|
)
|
|
@@ -610,16 +619,28 @@ module Lithic
|
|
|
610
619
|
sig do
|
|
611
620
|
params(
|
|
612
621
|
card_token: String,
|
|
622
|
+
client_device_id: String,
|
|
623
|
+
client_wallet_account_id: String,
|
|
613
624
|
digital_wallet:
|
|
614
625
|
Lithic::CardWebProvisionParams::DigitalWallet::OrSymbol,
|
|
626
|
+
server_session_id: String,
|
|
615
627
|
request_options: Lithic::RequestOptions::OrHash
|
|
616
|
-
).returns(Lithic::Models::CardWebProvisionResponse)
|
|
628
|
+
).returns(Lithic::Models::CardWebProvisionResponse::Variants)
|
|
617
629
|
end
|
|
618
630
|
def web_provision(
|
|
619
631
|
# The unique token of the card to add to the device's digital wallet.
|
|
620
632
|
card_token,
|
|
633
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
634
|
+
# Provisioning device identifier required for the tokenization flow
|
|
635
|
+
client_device_id: nil,
|
|
636
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
637
|
+
# Provisioning wallet account identifier required for the tokenization flow
|
|
638
|
+
client_wallet_account_id: nil,
|
|
621
639
|
# Name of digital wallet provider.
|
|
622
640
|
digital_wallet: nil,
|
|
641
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
642
|
+
# Provisioning session identifier required for the FPAN flow.
|
|
643
|
+
server_session_id: nil,
|
|
623
644
|
request_options: {}
|
|
624
645
|
)
|
|
625
646
|
end
|
|
@@ -12,7 +12,7 @@ module Lithic
|
|
|
12
12
|
customer_filed_date: Time,
|
|
13
13
|
customer_note: String,
|
|
14
14
|
request_options: Lithic::RequestOptions::OrHash
|
|
15
|
-
).returns(Lithic::
|
|
15
|
+
).returns(Lithic::Dispute)
|
|
16
16
|
end
|
|
17
17
|
def create(
|
|
18
18
|
# Amount to dispute
|
|
@@ -34,7 +34,7 @@ module Lithic
|
|
|
34
34
|
params(
|
|
35
35
|
dispute_token: String,
|
|
36
36
|
request_options: Lithic::RequestOptions::OrHash
|
|
37
|
-
).returns(Lithic::
|
|
37
|
+
).returns(Lithic::Dispute)
|
|
38
38
|
end
|
|
39
39
|
def retrieve(dispute_token, request_options: {})
|
|
40
40
|
end
|
|
@@ -48,7 +48,7 @@ module Lithic
|
|
|
48
48
|
customer_note: String,
|
|
49
49
|
reason: Lithic::DisputeUpdateParams::Reason::OrSymbol,
|
|
50
50
|
request_options: Lithic::RequestOptions::OrHash
|
|
51
|
-
).returns(Lithic::
|
|
51
|
+
).returns(Lithic::Dispute)
|
|
52
52
|
end
|
|
53
53
|
def update(
|
|
54
54
|
dispute_token,
|
|
@@ -75,9 +75,7 @@ module Lithic
|
|
|
75
75
|
status: Lithic::DisputeListParams::Status::OrSymbol,
|
|
76
76
|
transaction_tokens: T::Array[String],
|
|
77
77
|
request_options: Lithic::RequestOptions::OrHash
|
|
78
|
-
).returns(
|
|
79
|
-
Lithic::Internal::CursorPage[Lithic::Models::DisputeListResponse]
|
|
80
|
-
)
|
|
78
|
+
).returns(Lithic::Internal::CursorPage[Lithic::Dispute])
|
|
81
79
|
end
|
|
82
80
|
def list(
|
|
83
81
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
@@ -107,7 +105,7 @@ module Lithic
|
|
|
107
105
|
params(
|
|
108
106
|
dispute_token: String,
|
|
109
107
|
request_options: Lithic::RequestOptions::OrHash
|
|
110
|
-
).returns(Lithic::
|
|
108
|
+
).returns(Lithic::Dispute)
|
|
111
109
|
end
|
|
112
110
|
def delete(dispute_token, request_options: {})
|
|
113
111
|
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class DisputesV2
|
|
6
|
+
# Retrieves a specific dispute by its token.
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
dispute_token: String,
|
|
10
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
11
|
+
).returns(Lithic::DisputeV2)
|
|
12
|
+
end
|
|
13
|
+
def retrieve(
|
|
14
|
+
# Token of the dispute to retrieve.
|
|
15
|
+
dispute_token,
|
|
16
|
+
request_options: {}
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# Returns a paginated list of disputes.
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
account_token: String,
|
|
24
|
+
begin_: Time,
|
|
25
|
+
card_token: String,
|
|
26
|
+
disputed_transaction_token: String,
|
|
27
|
+
end_: Time,
|
|
28
|
+
ending_before: String,
|
|
29
|
+
page_size: Integer,
|
|
30
|
+
starting_after: String,
|
|
31
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
32
|
+
).returns(Lithic::Internal::CursorPage[Lithic::DisputeV2])
|
|
33
|
+
end
|
|
34
|
+
def list(
|
|
35
|
+
# Filter by account token.
|
|
36
|
+
account_token: nil,
|
|
37
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
38
|
+
begin_: nil,
|
|
39
|
+
# Filter by card token.
|
|
40
|
+
card_token: nil,
|
|
41
|
+
# Filter by the token of the transaction being disputed. Corresponds with
|
|
42
|
+
# transaction_series.related_transaction_token in the Dispute.
|
|
43
|
+
disputed_transaction_token: nil,
|
|
44
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
45
|
+
end_: nil,
|
|
46
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
47
|
+
# Used to retrieve the previous page of results before this item.
|
|
48
|
+
ending_before: nil,
|
|
49
|
+
# Number of items to return.
|
|
50
|
+
page_size: nil,
|
|
51
|
+
# A cursor representing an item's token after which a page of results should
|
|
52
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
53
|
+
starting_after: nil,
|
|
54
|
+
request_options: {}
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# @api private
|
|
59
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
60
|
+
def self.new(client:)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -188,7 +188,7 @@ module Lithic
|
|
|
188
188
|
external_bank_account_token: String,
|
|
189
189
|
financial_account_token: String,
|
|
190
190
|
request_options: Lithic::RequestOptions::OrHash
|
|
191
|
-
).returns(Lithic::
|
|
191
|
+
).returns(Lithic::ExternalBankAccount)
|
|
192
192
|
end
|
|
193
193
|
def retry_prenote(
|
|
194
194
|
external_bank_account_token,
|
|
@@ -197,6 +197,16 @@ module Lithic
|
|
|
197
197
|
)
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
+
# Unpause an external bank account
|
|
201
|
+
sig do
|
|
202
|
+
params(
|
|
203
|
+
external_bank_account_token: String,
|
|
204
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
205
|
+
).returns(Lithic::ExternalBankAccount)
|
|
206
|
+
end
|
|
207
|
+
def unpause(external_bank_account_token, request_options: {})
|
|
208
|
+
end
|
|
209
|
+
|
|
200
210
|
# @api private
|
|
201
211
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
202
212
|
def self.new(client:)
|
|
@@ -12,9 +12,7 @@ module Lithic
|
|
|
12
12
|
last_transaction_event_token: String,
|
|
13
13
|
request_options: Lithic::RequestOptions::OrHash
|
|
14
14
|
).returns(
|
|
15
|
-
Lithic::Internal::SinglePage[
|
|
16
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse
|
|
17
|
-
]
|
|
15
|
+
Lithic::Internal::SinglePage[Lithic::FinancialAccountBalance]
|
|
18
16
|
)
|
|
19
17
|
end
|
|
20
18
|
def list(
|
|
@@ -8,7 +8,7 @@ module Lithic
|
|
|
8
8
|
params(
|
|
9
9
|
funding_event_token: String,
|
|
10
10
|
request_options: Lithic::RequestOptions::OrHash
|
|
11
|
-
).returns(Lithic::
|
|
11
|
+
).returns(Lithic::FundingEvent)
|
|
12
12
|
end
|
|
13
13
|
def retrieve(
|
|
14
14
|
# Globally unique identifier for funding event.
|
|
@@ -24,9 +24,7 @@ module Lithic
|
|
|
24
24
|
page_size: Integer,
|
|
25
25
|
starting_after: String,
|
|
26
26
|
request_options: Lithic::RequestOptions::OrHash
|
|
27
|
-
).returns(
|
|
28
|
-
Lithic::Internal::CursorPage[Lithic::Models::FundingEventListResponse]
|
|
29
|
-
)
|
|
27
|
+
).returns(Lithic::Internal::CursorPage[Lithic::FundingEvent])
|
|
30
28
|
end
|
|
31
29
|
def list(
|
|
32
30
|
# A cursor representing an item's token before which a page of results should end.
|
|
@@ -97,6 +97,52 @@ module Lithic
|
|
|
97
97
|
def retry_(payment_token, request_options: {})
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
+
# Return an ACH payment with a specified return reason code. Returns must be
|
|
101
|
+
# initiated within the time window specified by NACHA rules for each return code
|
|
102
|
+
# (typically 2 banking days for most codes, 60 calendar days for unauthorized
|
|
103
|
+
# debits). For a complete list of return codes and their meanings, see the
|
|
104
|
+
# [ACH Return Reasons documentation](https://docs.lithic.com/docs/ach-overview#ach-return-reasons).
|
|
105
|
+
#
|
|
106
|
+
# Note:
|
|
107
|
+
#
|
|
108
|
+
# - This endpoint does not modify the state of the financial account associated
|
|
109
|
+
# with the payment. If you would like to change the account state, use the
|
|
110
|
+
# [Update financial account status](https://docs.lithic.com/reference/updatefinancialaccountstatus)
|
|
111
|
+
# endpoint.
|
|
112
|
+
# - By default this endpoint is not enabled for your account. Please contact your
|
|
113
|
+
# implementations manager to enable this feature.
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
payment_token: String,
|
|
117
|
+
financial_account_token: String,
|
|
118
|
+
return_reason_code: String,
|
|
119
|
+
addenda: T.nilable(String),
|
|
120
|
+
date_of_death: T.nilable(Date),
|
|
121
|
+
memo: T.nilable(String),
|
|
122
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
123
|
+
).returns(Lithic::Payment)
|
|
124
|
+
end
|
|
125
|
+
def return_(
|
|
126
|
+
payment_token,
|
|
127
|
+
# Globally unique identifier for the financial account
|
|
128
|
+
financial_account_token:,
|
|
129
|
+
# ACH return reason code indicating the reason for returning the payment.
|
|
130
|
+
# Supported codes include R01-R53 and R80-R85. For a complete list of return codes
|
|
131
|
+
# and their meanings, see
|
|
132
|
+
# [ACH Return Reasons](https://docs.lithic.com/docs/ach-overview#ach-return-reasons)
|
|
133
|
+
return_reason_code:,
|
|
134
|
+
# Optional additional information about the return. Limited to 44 characters
|
|
135
|
+
addenda: nil,
|
|
136
|
+
# Date of death in YYYY-MM-DD format. Required when using return codes **R14**
|
|
137
|
+
# (representative payee deceased) or **R15** (beneficiary or account holder
|
|
138
|
+
# deceased)
|
|
139
|
+
date_of_death: nil,
|
|
140
|
+
# Optional memo for the return. Limited to 10 characters
|
|
141
|
+
memo: nil,
|
|
142
|
+
request_options: {}
|
|
143
|
+
)
|
|
144
|
+
end
|
|
145
|
+
|
|
100
146
|
# Simulate payment lifecycle event
|
|
101
147
|
sig do
|
|
102
148
|
params(
|
|
@@ -10,9 +10,7 @@ module Lithic
|
|
|
10
10
|
params(
|
|
11
11
|
token: String,
|
|
12
12
|
request_options: Lithic::RequestOptions::OrHash
|
|
13
|
-
).returns(
|
|
14
|
-
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse
|
|
15
|
-
)
|
|
13
|
+
).returns(Lithic::NetworkTotal)
|
|
16
14
|
end
|
|
17
15
|
def retrieve(
|
|
18
16
|
# Token of the network total record to retrieve
|
|
@@ -37,11 +35,7 @@ module Lithic
|
|
|
37
35
|
settlement_institution_id: String,
|
|
38
36
|
starting_after: String,
|
|
39
37
|
request_options: Lithic::RequestOptions::OrHash
|
|
40
|
-
).returns(
|
|
41
|
-
Lithic::Internal::CursorPage[
|
|
42
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse
|
|
43
|
-
]
|
|
44
|
-
)
|
|
38
|
+
).returns(Lithic::Internal::CursorPage[Lithic::NetworkTotal])
|
|
45
39
|
end
|
|
46
40
|
def list(
|
|
47
41
|
# Datetime in RFC 3339 format. Only entries created after the specified time will
|
|
@@ -9,7 +9,7 @@ module Lithic
|
|
|
9
9
|
params(
|
|
10
10
|
three_ds_authentication_token: String,
|
|
11
11
|
request_options: Lithic::RequestOptions::OrHash
|
|
12
|
-
).returns(Lithic::
|
|
12
|
+
).returns(Lithic::ThreeDSAuthentication)
|
|
13
13
|
end
|
|
14
14
|
def retrieve(
|
|
15
15
|
# Globally unique identifier for the 3DS authentication.
|
|
@@ -164,7 +164,7 @@ module Lithic
|
|
|
164
164
|
wallet_recommended_decision:
|
|
165
165
|
Lithic::TokenizationSimulateParams::WalletRecommendedDecision::OrSymbol,
|
|
166
166
|
request_options: Lithic::RequestOptions::OrHash
|
|
167
|
-
).returns(Lithic::
|
|
167
|
+
).returns(Lithic::Tokenization)
|
|
168
168
|
end
|
|
169
169
|
def simulate(
|
|
170
170
|
# The three digit cvv for the card.
|
|
@@ -223,7 +223,7 @@ module Lithic
|
|
|
223
223
|
tokenization_token: String,
|
|
224
224
|
digital_card_art_token: String,
|
|
225
225
|
request_options: Lithic::RequestOptions::OrHash
|
|
226
|
-
).returns(Lithic::
|
|
226
|
+
).returns(Lithic::Tokenization)
|
|
227
227
|
end
|
|
228
228
|
def update_digital_card_art(
|
|
229
229
|
# Tokenization token
|
data/sig/lithic/client.rbs
CHANGED
|
@@ -29,12 +29,16 @@ module Lithic
|
|
|
29
29
|
|
|
30
30
|
attr_reader cards: Lithic::Resources::Cards
|
|
31
31
|
|
|
32
|
+
attr_reader card_bulk_orders: Lithic::Resources::CardBulkOrders
|
|
33
|
+
|
|
32
34
|
attr_reader balances: Lithic::Resources::Balances
|
|
33
35
|
|
|
34
36
|
attr_reader aggregate_balances: Lithic::Resources::AggregateBalances
|
|
35
37
|
|
|
36
38
|
attr_reader disputes: Lithic::Resources::Disputes
|
|
37
39
|
|
|
40
|
+
attr_reader disputes_v2: Lithic::Resources::DisputesV2
|
|
41
|
+
|
|
38
42
|
attr_reader events: Lithic::Resources::Events
|
|
39
43
|
|
|
40
44
|
attr_reader transfers: Lithic::Resources::Transfers
|
|
@@ -65,6 +69,8 @@ module Lithic
|
|
|
65
69
|
|
|
66
70
|
attr_reader management_operations: Lithic::Resources::ManagementOperations
|
|
67
71
|
|
|
72
|
+
attr_reader internal_transaction: Lithic::Resources::InternalTransaction
|
|
73
|
+
|
|
68
74
|
attr_reader funding_events: Lithic::Resources::FundingEvents
|
|
69
75
|
|
|
70
76
|
attr_reader fraud: Lithic::Resources::Fraud
|
|
@@ -111,6 +111,8 @@ module Lithic
|
|
|
111
111
|
| :CARD
|
|
112
112
|
| :EXTERNAL_ACH
|
|
113
113
|
| :EXTERNAL_CHECK
|
|
114
|
+
| :EXTERNAL_FEDNOW
|
|
115
|
+
| :EXTERNAL_RTP
|
|
114
116
|
| :EXTERNAL_TRANSFER
|
|
115
117
|
| :EXTERNAL_WIRE
|
|
116
118
|
| :MANAGEMENT_ADJUSTMENT
|
|
@@ -133,6 +135,8 @@ module Lithic
|
|
|
133
135
|
CARD: :CARD
|
|
134
136
|
EXTERNAL_ACH: :EXTERNAL_ACH
|
|
135
137
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
138
|
+
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
139
|
+
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
136
140
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
137
141
|
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
|
138
142
|
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|