lithic 0.1.0.pre.alpha.16 → 0.1.0.pre.alpha.18
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 +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +33 -0
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/{card_list_response.rb → non_pci_card.rb} +96 -51
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +177 -69
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -9
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +36 -0
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
data/lib/lithic/models/kyc.rb
CHANGED
@@ -41,11 +41,22 @@ module Lithic
|
|
41
41
|
optional :kyc_passed_timestamp, String
|
42
42
|
|
43
43
|
# @!method initialize(individual:, tos_timestamp:, workflow:, external_id: nil, kyc_passed_timestamp: nil)
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
# @param
|
48
|
-
#
|
44
|
+
# Some parameter documentations has been truncated, see {Lithic::Models::KYC} for
|
45
|
+
# more details.
|
46
|
+
#
|
47
|
+
# @param individual [Lithic::Models::KYC::Individual] Information on individual for whom the account is being opened and KYC is being
|
48
|
+
# ...
|
49
|
+
#
|
50
|
+
# @param tos_timestamp [String] An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
51
|
+
# ...
|
52
|
+
#
|
53
|
+
# @param workflow [Symbol, Lithic::Models::KYC::Workflow] Specifies the type of KYC workflow to run.
|
54
|
+
#
|
55
|
+
# @param external_id [String] A user provided id that can be used to link an account holder with an external s
|
56
|
+
# ...
|
57
|
+
#
|
58
|
+
# @param kyc_passed_timestamp [String] An RFC 3339 timestamp indicating when precomputed KYC was completed on the indiv
|
59
|
+
# ...
|
49
60
|
|
50
61
|
# @see Lithic::Models::KYC#individual
|
51
62
|
class Individual < Lithic::Internal::Type::BaseModel
|
@@ -97,16 +108,27 @@ module Lithic
|
|
97
108
|
required :phone_number, String
|
98
109
|
|
99
110
|
# @!method initialize(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number:)
|
111
|
+
# Some parameter documentations has been truncated, see
|
112
|
+
# {Lithic::Models::KYC::Individual} for more details.
|
113
|
+
#
|
100
114
|
# Information on individual for whom the account is being opened and KYC is being
|
101
115
|
# run.
|
102
116
|
#
|
103
|
-
# @param address [Lithic::Models::Address]
|
104
|
-
#
|
105
|
-
#
|
106
|
-
# @param
|
107
|
-
#
|
108
|
-
# @param
|
109
|
-
#
|
117
|
+
# @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
118
|
+
# ...
|
119
|
+
#
|
120
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
121
|
+
#
|
122
|
+
# @param email [String] Individual's email address. ...
|
123
|
+
#
|
124
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
125
|
+
#
|
126
|
+
# @param government_id [String] Government-issued identification number (required for identity verification and
|
127
|
+
# ...
|
128
|
+
#
|
129
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
130
|
+
#
|
131
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format. ...
|
110
132
|
end
|
111
133
|
|
112
134
|
# Specifies the type of KYC workflow to run.
|
@@ -62,15 +62,29 @@ module Lithic
|
|
62
62
|
optional :external_id, String
|
63
63
|
|
64
64
|
# @!method initialize(address:, email:, first_name:, kyc_exemption_type:, last_name:, phone_number:, workflow:, business_account_token: nil, external_id: nil)
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# @param
|
69
|
-
#
|
70
|
-
#
|
71
|
-
# @param
|
72
|
-
#
|
73
|
-
# @param
|
65
|
+
# Some parameter documentations has been truncated, see
|
66
|
+
# {Lithic::Models::KYCExempt} for more details.
|
67
|
+
#
|
68
|
+
# @param address [Lithic::Models::Address] KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
69
|
+
# ...
|
70
|
+
#
|
71
|
+
# @param email [String] The KYC Exempt user's email
|
72
|
+
#
|
73
|
+
# @param first_name [String] The KYC Exempt user's first name
|
74
|
+
#
|
75
|
+
# @param kyc_exemption_type [Symbol, Lithic::Models::KYCExempt::KYCExemptionType] Specifies the type of KYC Exempt user
|
76
|
+
#
|
77
|
+
# @param last_name [String] The KYC Exempt user's last name
|
78
|
+
#
|
79
|
+
# @param phone_number [String] The KYC Exempt user's phone number, entered in E.164 format.
|
80
|
+
#
|
81
|
+
# @param workflow [Symbol, Lithic::Models::KYCExempt::Workflow] Specifies the workflow type. This must be 'KYC_EXEMPT'
|
82
|
+
#
|
83
|
+
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
84
|
+
# ...
|
85
|
+
#
|
86
|
+
# @param external_id [String] A user provided id that can be used to link an account holder with an external s
|
87
|
+
# ...
|
74
88
|
|
75
89
|
# Specifies the type of KYC Exempt user
|
76
90
|
#
|
@@ -66,15 +66,32 @@ module Lithic
|
|
66
66
|
optional :status, enum: -> { Lithic::Models::ManagementOperationListParams::Status }
|
67
67
|
|
68
68
|
# @!method initialize(begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
|
69
|
-
#
|
69
|
+
# Some parameter documentations has been truncated, see
|
70
|
+
# {Lithic::Models::ManagementOperationListParams} for more details.
|
71
|
+
#
|
72
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
73
|
+
# ...
|
74
|
+
#
|
70
75
|
# @param business_account_token [String]
|
71
|
-
#
|
72
|
-
# @param
|
73
|
-
#
|
74
|
-
# @param
|
75
|
-
#
|
76
|
-
#
|
77
|
-
# @param
|
76
|
+
#
|
77
|
+
# @param category [Symbol, Lithic::Models::ManagementOperationListParams::Category] Management operation category to be returned.
|
78
|
+
#
|
79
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
80
|
+
# ...
|
81
|
+
#
|
82
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
83
|
+
# ...
|
84
|
+
#
|
85
|
+
# @param financial_account_token [String] Globally unique identifier for the financial account. Accepted type dependent on
|
86
|
+
# ...
|
87
|
+
#
|
88
|
+
# @param page_size [Integer] Page size (for pagination).
|
89
|
+
#
|
90
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
91
|
+
# ...
|
92
|
+
#
|
93
|
+
# @param status [Symbol, Lithic::Models::ManagementOperationListParams::Status] Management operation status to be returned.
|
94
|
+
#
|
78
95
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
79
96
|
|
80
97
|
# Management operation category to be returned.
|
@@ -54,15 +54,25 @@ module Lithic
|
|
54
54
|
required :url, String
|
55
55
|
|
56
56
|
# @!method initialize(token:, created:, event_subscription_token:, event_token:, response:, response_status_code:, status:, url:)
|
57
|
+
# Some parameter documentations has been truncated, see
|
58
|
+
# {Lithic::Models::MessageAttempt} for more details.
|
59
|
+
#
|
57
60
|
# A subscription to specific event types.
|
58
61
|
#
|
59
|
-
# @param token [String]
|
60
|
-
#
|
61
|
-
# @param
|
62
|
-
#
|
63
|
-
# @param
|
64
|
-
#
|
65
|
-
# @param
|
62
|
+
# @param token [String] Globally unique identifier.
|
63
|
+
#
|
64
|
+
# @param created [Time] An RFC 3339 timestamp for when the event was created. UTC time zone. ...
|
65
|
+
#
|
66
|
+
# @param event_subscription_token [String] Globally unique identifier.
|
67
|
+
#
|
68
|
+
# @param event_token [String] Globally unique identifier.
|
69
|
+
#
|
70
|
+
# @param response [String] The response body from the event subscription's URL.
|
71
|
+
#
|
72
|
+
# @param response_status_code [Integer] The response status code from the event subscription's URL.
|
73
|
+
#
|
74
|
+
# @param status [Symbol, Lithic::Models::MessageAttempt::Status] The status of the event attempt.
|
75
|
+
#
|
66
76
|
# @param url [String]
|
67
77
|
|
68
78
|
# The status of the event attempt.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::Cards#list
|
6
|
-
class
|
6
|
+
class NonPCICard < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# Globally unique identifier.
|
9
9
|
#
|
@@ -31,8 +31,8 @@ module Lithic
|
|
31
31
|
# @!attribute funding
|
32
32
|
# Deprecated: Funding account for the card.
|
33
33
|
#
|
34
|
-
# @return [Lithic::Models::
|
35
|
-
required :funding, -> { Lithic::Models::
|
34
|
+
# @return [Lithic::Models::NonPCICard::Funding]
|
35
|
+
required :funding, -> { Lithic::Models::NonPCICard::Funding }
|
36
36
|
|
37
37
|
# @!attribute last_four
|
38
38
|
# Last four digits of the card number.
|
@@ -44,8 +44,8 @@ module Lithic
|
|
44
44
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
45
45
|
# attempts).
|
46
46
|
#
|
47
|
-
# @return [Symbol, Lithic::Models::
|
48
|
-
required :pin_status, enum: -> { Lithic::Models::
|
47
|
+
# @return [Symbol, Lithic::Models::NonPCICard::PinStatus]
|
48
|
+
required :pin_status, enum: -> { Lithic::Models::NonPCICard::PinStatus }
|
49
49
|
|
50
50
|
# @!attribute spend_limit
|
51
51
|
# Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
|
@@ -57,8 +57,8 @@ module Lithic
|
|
57
57
|
# @!attribute spend_limit_duration
|
58
58
|
# Spend limit duration
|
59
59
|
#
|
60
|
-
# @return [Symbol, Lithic::Models::
|
61
|
-
required :spend_limit_duration, enum: -> { Lithic::Models::
|
60
|
+
# @return [Symbol, Lithic::Models::NonPCICard::SpendLimitDuration]
|
61
|
+
required :spend_limit_duration, enum: -> { Lithic::Models::NonPCICard::SpendLimitDuration }
|
62
62
|
|
63
63
|
# @!attribute state
|
64
64
|
# Card state values: _ `CLOSED` - Card will no longer approve authorizations.
|
@@ -77,8 +77,8 @@ module Lithic
|
|
77
77
|
# In sandbox, the same daily batch fulfillment occurs, but no cards are actually
|
78
78
|
# manufactured.
|
79
79
|
#
|
80
|
-
# @return [Symbol, Lithic::Models::
|
81
|
-
required :state, enum: -> { Lithic::Models::
|
80
|
+
# @return [Symbol, Lithic::Models::NonPCICard::State]
|
81
|
+
required :state, enum: -> { Lithic::Models::NonPCICard::State }
|
82
82
|
|
83
83
|
# @!attribute type
|
84
84
|
# Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added
|
@@ -92,8 +92,8 @@ module Lithic
|
|
92
92
|
# `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
93
93
|
# VIRTUAL instead.
|
94
94
|
#
|
95
|
-
# @return [Symbol, Lithic::Models::
|
96
|
-
required :type, enum: -> { Lithic::Models::
|
95
|
+
# @return [Symbol, Lithic::Models::NonPCICard::Type]
|
96
|
+
required :type, enum: -> { Lithic::Models::NonPCICard::Type }
|
97
97
|
|
98
98
|
# @!attribute auth_rule_tokens
|
99
99
|
# @deprecated
|
@@ -168,31 +168,63 @@ module Lithic
|
|
168
168
|
optional :replacement_for, String, nil?: true
|
169
169
|
|
170
170
|
# @!method initialize(token:, account_token:, card_program_token:, created:, funding:, last_four:, pin_status:, spend_limit:, spend_limit_duration:, state:, type:, auth_rule_tokens: nil, cardholder_currency: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, hostname: nil, memo: nil, pending_commands: nil, product_id: nil, replacement_for: nil)
|
171
|
+
# Some parameter documentations has been truncated, see
|
172
|
+
# {Lithic::Models::NonPCICard} for more details.
|
173
|
+
#
|
171
174
|
# Card details without PCI information
|
172
175
|
#
|
173
|
-
# @param token [String]
|
174
|
-
#
|
175
|
-
# @param
|
176
|
-
#
|
177
|
-
# @param
|
178
|
-
#
|
179
|
-
# @param
|
180
|
-
#
|
181
|
-
# @param
|
182
|
-
#
|
183
|
-
# @param
|
184
|
-
#
|
185
|
-
# @param
|
186
|
-
#
|
187
|
-
#
|
188
|
-
# @param
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# @param
|
192
|
-
#
|
193
|
-
# @param
|
194
|
-
|
195
|
-
#
|
176
|
+
# @param token [String] Globally unique identifier.
|
177
|
+
#
|
178
|
+
# @param account_token [String] Globally unique identifier for the account to which the card belongs.
|
179
|
+
#
|
180
|
+
# @param card_program_token [String] Globally unique identifier for the card program on which the card exists.
|
181
|
+
#
|
182
|
+
# @param created [Time] An RFC 3339 timestamp for when the card was created. UTC time zone.
|
183
|
+
#
|
184
|
+
# @param funding [Lithic::Models::NonPCICard::Funding] Deprecated: Funding account for the card.
|
185
|
+
#
|
186
|
+
# @param last_four [String] Last four digits of the card number.
|
187
|
+
#
|
188
|
+
# @param pin_status [Symbol, Lithic::Models::NonPCICard::PinStatus] Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
189
|
+
# ...
|
190
|
+
#
|
191
|
+
# @param spend_limit [Integer] Amount (in cents) to limit approved authorizations (e.g. 100000 would be a $1,00
|
192
|
+
# ...
|
193
|
+
#
|
194
|
+
# @param spend_limit_duration [Symbol, Lithic::Models::NonPCICard::SpendLimitDuration] Spend limit duration
|
195
|
+
#
|
196
|
+
# @param state [Symbol, Lithic::Models::NonPCICard::State] Card state values: \* `CLOSED` - Card will no longer approve authorizations.
|
197
|
+
# Clos ...
|
198
|
+
#
|
199
|
+
# @param type [Symbol, Lithic::Models::NonPCICard::Type] Card types: \* `VIRTUAL` - Card will authorize at any merchant and can be added
|
200
|
+
# t ...
|
201
|
+
#
|
202
|
+
# @param auth_rule_tokens [Array<String>] List of identifiers for the Auth Rule(s) that are applied on the card. This fiel
|
203
|
+
# ...
|
204
|
+
#
|
205
|
+
# @param cardholder_currency [String] 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
206
|
+
#
|
207
|
+
# @param digital_card_art_token [String] Specifies the digital card art to be displayed in the user's digital wallet afte
|
208
|
+
# ...
|
209
|
+
#
|
210
|
+
# @param exp_month [String] Two digit (MM) expiry month.
|
211
|
+
#
|
212
|
+
# @param exp_year [String] Four digit (yyyy) expiry year.
|
213
|
+
#
|
214
|
+
# @param hostname [String] Hostname of card's locked merchant (will be empty if not applicable).
|
215
|
+
#
|
216
|
+
# @param memo [String] Friendly name to identify the card.
|
217
|
+
#
|
218
|
+
# @param pending_commands [Array<String>] Indicates if there are offline PIN changes pending card interaction with an offl
|
219
|
+
# ...
|
220
|
+
#
|
221
|
+
# @param product_id [String] Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
|
222
|
+
# ...
|
223
|
+
#
|
224
|
+
# @param replacement_for [String, nil] If the card is a replacement for another card, the globally unique identifier fo
|
225
|
+
# ...
|
226
|
+
|
227
|
+
# @see Lithic::Models::NonPCICard#funding
|
196
228
|
class Funding < Lithic::Internal::Type::BaseModel
|
197
229
|
# @!attribute token
|
198
230
|
# A globally unique identifier for this FundingAccount.
|
@@ -220,15 +252,15 @@ module Lithic
|
|
220
252
|
# The funding account is still being verified e.g. bank micro-deposits
|
221
253
|
# verification. \* `DELETED` - The founding account has been deleted.
|
222
254
|
#
|
223
|
-
# @return [Symbol, Lithic::Models::
|
224
|
-
required :state, enum: -> { Lithic::Models::
|
255
|
+
# @return [Symbol, Lithic::Models::NonPCICard::Funding::State]
|
256
|
+
required :state, enum: -> { Lithic::Models::NonPCICard::Funding::State }
|
225
257
|
|
226
258
|
# @!attribute type
|
227
259
|
# Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
|
228
260
|
# `DEPOSITORY_SAVINGS` - Bank savings account.
|
229
261
|
#
|
230
|
-
# @return [Symbol, Lithic::Models::
|
231
|
-
required :type, enum: -> { Lithic::Models::
|
262
|
+
# @return [Symbol, Lithic::Models::NonPCICard::Funding::Type]
|
263
|
+
required :type, enum: -> { Lithic::Models::NonPCICard::Funding::Type }
|
232
264
|
|
233
265
|
# @!attribute account_name
|
234
266
|
# Account name identifying the funding source. This may be `null`.
|
@@ -243,22 +275,35 @@ module Lithic
|
|
243
275
|
optional :nickname, String
|
244
276
|
|
245
277
|
# @!method initialize(token:, created:, last_four:, state:, type:, account_name: nil, nickname: nil)
|
278
|
+
# Some parameter documentations has been truncated, see
|
279
|
+
# {Lithic::Models::NonPCICard::Funding} for more details.
|
280
|
+
#
|
246
281
|
# Deprecated: Funding account for the card.
|
247
282
|
#
|
248
|
-
# @param token [String]
|
249
|
-
#
|
250
|
-
# @param
|
251
|
-
#
|
252
|
-
#
|
253
|
-
# @param
|
254
|
-
#
|
283
|
+
# @param token [String] A globally unique identifier for this FundingAccount.
|
284
|
+
#
|
285
|
+
# @param created [Time] An RFC 3339 string representing when this funding source was added to the Lithic
|
286
|
+
# ...
|
287
|
+
#
|
288
|
+
# @param last_four [String] The last 4 digits of the account (e.g. bank account, debit card) associated with
|
289
|
+
# ...
|
290
|
+
#
|
291
|
+
# @param state [Symbol, Lithic::Models::NonPCICard::Funding::State] State of funding source. Funding source states: \* `ENABLED` - The funding
|
292
|
+
# accoun ...
|
293
|
+
#
|
294
|
+
# @param type [Symbol, Lithic::Models::NonPCICard::Funding::Type] Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _ `DEP
|
295
|
+
# ...
|
296
|
+
#
|
297
|
+
# @param account_name [String] Account name identifying the funding source. This may be `null`.
|
298
|
+
#
|
299
|
+
# @param nickname [String] The nickname given to the `FundingAccount` or `null` if it has no nickname.
|
255
300
|
|
256
301
|
# State of funding source. Funding source states: _ `ENABLED` - The funding
|
257
302
|
# account is available to use for card creation and transactions. _ `PENDING` -
|
258
303
|
# The funding account is still being verified e.g. bank micro-deposits
|
259
304
|
# verification. \* `DELETED` - The founding account has been deleted.
|
260
305
|
#
|
261
|
-
# @see Lithic::Models::
|
306
|
+
# @see Lithic::Models::NonPCICard::Funding#state
|
262
307
|
module State
|
263
308
|
extend Lithic::Internal::Type::Enum
|
264
309
|
|
@@ -273,7 +318,7 @@ module Lithic
|
|
273
318
|
# Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
|
274
319
|
# `DEPOSITORY_SAVINGS` - Bank savings account.
|
275
320
|
#
|
276
|
-
# @see Lithic::Models::
|
321
|
+
# @see Lithic::Models::NonPCICard::Funding#type
|
277
322
|
module Type
|
278
323
|
extend Lithic::Internal::Type::Enum
|
279
324
|
|
@@ -288,7 +333,7 @@ module Lithic
|
|
288
333
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
289
334
|
# attempts).
|
290
335
|
#
|
291
|
-
# @see Lithic::Models::
|
336
|
+
# @see Lithic::Models::NonPCICard#pin_status
|
292
337
|
module PinStatus
|
293
338
|
extend Lithic::Internal::Type::Enum
|
294
339
|
|
@@ -302,7 +347,7 @@ module Lithic
|
|
302
347
|
|
303
348
|
# Spend limit duration
|
304
349
|
#
|
305
|
-
# @see Lithic::Models::
|
350
|
+
# @see Lithic::Models::NonPCICard#spend_limit_duration
|
306
351
|
module SpendLimitDuration
|
307
352
|
extend Lithic::Internal::Type::Enum
|
308
353
|
|
@@ -332,7 +377,7 @@ module Lithic
|
|
332
377
|
# In sandbox, the same daily batch fulfillment occurs, but no cards are actually
|
333
378
|
# manufactured.
|
334
379
|
#
|
335
|
-
# @see Lithic::Models::
|
380
|
+
# @see Lithic::Models::NonPCICard#state
|
336
381
|
module State
|
337
382
|
extend Lithic::Internal::Type::Enum
|
338
383
|
|
@@ -357,7 +402,7 @@ module Lithic
|
|
357
402
|
# `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
358
403
|
# VIRTUAL instead.
|
359
404
|
#
|
360
|
-
# @see Lithic::Models::
|
405
|
+
# @see Lithic::Models::NonPCICard#type
|
361
406
|
module Type
|
362
407
|
extend Lithic::Internal::Type::Enum
|
363
408
|
|
@@ -122,25 +122,49 @@ module Lithic
|
|
122
122
|
optional :expected_release_date, Date
|
123
123
|
|
124
124
|
# @!method initialize(token:, category:, created:, currency:, descriptor:, direction:, events:, external_bank_account_token:, financial_account_token:, method_:, method_attributes:, pending_amount:, result:, settled_amount:, source:, status:, updated:, user_defined_id:, expected_release_date: nil)
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# @param
|
129
|
-
#
|
125
|
+
# Some parameter documentations has been truncated, see {Lithic::Models::Payment}
|
126
|
+
# for more details.
|
127
|
+
#
|
128
|
+
# @param token [String] Globally unique identifier.
|
129
|
+
#
|
130
|
+
# @param category [Symbol, Lithic::Models::Payment::Category] Payment category
|
131
|
+
#
|
132
|
+
# @param created [Time] Date and time when the payment first occurred. UTC time zone.
|
133
|
+
#
|
134
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the settling currency of the payment.
|
135
|
+
#
|
136
|
+
# @param descriptor [String] A string that provides a description of the payment; may be useful to display to
|
137
|
+
# ...
|
138
|
+
#
|
130
139
|
# @param direction [Symbol, Lithic::Models::Payment::Direction]
|
131
|
-
#
|
140
|
+
#
|
141
|
+
# @param events [Array<Lithic::Models::Payment::Event>] A list of all payment events that have modified this payment.
|
142
|
+
#
|
132
143
|
# @param external_bank_account_token [String, nil]
|
144
|
+
#
|
133
145
|
# @param financial_account_token [String]
|
146
|
+
#
|
134
147
|
# @param method_ [Symbol, Lithic::Models::Payment::Method]
|
148
|
+
#
|
135
149
|
# @param method_attributes [Lithic::Models::Payment::MethodAttributes]
|
136
|
-
#
|
137
|
-
# @param
|
138
|
-
#
|
150
|
+
#
|
151
|
+
# @param pending_amount [Integer] Pending amount of the payment in the currency's smallest unit (e.g., cents). ...
|
152
|
+
#
|
153
|
+
# @param result [Symbol, Lithic::Models::Payment::Result] APPROVED payments were successful while DECLINED payments were declined by Lithi
|
154
|
+
# ...
|
155
|
+
#
|
156
|
+
# @param settled_amount [Integer] Amount of the payment that has been settled in the currency's smallest unit (e.g
|
157
|
+
# ...
|
158
|
+
#
|
139
159
|
# @param source [Symbol, Lithic::Models::Payment::Source]
|
140
|
-
#
|
141
|
-
# @param
|
160
|
+
#
|
161
|
+
# @param status [Symbol, Lithic::Models::Payment::Status] Status types: ...
|
162
|
+
#
|
163
|
+
# @param updated [Time] Date and time when the financial transaction was last updated. UTC time zone.
|
164
|
+
#
|
142
165
|
# @param user_defined_id [String, nil]
|
143
|
-
#
|
166
|
+
#
|
167
|
+
# @param expected_release_date [Date] Date when the financial transaction expected to be released after settlement
|
144
168
|
|
145
169
|
# Payment category
|
146
170
|
#
|
@@ -225,12 +249,22 @@ module Lithic
|
|
225
249
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::Payment::Event::DetailedResult] }
|
226
250
|
|
227
251
|
# @!method initialize(token:, amount:, created:, result:, type:, detailed_results: nil)
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
# @param
|
232
|
-
#
|
233
|
-
# @param
|
252
|
+
# Some parameter documentations has been truncated, see
|
253
|
+
# {Lithic::Models::Payment::Event} for more details.
|
254
|
+
#
|
255
|
+
# @param token [String] Globally unique identifier.
|
256
|
+
#
|
257
|
+
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
258
|
+
# ...
|
259
|
+
#
|
260
|
+
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
261
|
+
#
|
262
|
+
# @param result [Symbol, Lithic::Models::Payment::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
263
|
+
# ...
|
264
|
+
#
|
265
|
+
# @param type [Symbol, Lithic::Models::Payment::Event::Type] Event types: ...
|
266
|
+
#
|
267
|
+
# @param detailed_results [Array<Symbol, Lithic::Models::Payment::Event::DetailedResult>] More detailed reasons for the event
|
234
268
|
|
235
269
|
# APPROVED financial events were successful while DECLINED financial events were
|
236
270
|
# declined by user, Lithic, or the network.
|
@@ -55,15 +55,28 @@ module Lithic
|
|
55
55
|
optional :user_defined_id, String
|
56
56
|
|
57
57
|
# @!method initialize(amount:, external_bank_account_token:, financial_account_token:, method_:, method_attributes:, type:, token: nil, memo: nil, user_defined_id: nil, request_options: {})
|
58
|
+
# Some parameter documentations has been truncated, see
|
59
|
+
# {Lithic::Models::PaymentCreateParams} for more details.
|
60
|
+
#
|
58
61
|
# @param amount [Integer]
|
62
|
+
#
|
59
63
|
# @param external_bank_account_token [String]
|
64
|
+
#
|
60
65
|
# @param financial_account_token [String]
|
66
|
+
#
|
61
67
|
# @param method_ [Symbol, Lithic::Models::PaymentCreateParams::Method]
|
68
|
+
#
|
62
69
|
# @param method_attributes [Lithic::Models::PaymentCreateParams::MethodAttributes]
|
70
|
+
#
|
63
71
|
# @param type [Symbol, Lithic::Models::PaymentCreateParams::Type]
|
64
|
-
#
|
72
|
+
#
|
73
|
+
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
74
|
+
# ...
|
75
|
+
#
|
65
76
|
# @param memo [String]
|
77
|
+
#
|
66
78
|
# @param user_defined_id [String]
|
79
|
+
#
|
67
80
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
68
81
|
|
69
82
|
module Method
|
@@ -72,17 +72,35 @@ module Lithic
|
|
72
72
|
optional :status, enum: -> { Lithic::Models::PaymentListParams::Status }
|
73
73
|
|
74
74
|
# @!method initialize(account_token: nil, begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
|
75
|
+
# Some parameter documentations has been truncated, see
|
76
|
+
# {Lithic::Models::PaymentListParams} for more details.
|
77
|
+
#
|
75
78
|
# @param account_token [String]
|
76
|
-
#
|
79
|
+
#
|
80
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
81
|
+
# ...
|
82
|
+
#
|
77
83
|
# @param business_account_token [String]
|
84
|
+
#
|
78
85
|
# @param category [Symbol, Lithic::Models::PaymentListParams::Category]
|
79
|
-
#
|
80
|
-
# @param
|
86
|
+
#
|
87
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
88
|
+
# ...
|
89
|
+
#
|
90
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
91
|
+
# ...
|
92
|
+
#
|
81
93
|
# @param financial_account_token [String]
|
82
|
-
#
|
94
|
+
#
|
95
|
+
# @param page_size [Integer] Page size (for pagination).
|
96
|
+
#
|
83
97
|
# @param result [Symbol, Lithic::Models::PaymentListParams::Result]
|
84
|
-
#
|
98
|
+
#
|
99
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
100
|
+
# ...
|
101
|
+
#
|
85
102
|
# @param status [Symbol, Lithic::Models::PaymentListParams::Status]
|
103
|
+
#
|
86
104
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
87
105
|
|
88
106
|
module Category
|
@@ -26,9 +26,12 @@ module Lithic
|
|
26
26
|
optional :return_reason_code, String
|
27
27
|
|
28
28
|
# @!method initialize(event_type:, decline_reason: nil, return_reason_code: nil, request_options: {})
|
29
|
-
# @param event_type [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType]
|
30
|
-
#
|
31
|
-
# @param
|
29
|
+
# @param event_type [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType] Event Type
|
30
|
+
#
|
31
|
+
# @param decline_reason [Symbol, Lithic::Models::PaymentSimulateActionParams::DeclineReason] Decline reason
|
32
|
+
#
|
33
|
+
# @param return_reason_code [String] Return Reason Code
|
34
|
+
#
|
32
35
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
33
36
|
|
34
37
|
# Event Type
|
@@ -23,9 +23,11 @@ module Lithic
|
|
23
23
|
required :transaction_event_token, String
|
24
24
|
|
25
25
|
# @!method initialize(debugging_request_id:, result:, transaction_event_token:)
|
26
|
-
# @param debugging_request_id [String]
|
27
|
-
#
|
28
|
-
# @param
|
26
|
+
# @param debugging_request_id [String] Debugging Request Id
|
27
|
+
#
|
28
|
+
# @param result [Symbol, Lithic::Models::PaymentSimulateActionResponse::Result] Request Result
|
29
|
+
#
|
30
|
+
# @param transaction_event_token [String] Transaction Event Token
|
29
31
|
|
30
32
|
# Request Result
|
31
33
|
#
|