lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19
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 +4 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
- 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 +7 -2
- 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/non_pci_card.rb +73 -28
- 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 +161 -53
- 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 +2 -1
- 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 +8 -2
- 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/non_pci_card.rbi +78 -2
- 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/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
- metadata +8 -5
@@ -86,18 +86,40 @@ module Lithic
|
|
86
86
|
required :updated, Time
|
87
87
|
|
88
88
|
# @!method initialize(token:, category:, created:, currency:, events:, from_financial_account_token:, pending_amount:, result:, settled_amount:, status:, to_financial_account_token:, updated:)
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# @param
|
93
|
-
#
|
94
|
-
#
|
95
|
-
# @param
|
96
|
-
#
|
97
|
-
# @param
|
98
|
-
#
|
99
|
-
# @param
|
100
|
-
#
|
89
|
+
# Some parameter documentations has been truncated, see
|
90
|
+
# {Lithic::Models::BookTransferResponse} for more details.
|
91
|
+
#
|
92
|
+
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
93
|
+
# ...
|
94
|
+
#
|
95
|
+
# @param category [Symbol, Lithic::Models::BookTransferResponse::Category] Category of the book transfer
|
96
|
+
#
|
97
|
+
# @param created [Time] Date and time when the transfer occurred. UTC time zone.
|
98
|
+
#
|
99
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the settling currency of the transactio
|
100
|
+
# ...
|
101
|
+
#
|
102
|
+
# @param events [Array<Lithic::Models::BookTransferResponse::Event>] A list of all financial events that have modified this transfer.
|
103
|
+
#
|
104
|
+
# @param from_financial_account_token [String] Globally unique identifier for the financial account or card that will send the
|
105
|
+
# ...
|
106
|
+
#
|
107
|
+
# @param pending_amount [Integer] Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
108
|
+
# ...
|
109
|
+
#
|
110
|
+
# @param result [Symbol, Lithic::Models::BookTransferResponse::Result] APPROVED transactions were successful while DECLINED transactions were declined
|
111
|
+
# ...
|
112
|
+
#
|
113
|
+
# @param settled_amount [Integer] Amount of the transaction that has been settled in the currency's smallest unit
|
114
|
+
# ...
|
115
|
+
#
|
116
|
+
# @param status [Symbol, Lithic::Models::BookTransferResponse::Status] Status types: _ `DECLINED` - The transfer was declined. _ `REVERSED` - The trans
|
117
|
+
# ...
|
118
|
+
#
|
119
|
+
# @param to_financial_account_token [Object] Globally unique identifier for the financial account or card that will receive t
|
120
|
+
# ...
|
121
|
+
#
|
122
|
+
# @param updated [Time] Date and time when the financial transaction was last updated. UTC time zone.
|
101
123
|
|
102
124
|
# Category of the book transfer
|
103
125
|
#
|
@@ -170,14 +192,26 @@ module Lithic
|
|
170
192
|
required :type, String
|
171
193
|
|
172
194
|
# @!method initialize(token:, amount:, created:, detailed_results:, memo:, result:, subtype:, type:)
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
# @param
|
177
|
-
#
|
178
|
-
# @param
|
179
|
-
#
|
180
|
-
#
|
195
|
+
# Some parameter documentations has been truncated, see
|
196
|
+
# {Lithic::Models::BookTransferResponse::Event} for more details.
|
197
|
+
#
|
198
|
+
# @param token [String] Globally unique identifier.
|
199
|
+
#
|
200
|
+
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
201
|
+
# ...
|
202
|
+
#
|
203
|
+
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
204
|
+
#
|
205
|
+
# @param detailed_results [Array<Symbol, Lithic::Models::BookTransferResponse::Event::DetailedResult>] Detailed Results
|
206
|
+
#
|
207
|
+
# @param memo [String] Memo for the transfer.
|
208
|
+
#
|
209
|
+
# @param result [Symbol, Lithic::Models::BookTransferResponse::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
210
|
+
# ...
|
211
|
+
#
|
212
|
+
# @param subtype [String] The program specific subtype code for the specified category/type.
|
213
|
+
#
|
214
|
+
# @param type [String] Type of the book transfer
|
181
215
|
|
182
216
|
module DetailedResult
|
183
217
|
extend Lithic::Internal::Type::Enum
|
@@ -14,7 +14,8 @@ module Lithic
|
|
14
14
|
optional :memo, String
|
15
15
|
|
16
16
|
# @!method initialize(memo: nil, request_options: {})
|
17
|
-
# @param memo [String]
|
17
|
+
# @param memo [String] Optional descriptor for the reversal.
|
18
|
+
#
|
18
19
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
19
20
|
end
|
20
21
|
end
|
data/lib/lithic/models/card.rb
CHANGED
@@ -19,10 +19,15 @@ module Lithic
|
|
19
19
|
optional :pan, String
|
20
20
|
|
21
21
|
# @!method initialize(cvv: nil, pan: nil)
|
22
|
+
# Some parameter documentations has been truncated, see {Lithic::Models::Card} for
|
23
|
+
# more details.
|
24
|
+
#
|
22
25
|
# Card details with potentially PCI sensitive information for Enterprise customers
|
23
26
|
#
|
24
|
-
# @param cvv [String]
|
25
|
-
#
|
27
|
+
# @param cvv [String] Three digit cvv printed on the back of the card.
|
28
|
+
#
|
29
|
+
# @param pan [String] Primary Account Number (PAN) (i.e. the card number). Customers must be PCI compl
|
30
|
+
# ...
|
26
31
|
end
|
27
32
|
end
|
28
33
|
end
|
@@ -45,10 +45,18 @@ module Lithic
|
|
45
45
|
optional :shipping_method, enum: -> { Lithic::Models::CardConvertPhysicalParams::ShippingMethod }
|
46
46
|
|
47
47
|
# @!method initialize(shipping_address:, carrier: nil, product_id: nil, shipping_method: nil, request_options: {})
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# @param
|
48
|
+
# Some parameter documentations has been truncated, see
|
49
|
+
# {Lithic::Models::CardConvertPhysicalParams} for more details.
|
50
|
+
#
|
51
|
+
# @param shipping_address [Lithic::Models::ShippingAddress] The shipping address this card will be sent to.
|
52
|
+
#
|
53
|
+
# @param carrier [Lithic::Models::Carrier] If omitted, the previous carrier will be used.
|
54
|
+
#
|
55
|
+
# @param product_id [String] Specifies the configuration (e.g. physical card art) that the card should be man
|
56
|
+
# ...
|
57
|
+
#
|
58
|
+
# @param shipping_method [Symbol, Lithic::Models::CardConvertPhysicalParams::ShippingMethod] Shipping method for the card. Only applies to cards of type PHYSICAL. ...
|
59
|
+
#
|
52
60
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
53
61
|
|
54
62
|
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
@@ -177,23 +177,53 @@ module Lithic
|
|
177
177
|
optional :state, enum: -> { Lithic::Models::CardCreateParams::State }
|
178
178
|
|
179
179
|
# @!method initialize(type:, account_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_for: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, request_options: {})
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
180
|
+
# Some parameter documentations has been truncated, see
|
181
|
+
# {Lithic::Models::CardCreateParams} for more details.
|
182
|
+
#
|
183
|
+
# @param type [Symbol, Lithic::Models::CardCreateParams::Type] Card types: ...
|
184
|
+
#
|
185
|
+
# @param account_token [String] Globally unique identifier for the account that the card will be associated with
|
186
|
+
# ...
|
187
|
+
#
|
188
|
+
# @param card_program_token [String] For card programs with more than one BIN range. This must be configured with Lit
|
189
|
+
# ...
|
190
|
+
#
|
183
191
|
# @param carrier [Lithic::Models::Carrier]
|
184
|
-
#
|
185
|
-
# @param
|
186
|
-
#
|
187
|
-
#
|
188
|
-
# @param
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# @param
|
192
|
+
#
|
193
|
+
# @param digital_card_art_token [String] Specifies the digital card art to be displayed in the user’s digital wallet afte
|
194
|
+
# ...
|
195
|
+
#
|
196
|
+
# @param exp_month [String] Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
197
|
+
# ...
|
198
|
+
#
|
199
|
+
# @param exp_year [String] Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided
|
200
|
+
# ...
|
201
|
+
#
|
202
|
+
# @param memo [String] Friendly name to identify the card.
|
203
|
+
#
|
204
|
+
# @param pin [String] Encrypted PIN block (in base64). Applies to cards of type `PHYSICAL` and `VIRTUA
|
205
|
+
# ...
|
206
|
+
#
|
207
|
+
# @param product_id [String] Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
|
208
|
+
# ...
|
209
|
+
#
|
210
|
+
# @param replacement_account_token [String] Restricted field limited to select use cases. Lithic will reach out directly if
|
211
|
+
# ...
|
212
|
+
#
|
213
|
+
# @param replacement_for [String] Globally unique identifier for the card that this card will replace. If the card
|
214
|
+
# ...
|
215
|
+
#
|
192
216
|
# @param shipping_address [Lithic::Models::ShippingAddress]
|
193
|
-
#
|
194
|
-
# @param
|
195
|
-
#
|
196
|
-
# @param
|
217
|
+
#
|
218
|
+
# @param shipping_method [Symbol, Lithic::Models::CardCreateParams::ShippingMethod] Shipping method for the card. Only applies to cards of type PHYSICAL. ...
|
219
|
+
#
|
220
|
+
# @param spend_limit [Integer] Amount (in cents) to limit approved authorizations (e.g. 100000 would be a $1,00
|
221
|
+
# ...
|
222
|
+
#
|
223
|
+
# @param spend_limit_duration [Symbol, Lithic::Models::SpendLimitDuration] Spend limit duration values: ...
|
224
|
+
#
|
225
|
+
# @param state [Symbol, Lithic::Models::CardCreateParams::State] Card state values: ...
|
226
|
+
#
|
197
227
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
198
228
|
|
199
229
|
# Card types:
|
@@ -20,8 +20,10 @@ module Lithic
|
|
20
20
|
required :hmac, String
|
21
21
|
|
22
22
|
# @!method initialize(embed_request:, hmac:, request_options: {})
|
23
|
-
# @param embed_request [String]
|
24
|
-
#
|
23
|
+
# @param embed_request [String] A base64 encoded JSON string of an EmbedRequest to specify which card to load.
|
24
|
+
#
|
25
|
+
# @param hmac [String] SHA256 HMAC of the embed_request JSON string with base64 digest.
|
26
|
+
#
|
25
27
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
26
28
|
end
|
27
29
|
end
|
@@ -54,13 +54,27 @@ module Lithic
|
|
54
54
|
optional :state, enum: -> { Lithic::Models::CardListParams::State }
|
55
55
|
|
56
56
|
# @!method initialize(account_token: nil, begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, state: nil, request_options: {})
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# @param
|
61
|
-
#
|
62
|
-
# @param
|
63
|
-
#
|
57
|
+
# Some parameter documentations has been truncated, see
|
58
|
+
# {Lithic::Models::CardListParams} for more details.
|
59
|
+
#
|
60
|
+
# @param account_token [String] Returns cards associated with the specified account. ...
|
61
|
+
#
|
62
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
63
|
+
# ...
|
64
|
+
#
|
65
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
66
|
+
# ...
|
67
|
+
#
|
68
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
69
|
+
# ...
|
70
|
+
#
|
71
|
+
# @param page_size [Integer] Page size (for pagination).
|
72
|
+
#
|
73
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
74
|
+
# ...
|
75
|
+
#
|
76
|
+
# @param state [Symbol, Lithic::Models::CardListParams::State] Returns cards with the specified state. ...
|
77
|
+
#
|
64
78
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
65
79
|
|
66
80
|
# Returns cards with the specified state.
|
@@ -48,13 +48,23 @@ module Lithic
|
|
48
48
|
optional :settlement_currencies, Lithic::Internal::Type::ArrayOf[String]
|
49
49
|
|
50
50
|
# @!method initialize(token:, created:, name:, pan_range_end:, pan_range_start:, cardholder_currency: nil, settlement_currencies: nil)
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# @param
|
55
|
-
#
|
56
|
-
# @param
|
57
|
-
#
|
51
|
+
# Some parameter documentations has been truncated, see
|
52
|
+
# {Lithic::Models::CardProgram} for more details.
|
53
|
+
#
|
54
|
+
# @param token [String] Globally unique identifier.
|
55
|
+
#
|
56
|
+
# @param created [Time] Timestamp of when the card program was created.
|
57
|
+
#
|
58
|
+
# @param name [String] The name of the card program.
|
59
|
+
#
|
60
|
+
# @param pan_range_end [String] The first digits of the card number that this card program ends with.
|
61
|
+
#
|
62
|
+
# @param pan_range_start [String] The first digits of the card number that this card program starts with.
|
63
|
+
#
|
64
|
+
# @param cardholder_currency [String] 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
65
|
+
#
|
66
|
+
# @param settlement_currencies [Array<String>] List of 3-character alphabetic ISO 4217 codes for the currencies that the card p
|
67
|
+
# ...
|
58
68
|
end
|
59
69
|
end
|
60
70
|
end
|
@@ -28,9 +28,17 @@ module Lithic
|
|
28
28
|
optional :starting_after, String
|
29
29
|
|
30
30
|
# @!method initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
31
|
+
# Some parameter documentations has been truncated, see
|
32
|
+
# {Lithic::Models::CardProgramListParams} for more details.
|
33
|
+
#
|
34
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
35
|
+
# ...
|
36
|
+
#
|
37
|
+
# @param page_size [Integer] Page size (for pagination).
|
38
|
+
#
|
39
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
40
|
+
# ...
|
41
|
+
#
|
34
42
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
35
43
|
end
|
36
44
|
end
|
@@ -55,12 +55,26 @@ module Lithic
|
|
55
55
|
optional :nonce_signature, String
|
56
56
|
|
57
57
|
# @!method initialize(certificate: nil, client_device_id: nil, client_wallet_account_id: nil, digital_wallet: nil, nonce: nil, nonce_signature: nil, request_options: {})
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# @param
|
62
|
-
#
|
63
|
-
#
|
58
|
+
# Some parameter documentations has been truncated, see
|
59
|
+
# {Lithic::Models::CardProvisionParams} for more details.
|
60
|
+
#
|
61
|
+
# @param certificate [String] Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only `activa
|
62
|
+
# ...
|
63
|
+
#
|
64
|
+
# @param client_device_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the car
|
65
|
+
# ...
|
66
|
+
#
|
67
|
+
# @param client_wallet_account_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the car
|
68
|
+
# ...
|
69
|
+
#
|
70
|
+
# @param digital_wallet [Symbol, Lithic::Models::CardProvisionParams::DigitalWallet] Name of digital wallet provider.
|
71
|
+
#
|
72
|
+
# @param nonce [String] Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only `activa
|
73
|
+
# ...
|
74
|
+
#
|
75
|
+
# @param nonce_signature [String] Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only `activa
|
76
|
+
# ...
|
77
|
+
#
|
64
78
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
65
79
|
|
66
80
|
# Name of digital wallet provider.
|
@@ -45,10 +45,18 @@ module Lithic
|
|
45
45
|
optional :shipping_method, enum: -> { Lithic::Models::CardReissueParams::ShippingMethod }
|
46
46
|
|
47
47
|
# @!method initialize(carrier: nil, product_id: nil, shipping_address: nil, shipping_method: nil, request_options: {})
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# @param
|
48
|
+
# Some parameter documentations has been truncated, see
|
49
|
+
# {Lithic::Models::CardReissueParams} for more details.
|
50
|
+
#
|
51
|
+
# @param carrier [Lithic::Models::Carrier] If omitted, the previous carrier will be used.
|
52
|
+
#
|
53
|
+
# @param product_id [String] Specifies the configuration (e.g. physical card art) that the card should be man
|
54
|
+
# ...
|
55
|
+
#
|
56
|
+
# @param shipping_address [Lithic::Models::ShippingAddress] If omitted, the previous shipping address will be used.
|
57
|
+
#
|
58
|
+
# @param shipping_method [Symbol, Lithic::Models::CardReissueParams::ShippingMethod] Shipping method for the card. Only applies to cards of type PHYSICAL. ...
|
59
|
+
#
|
52
60
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
53
61
|
|
54
62
|
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
@@ -59,12 +59,24 @@ module Lithic
|
|
59
59
|
optional :shipping_method, enum: -> { Lithic::Models::CardRenewParams::ShippingMethod }
|
60
60
|
|
61
61
|
# @!method initialize(shipping_address:, carrier: nil, exp_month: nil, exp_year: nil, product_id: nil, shipping_method: nil, request_options: {})
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# @param
|
66
|
-
#
|
67
|
-
# @param
|
62
|
+
# Some parameter documentations has been truncated, see
|
63
|
+
# {Lithic::Models::CardRenewParams} for more details.
|
64
|
+
#
|
65
|
+
# @param shipping_address [Lithic::Models::ShippingAddress] The shipping address this card will be sent to.
|
66
|
+
#
|
67
|
+
# @param carrier [Lithic::Models::Carrier] If omitted, the previous carrier will be used.
|
68
|
+
#
|
69
|
+
# @param exp_month [String] Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
70
|
+
# ...
|
71
|
+
#
|
72
|
+
# @param exp_year [String] Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided
|
73
|
+
# ...
|
74
|
+
#
|
75
|
+
# @param product_id [String] Specifies the configuration (e.g. physical card art) that the card should be man
|
76
|
+
# ...
|
77
|
+
#
|
78
|
+
# @param shipping_method [Symbol, Lithic::Models::CardRenewParams::ShippingMethod] Shipping method for the card. Only applies to cards of type PHYSICAL. ...
|
79
|
+
#
|
68
80
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
69
81
|
|
70
82
|
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
@@ -14,7 +14,8 @@ module Lithic
|
|
14
14
|
required :pan, String
|
15
15
|
|
16
16
|
# @!method initialize(pan:, request_options: {})
|
17
|
-
# @param pan [String]
|
17
|
+
# @param pan [String] The PAN for the card being retrieved.
|
18
|
+
#
|
18
19
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
19
20
|
end
|
20
21
|
end
|
@@ -48,9 +48,17 @@ module Lithic
|
|
48
48
|
optional :monthly, Integer
|
49
49
|
|
50
50
|
# @!method initialize(annually: nil, forever: nil, monthly: nil)
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
51
|
+
# Some parameter documentations has been truncated, see
|
52
|
+
# {Lithic::Models::CardSpendLimits::AvailableSpendLimit} for more details.
|
53
|
+
#
|
54
|
+
# @param annually [Integer] The available spend limit (in cents) relative to the annual limit configured on
|
55
|
+
# ...
|
56
|
+
#
|
57
|
+
# @param forever [Integer] The available spend limit (in cents) relative to the forever limit configured on
|
58
|
+
# ...
|
59
|
+
#
|
60
|
+
# @param monthly [Integer] The available spend limit (in cents) relative to the monthly limit configured on
|
61
|
+
# ...
|
54
62
|
end
|
55
63
|
|
56
64
|
# @see Lithic::Models::CardSpendLimits#spend_limit
|
@@ -74,9 +82,11 @@ module Lithic
|
|
74
82
|
optional :monthly, Integer
|
75
83
|
|
76
84
|
# @!method initialize(annually: nil, forever: nil, monthly: nil)
|
77
|
-
# @param annually [Integer]
|
78
|
-
#
|
79
|
-
# @param
|
85
|
+
# @param annually [Integer] The configured annual spend limit (in cents) on the Card.
|
86
|
+
#
|
87
|
+
# @param forever [Integer] The configured forever spend limit (in cents) on the Card.
|
88
|
+
#
|
89
|
+
# @param monthly [Integer] The configured monthly spend limit (in cents) on the Card.
|
80
90
|
end
|
81
91
|
|
82
92
|
# @see Lithic::Models::CardSpendLimits#spend_velocity
|
@@ -103,9 +113,17 @@ module Lithic
|
|
103
113
|
optional :monthly, Integer
|
104
114
|
|
105
115
|
# @!method initialize(annually: nil, forever: nil, monthly: nil)
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
116
|
+
# Some parameter documentations has been truncated, see
|
117
|
+
# {Lithic::Models::CardSpendLimits::SpendVelocity} for more details.
|
118
|
+
#
|
119
|
+
# @param annually [Integer] Current annual spend velocity (in cents) on the Card. Present if annual spend li
|
120
|
+
# ...
|
121
|
+
#
|
122
|
+
# @param forever [Integer] Current forever spend velocity (in cents) on the Card. Present if forever spend
|
123
|
+
# ...
|
124
|
+
#
|
125
|
+
# @param monthly [Integer] Current monthly spend velocity (in cents) on the Card. Present if monthly spend
|
126
|
+
# ...
|
109
127
|
end
|
110
128
|
end
|
111
129
|
end
|
@@ -78,13 +78,27 @@ module Lithic
|
|
78
78
|
optional :state, enum: -> { Lithic::Models::CardUpdateParams::State }
|
79
79
|
|
80
80
|
# @!method initialize(digital_card_art_token: nil, memo: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, request_options: {})
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
# @param
|
85
|
-
#
|
86
|
-
#
|
87
|
-
# @param
|
81
|
+
# Some parameter documentations has been truncated, see
|
82
|
+
# {Lithic::Models::CardUpdateParams} for more details.
|
83
|
+
#
|
84
|
+
# @param digital_card_art_token [String] Specifies the digital card art to be displayed in the user’s digital wallet afte
|
85
|
+
# ...
|
86
|
+
#
|
87
|
+
# @param memo [String] Friendly name to identify the card.
|
88
|
+
#
|
89
|
+
# @param pin [String] Encrypted PIN block (in base64). Only applies to cards of type `PHYSICAL` and `V
|
90
|
+
# ...
|
91
|
+
#
|
92
|
+
# @param pin_status [Symbol, Lithic::Models::CardUpdateParams::PinStatus] Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
93
|
+
# ...
|
94
|
+
#
|
95
|
+
# @param spend_limit [Integer] Amount (in cents) to limit approved authorizations (e.g. 100000 would be a $1,00
|
96
|
+
# ...
|
97
|
+
#
|
98
|
+
# @param spend_limit_duration [Symbol, Lithic::Models::SpendLimitDuration] Spend limit duration values: ...
|
99
|
+
#
|
100
|
+
# @param state [Symbol, Lithic::Models::CardUpdateParams::State] Card state values: ...
|
101
|
+
#
|
88
102
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
89
103
|
|
90
104
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
@@ -21,8 +21,10 @@ module Lithic
|
|
21
21
|
optional :business_account_token, String
|
22
22
|
|
23
23
|
# @!method initialize(account_token: nil, business_account_token: nil, request_options: {})
|
24
|
-
# @param account_token [String]
|
25
|
-
#
|
24
|
+
# @param account_token [String] Cardholder to retrieve aggregate balances for.
|
25
|
+
#
|
26
|
+
# @param business_account_token [String] Business to retrieve aggregate balances for.
|
27
|
+
#
|
26
28
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
27
29
|
end
|
28
30
|
end
|
@@ -64,17 +64,32 @@ module Lithic
|
|
64
64
|
required :updated, Time
|
65
65
|
|
66
66
|
# @!method initialize(available_amount:, created:, currency:, last_card_token:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, updated:)
|
67
|
+
# Some parameter documentations has been truncated, see
|
68
|
+
# {Lithic::Models::Cards::AggregateBalanceListResponse} for more details.
|
69
|
+
#
|
67
70
|
# Card Aggregate Balance across all end-user accounts
|
68
71
|
#
|
69
|
-
# @param available_amount [Integer]
|
70
|
-
#
|
71
|
-
# @param
|
72
|
-
#
|
73
|
-
# @param
|
74
|
-
#
|
75
|
-
# @param
|
76
|
-
#
|
77
|
-
#
|
72
|
+
# @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
73
|
+
#
|
74
|
+
# @param created [Time] Date and time for when the balance was first created.
|
75
|
+
#
|
76
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
77
|
+
#
|
78
|
+
# @param last_card_token [String] Globally unique identifier for the card that had its balance updated most recent
|
79
|
+
# ...
|
80
|
+
#
|
81
|
+
# @param last_transaction_event_token [String] Globally unique identifier for the last transaction event that impacted this bal
|
82
|
+
# ...
|
83
|
+
#
|
84
|
+
# @param last_transaction_token [String] Globally unique identifier for the last transaction that impacted this balance
|
85
|
+
#
|
86
|
+
# @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
|
87
|
+
# ...
|
88
|
+
#
|
89
|
+
# @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
|
90
|
+
# ...
|
91
|
+
#
|
92
|
+
# @param updated [Time] Date and time for when the balance was last updated.
|
78
93
|
end
|
79
94
|
end
|
80
95
|
end
|
@@ -23,8 +23,13 @@ module Lithic
|
|
23
23
|
optional :last_transaction_event_token, String
|
24
24
|
|
25
25
|
# @!method initialize(balance_date: nil, last_transaction_event_token: nil, request_options: {})
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# Some parameter documentations has been truncated, see
|
27
|
+
# {Lithic::Models::Cards::BalanceListParams} for more details.
|
28
|
+
#
|
29
|
+
# @param balance_date [Time] UTC date of the balance to retrieve. Defaults to latest available balance
|
30
|
+
#
|
31
|
+
# @param last_transaction_event_token [String] Balance after a given financial event occured. ...
|
32
|
+
#
|
28
33
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
29
34
|
end
|
30
35
|
end
|
@@ -70,18 +70,34 @@ module Lithic
|
|
70
70
|
required :updated, Time
|
71
71
|
|
72
72
|
# @!method initialize(token:, available_amount:, created:, currency:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, type:, updated:)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {Lithic::Models::Cards::BalanceListResponse} for more details.
|
75
|
+
#
|
73
76
|
# Balance of a Financial Account
|
74
77
|
#
|
75
|
-
# @param token [String]
|
76
|
-
#
|
77
|
-
# @param
|
78
|
-
#
|
79
|
-
# @param
|
80
|
-
#
|
81
|
-
# @param
|
82
|
-
#
|
83
|
-
# @param
|
84
|
-
#
|
78
|
+
# @param token [String] Globally unique identifier for the financial account that holds this balance.
|
79
|
+
#
|
80
|
+
# @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
81
|
+
#
|
82
|
+
# @param created [Time] Date and time for when the balance was first created.
|
83
|
+
#
|
84
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
85
|
+
#
|
86
|
+
# @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
|
87
|
+
# ...
|
88
|
+
#
|
89
|
+
# @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
|
90
|
+
# ...
|
91
|
+
#
|
92
|
+
# @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
|
93
|
+
# ...
|
94
|
+
#
|
95
|
+
# @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
|
96
|
+
# ...
|
97
|
+
#
|
98
|
+
# @param type [Symbol, Lithic::Models::Cards::BalanceListResponse::Type] Type of financial account.
|
99
|
+
#
|
100
|
+
# @param updated [Time] Date and time for when the balance was last updated.
|
85
101
|
|
86
102
|
# Type of financial account.
|
87
103
|
#
|