lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8
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/README.md +8 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
- data/lib/lithic/internal/type/array_of.rb +12 -2
- data/lib/lithic/internal/type/base_model.rb +23 -22
- data/lib/lithic/internal/type/boolean.rb +5 -1
- data/lib/lithic/internal/type/converter.rb +62 -39
- data/lib/lithic/internal/type/enum.rb +13 -9
- data/lib/lithic/internal/type/hash_of.rb +6 -2
- data/lib/lithic/internal/type/io_like.rb +75 -0
- data/lib/lithic/internal/type/request_parameters.rb +11 -2
- data/lib/lithic/internal/type/union.rb +7 -3
- data/lib/lithic/internal/type/unknown.rb +5 -1
- data/lib/lithic/internal/util.rb +81 -26
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
- data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
- data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
- data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
- data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
- data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
- data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +17 -23
- data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
- data/rbi/lib/lithic/internal/util.rbi +67 -70
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
- data/sig/lithic/internal/type/array_of.rbs +5 -2
- data/sig/lithic/internal/type/base_model.rbs +5 -2
- data/sig/lithic/internal/type/boolean.rbs +5 -2
- data/sig/lithic/internal/type/converter.rbs +11 -5
- data/sig/lithic/internal/type/enum.rbs +5 -2
- data/sig/lithic/internal/type/hash_of.rbs +5 -2
- data/sig/lithic/internal/type/io_like.rbs +23 -0
- data/sig/lithic/internal/type/union.rbs +5 -2
- data/sig/lithic/internal/type/unknown.rbs +5 -2
- data/sig/lithic/internal/util.rbs +17 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +5 -2
@@ -10,7 +10,7 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute amount
|
12
12
|
# Amount to be transferred in the currency’s smallest unit (e.g., cents for USD).
|
13
|
-
#
|
13
|
+
# This should always be a positive value.
|
14
14
|
#
|
15
15
|
# @return [Integer]
|
16
16
|
required :amount, Integer
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
|
24
24
|
# @!attribute from_financial_account_token
|
25
25
|
# Globally unique identifier for the financial account or card that will send the
|
26
|
-
#
|
26
|
+
# funds. Accepted type dependent on the program's use case.
|
27
27
|
#
|
28
28
|
# @return [String]
|
29
29
|
required :from_financial_account_token, String
|
@@ -36,7 +36,7 @@ module Lithic
|
|
36
36
|
|
37
37
|
# @!attribute to_financial_account_token
|
38
38
|
# Globally unique identifier for the financial account or card that will receive
|
39
|
-
#
|
39
|
+
# the funds. Accepted type dependent on the program's use case.
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
required :to_financial_account_token, String
|
@@ -49,7 +49,7 @@ module Lithic
|
|
49
49
|
|
50
50
|
# @!attribute [r] token
|
51
51
|
# Customer-provided token that will serve as an idempotency token. This token will
|
52
|
-
#
|
52
|
+
# become the transaction token.
|
53
53
|
#
|
54
54
|
# @return [String, nil]
|
55
55
|
optional :token, String
|
@@ -19,10 +19,10 @@ module Lithic
|
|
19
19
|
|
20
20
|
# @!attribute [r] begin_
|
21
21
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
22
|
-
#
|
22
|
+
# will be included. UTC time zone.
|
23
23
|
#
|
24
24
|
# @return [Time, nil]
|
25
|
-
optional :begin_, Time
|
25
|
+
optional :begin_, Time
|
26
26
|
|
27
27
|
# @!parse
|
28
28
|
# # @return [Time]
|
@@ -49,10 +49,10 @@ module Lithic
|
|
49
49
|
|
50
50
|
# @!attribute [r] end_
|
51
51
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
52
|
-
#
|
52
|
+
# will be included. UTC time zone.
|
53
53
|
#
|
54
54
|
# @return [Time, nil]
|
55
|
-
optional :end_, Time
|
55
|
+
optional :end_, Time
|
56
56
|
|
57
57
|
# @!parse
|
58
58
|
# # @return [Time]
|
@@ -60,7 +60,7 @@ module Lithic
|
|
60
60
|
|
61
61
|
# @!attribute [r] ending_before
|
62
62
|
# A cursor representing an item's token before which a page of results should end.
|
63
|
-
#
|
63
|
+
# Used to retrieve the previous page of results before this item.
|
64
64
|
#
|
65
65
|
# @return [String, nil]
|
66
66
|
optional :ending_before, String
|
@@ -71,7 +71,7 @@ module Lithic
|
|
71
71
|
|
72
72
|
# @!attribute [r] financial_account_token
|
73
73
|
# Globally unique identifier for the financial account or card that will send the
|
74
|
-
#
|
74
|
+
# funds. Accepted type dependent on the program's use case.
|
75
75
|
#
|
76
76
|
# @return [String, nil]
|
77
77
|
optional :financial_account_token, String
|
@@ -102,7 +102,7 @@ module Lithic
|
|
102
102
|
|
103
103
|
# @!attribute [r] starting_after
|
104
104
|
# A cursor representing an item's token after which a page of results should
|
105
|
-
#
|
105
|
+
# begin. Used to retrieve the next page of results after this item.
|
106
106
|
#
|
107
107
|
# @return [String, nil]
|
108
108
|
optional :starting_after, String
|
@@ -6,7 +6,7 @@ module Lithic
|
|
6
6
|
class BookTransferResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# Customer-provided token that will serve as an idempotency token. This token will
|
9
|
-
#
|
9
|
+
# become the transaction token.
|
10
10
|
#
|
11
11
|
# @return [String]
|
12
12
|
required :token, String
|
@@ -25,7 +25,7 @@ module Lithic
|
|
25
25
|
|
26
26
|
# @!attribute currency
|
27
27
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
28
|
-
#
|
28
|
+
# transaction.
|
29
29
|
#
|
30
30
|
# @return [String]
|
31
31
|
required :currency, String
|
@@ -38,43 +38,43 @@ module Lithic
|
|
38
38
|
|
39
39
|
# @!attribute from_financial_account_token
|
40
40
|
# Globally unique identifier for the financial account or card that will send the
|
41
|
-
#
|
41
|
+
# funds. Accepted type dependent on the program's use case.
|
42
42
|
#
|
43
43
|
# @return [String]
|
44
44
|
required :from_financial_account_token, String
|
45
45
|
|
46
46
|
# @!attribute pending_amount
|
47
47
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
48
|
-
#
|
49
|
-
#
|
48
|
+
# including any acquirer fees. The value of this field will go to zero over time
|
49
|
+
# once the financial transaction is settled.
|
50
50
|
#
|
51
51
|
# @return [Integer]
|
52
52
|
required :pending_amount, Integer
|
53
53
|
|
54
54
|
# @!attribute result
|
55
55
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
56
|
-
#
|
56
|
+
# by user, Lithic, or the network.
|
57
57
|
#
|
58
58
|
# @return [Symbol, Lithic::Models::BookTransferResponse::Result]
|
59
59
|
required :result, enum: -> { Lithic::Models::BookTransferResponse::Result }
|
60
60
|
|
61
61
|
# @!attribute settled_amount
|
62
62
|
# Amount of the transaction that has been settled in the currency's smallest unit
|
63
|
-
#
|
63
|
+
# (e.g., cents).
|
64
64
|
#
|
65
65
|
# @return [Integer]
|
66
66
|
required :settled_amount, Integer
|
67
67
|
|
68
68
|
# @!attribute status
|
69
69
|
# Status types: _ `DECLINED` - The transfer was declined. _ `REVERSED` - The
|
70
|
-
#
|
70
|
+
# transfer was reversed \* `SETTLED` - The transfer is completed.
|
71
71
|
#
|
72
72
|
# @return [Symbol, Lithic::Models::BookTransferResponse::Status]
|
73
73
|
required :status, enum: -> { Lithic::Models::BookTransferResponse::Status }
|
74
74
|
|
75
75
|
# @!attribute to_financial_account_token
|
76
76
|
# Globally unique identifier for the financial account or card that will receive
|
77
|
-
#
|
77
|
+
# the funds. Accepted type dependent on the program's use case.
|
78
78
|
#
|
79
79
|
# @return [Object]
|
80
80
|
required :to_financial_account_token, Lithic::Internal::Type::Unknown
|
@@ -149,7 +149,7 @@ module Lithic
|
|
149
149
|
|
150
150
|
# @!attribute amount
|
151
151
|
# Amount of the financial event that has been settled in the currency's smallest
|
152
|
-
#
|
152
|
+
# unit (e.g., cents).
|
153
153
|
#
|
154
154
|
# @return [Integer]
|
155
155
|
required :amount, Integer
|
@@ -175,7 +175,7 @@ module Lithic
|
|
175
175
|
|
176
176
|
# @!attribute result
|
177
177
|
# APPROVED financial events were successful while DECLINED financial events were
|
178
|
-
#
|
178
|
+
# declined by user, Lithic, or the network.
|
179
179
|
#
|
180
180
|
# @return [Symbol, Lithic::Models::BookTransferResponse::Event::Result]
|
181
181
|
required :result, enum: -> { Lithic::Models::BookTransferResponse::Event::Result }
|
@@ -220,7 +220,7 @@ module Lithic
|
|
220
220
|
end
|
221
221
|
|
222
222
|
# APPROVED financial events were successful while DECLINED financial events were
|
223
|
-
#
|
223
|
+
# declined by user, Lithic, or the network.
|
224
224
|
#
|
225
225
|
# @see Lithic::Models::BookTransferResponse::Event#result
|
226
226
|
module Result
|
@@ -238,7 +238,7 @@ module Lithic
|
|
238
238
|
end
|
239
239
|
|
240
240
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
241
|
-
#
|
241
|
+
# by user, Lithic, or the network.
|
242
242
|
#
|
243
243
|
# @see Lithic::Models::BookTransferResponse#result
|
244
244
|
module Result
|
@@ -255,7 +255,7 @@ module Lithic
|
|
255
255
|
end
|
256
256
|
|
257
257
|
# Status types: _ `DECLINED` - The transfer was declined. _ `REVERSED` - The
|
258
|
-
#
|
258
|
+
# transfer was reversed \* `SETTLED` - The transfer is completed.
|
259
259
|
#
|
260
260
|
# @see Lithic::Models::BookTransferResponse#status
|
261
261
|
module Status
|
data/lib/lithic/models/card.rb
CHANGED
@@ -42,14 +42,14 @@ module Lithic
|
|
42
42
|
|
43
43
|
# @!attribute pin_status
|
44
44
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
45
|
-
#
|
45
|
+
# attempts).
|
46
46
|
#
|
47
47
|
# @return [Symbol, Lithic::Models::Card::PinStatus]
|
48
48
|
required :pin_status, enum: -> { Lithic::Models::Card::PinStatus }
|
49
49
|
|
50
50
|
# @!attribute spend_limit
|
51
51
|
# Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
|
52
|
-
#
|
52
|
+
# $1,000 limit). Transaction requests above the spend limit will be declined.
|
53
53
|
#
|
54
54
|
# @return [Integer]
|
55
55
|
required :spend_limit, Integer
|
@@ -57,16 +57,16 @@ module Lithic
|
|
57
57
|
# @!attribute spend_limit_duration
|
58
58
|
# Spend limit duration values:
|
59
59
|
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
60
|
+
# - `ANNUALLY` - Card will authorize transactions up to spend limit for the
|
61
|
+
# trailing year.
|
62
|
+
# - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime
|
63
|
+
# of the card.
|
64
|
+
# - `MONTHLY` - Card will authorize transactions up to spend limit for the
|
65
|
+
# trailing month. To support recurring monthly payments, which can occur on
|
66
|
+
# different day every month, the time window we consider for monthly velocity
|
67
|
+
# starts 6 days after the current calendar date one month prior.
|
68
|
+
# - `TRANSACTION` - Card will authorize multiple transactions if each individual
|
69
|
+
# transaction is under the spend limit.
|
70
70
|
#
|
71
71
|
# @return [Symbol, Lithic::Models::SpendLimitDuration]
|
72
72
|
required :spend_limit_duration, enum: -> { Lithic::Models::SpendLimitDuration }
|
@@ -74,25 +74,25 @@ module Lithic
|
|
74
74
|
# @!attribute state
|
75
75
|
# Card state values:
|
76
76
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
77
|
+
# - `CLOSED` - Card will no longer approve authorizations. Closing a card cannot
|
78
|
+
# be undone.
|
79
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
80
|
+
# parameters).
|
81
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
82
|
+
# time.
|
83
|
+
# - `PENDING_FULFILLMENT` - The initial state for cards of type `PHYSICAL`. The
|
84
|
+
# card is provisioned pending manufacturing and fulfillment. Cards in this state
|
85
|
+
# can accept authorizations for e-commerce purchases, but not for "Card Present"
|
86
|
+
# purchases where the physical card itself is present.
|
87
|
+
# - `PENDING_ACTIVATION` - At regular intervals, cards of type `PHYSICAL` in state
|
88
|
+
# `PENDING_FULFILLMENT` are sent to the card production warehouse and updated to
|
89
|
+
# state `PENDING_ACTIVATION` . Similar to `PENDING_FULFILLMENT`, cards in this
|
90
|
+
# state can be used for e-commerce transactions or can be added to mobile
|
91
|
+
# wallets. API clients should update the card's state to `OPEN` only after the
|
92
|
+
# cardholder confirms receipt of the card.
|
93
|
+
#
|
94
|
+
# In sandbox, the same daily batch fulfillment occurs, but no cards are actually
|
95
|
+
# manufactured.
|
96
96
|
#
|
97
97
|
# @return [Symbol, Lithic::Models::Card::State]
|
98
98
|
required :state, enum: -> { Lithic::Models::Card::State }
|
@@ -100,29 +100,29 @@ module Lithic
|
|
100
100
|
# @!attribute type
|
101
101
|
# Card types:
|
102
102
|
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
103
|
+
# - `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
|
104
|
+
# wallet like Apple Pay or Google Pay (if the card program is digital
|
105
|
+
# wallet-enabled).
|
106
|
+
# - `PHYSICAL` - Manufactured and sent to the cardholder. We offer white label
|
107
|
+
# branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe functionality.
|
108
|
+
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
109
|
+
# information.
|
110
|
+
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
111
|
+
# - `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first merchant that
|
112
|
+
# successfully authorizes the card.
|
113
|
+
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
114
|
+
# VIRTUAL instead.
|
115
|
+
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
116
|
+
# use VIRTUAL instead.
|
117
117
|
#
|
118
118
|
# @return [Symbol, Lithic::Models::Card::Type]
|
119
119
|
required :type, enum: -> { Lithic::Models::Card::Type }
|
120
120
|
|
121
121
|
# @!attribute [r] auth_rule_tokens
|
122
122
|
# List of identifiers for the Auth Rule(s) that are applied on the card. This
|
123
|
-
#
|
124
|
-
#
|
125
|
-
#
|
123
|
+
# field is deprecated and will no longer be populated in the `Card` object. The
|
124
|
+
# key will be removed from the schema in a future release. Use the `/auth_rules`
|
125
|
+
# endpoints to fetch Auth Rule information instead.
|
126
126
|
#
|
127
127
|
# @return [Array<String>, nil]
|
128
128
|
optional :auth_rule_tokens, Lithic::Internal::Type::ArrayOf[String]
|
@@ -153,9 +153,9 @@ module Lithic
|
|
153
153
|
|
154
154
|
# @!attribute [r] digital_card_art_token
|
155
155
|
# Specifies the digital card art to be displayed in the user’s digital wallet
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
156
|
+
# after tokenization. This artwork must be approved by Mastercard and configured
|
157
|
+
# by Lithic to use. See
|
158
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
159
159
|
#
|
160
160
|
# @return [String, nil]
|
161
161
|
optional :digital_card_art_token, String
|
@@ -206,8 +206,8 @@ module Lithic
|
|
206
206
|
|
207
207
|
# @!attribute [r] pan
|
208
208
|
# Primary Account Number (PAN) (i.e. the card number). Customers must be PCI
|
209
|
-
#
|
210
|
-
#
|
209
|
+
# compliant to have PAN returned as a field in production. Please contact
|
210
|
+
# [support@lithic.com](mailto:support@lithic.com) for questions.
|
211
211
|
#
|
212
212
|
# @return [String, nil]
|
213
213
|
optional :pan, String
|
@@ -218,8 +218,8 @@ module Lithic
|
|
218
218
|
|
219
219
|
# @!attribute [r] pending_commands
|
220
220
|
# Indicates if there are offline PIN changes pending card interaction with an
|
221
|
-
#
|
222
|
-
#
|
221
|
+
# offline PIN terminal. Possible commands are: CHANGE_PIN, UNBLOCK_PIN. Applicable
|
222
|
+
# only to cards issued in markets supporting offline PINs.
|
223
223
|
#
|
224
224
|
# @return [Array<String>, nil]
|
225
225
|
optional :pending_commands, Lithic::Internal::Type::ArrayOf[String]
|
@@ -230,8 +230,8 @@ module Lithic
|
|
230
230
|
|
231
231
|
# @!attribute [r] product_id
|
232
232
|
# Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
|
233
|
-
#
|
234
|
-
#
|
233
|
+
# before use. Specifies the configuration (i.e., physical card art) that the card
|
234
|
+
# should be manufactured with.
|
235
235
|
#
|
236
236
|
# @return [String, nil]
|
237
237
|
optional :product_id, String
|
@@ -242,7 +242,7 @@ module Lithic
|
|
242
242
|
|
243
243
|
# @!attribute replacement_for
|
244
244
|
# If the card is a replacement for another card, the globally unique identifier
|
245
|
-
#
|
245
|
+
# for the card that was replaced.
|
246
246
|
#
|
247
247
|
# @return [String, nil]
|
248
248
|
optional :replacement_for, String, nil?: true
|
@@ -313,14 +313,14 @@ module Lithic
|
|
313
313
|
|
314
314
|
# @!attribute created
|
315
315
|
# An RFC 3339 string representing when this funding source was added to the Lithic
|
316
|
-
#
|
316
|
+
# account. This may be `null`. UTC time zone.
|
317
317
|
#
|
318
318
|
# @return [Time]
|
319
319
|
required :created, Time
|
320
320
|
|
321
321
|
# @!attribute last_four
|
322
322
|
# The last 4 digits of the account (e.g. bank account, debit card) associated with
|
323
|
-
#
|
323
|
+
# this FundingAccount. This may be null.
|
324
324
|
#
|
325
325
|
# @return [String]
|
326
326
|
required :last_four, String
|
@@ -328,13 +328,13 @@ module Lithic
|
|
328
328
|
# @!attribute state
|
329
329
|
# State of funding source.
|
330
330
|
#
|
331
|
-
#
|
331
|
+
# Funding source states:
|
332
332
|
#
|
333
|
-
#
|
334
|
-
#
|
335
|
-
#
|
336
|
-
#
|
337
|
-
#
|
333
|
+
# - `ENABLED` - The funding account is available to use for card creation and
|
334
|
+
# transactions.
|
335
|
+
# - `PENDING` - The funding account is still being verified e.g. bank
|
336
|
+
# micro-deposits verification.
|
337
|
+
# - `DELETED` - The founding account has been deleted.
|
338
338
|
#
|
339
339
|
# @return [Symbol, Lithic::Models::Card::Funding::State]
|
340
340
|
required :state, enum: -> { Lithic::Models::Card::Funding::State }
|
@@ -342,8 +342,8 @@ module Lithic
|
|
342
342
|
# @!attribute type
|
343
343
|
# Types of funding source:
|
344
344
|
#
|
345
|
-
#
|
346
|
-
#
|
345
|
+
# - `DEPOSITORY_CHECKING` - Bank checking account.
|
346
|
+
# - `DEPOSITORY_SAVINGS` - Bank savings account.
|
347
347
|
#
|
348
348
|
# @return [Symbol, Lithic::Models::Card::Funding::Type]
|
349
349
|
required :type, enum: -> { Lithic::Models::Card::Funding::Type }
|
@@ -385,13 +385,13 @@ module Lithic
|
|
385
385
|
|
386
386
|
# State of funding source.
|
387
387
|
#
|
388
|
-
#
|
388
|
+
# Funding source states:
|
389
389
|
#
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
390
|
+
# - `ENABLED` - The funding account is available to use for card creation and
|
391
|
+
# transactions.
|
392
|
+
# - `PENDING` - The funding account is still being verified e.g. bank
|
393
|
+
# micro-deposits verification.
|
394
|
+
# - `DELETED` - The founding account has been deleted.
|
395
395
|
#
|
396
396
|
# @see Lithic::Models::Card::Funding#state
|
397
397
|
module State
|
@@ -410,8 +410,8 @@ module Lithic
|
|
410
410
|
|
411
411
|
# Types of funding source:
|
412
412
|
#
|
413
|
-
#
|
414
|
-
#
|
413
|
+
# - `DEPOSITORY_CHECKING` - Bank checking account.
|
414
|
+
# - `DEPOSITORY_SAVINGS` - Bank savings account.
|
415
415
|
#
|
416
416
|
# @see Lithic::Models::Card::Funding#type
|
417
417
|
module Type
|
@@ -429,7 +429,7 @@ module Lithic
|
|
429
429
|
end
|
430
430
|
|
431
431
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
432
|
-
#
|
432
|
+
# attempts).
|
433
433
|
#
|
434
434
|
# @see Lithic::Models::Card#pin_status
|
435
435
|
module PinStatus
|
@@ -448,25 +448,25 @@ module Lithic
|
|
448
448
|
|
449
449
|
# Card state values:
|
450
450
|
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
451
|
+
# - `CLOSED` - Card will no longer approve authorizations. Closing a card cannot
|
452
|
+
# be undone.
|
453
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
454
|
+
# parameters).
|
455
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
456
|
+
# time.
|
457
|
+
# - `PENDING_FULFILLMENT` - The initial state for cards of type `PHYSICAL`. The
|
458
|
+
# card is provisioned pending manufacturing and fulfillment. Cards in this state
|
459
|
+
# can accept authorizations for e-commerce purchases, but not for "Card Present"
|
460
|
+
# purchases where the physical card itself is present.
|
461
|
+
# - `PENDING_ACTIVATION` - At regular intervals, cards of type `PHYSICAL` in state
|
462
|
+
# `PENDING_FULFILLMENT` are sent to the card production warehouse and updated to
|
463
|
+
# state `PENDING_ACTIVATION` . Similar to `PENDING_FULFILLMENT`, cards in this
|
464
|
+
# state can be used for e-commerce transactions or can be added to mobile
|
465
|
+
# wallets. API clients should update the card's state to `OPEN` only after the
|
466
|
+
# cardholder confirms receipt of the card.
|
467
|
+
#
|
468
|
+
# In sandbox, the same daily batch fulfillment occurs, but no cards are actually
|
469
|
+
# manufactured.
|
470
470
|
#
|
471
471
|
# @see Lithic::Models::Card#state
|
472
472
|
module State
|
@@ -487,20 +487,20 @@ module Lithic
|
|
487
487
|
|
488
488
|
# Card types:
|
489
489
|
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
490
|
+
# - `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
|
491
|
+
# wallet like Apple Pay or Google Pay (if the card program is digital
|
492
|
+
# wallet-enabled).
|
493
|
+
# - `PHYSICAL` - Manufactured and sent to the cardholder. We offer white label
|
494
|
+
# branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe functionality.
|
495
|
+
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
496
|
+
# information.
|
497
|
+
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
498
|
+
# - `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first merchant that
|
499
|
+
# successfully authorizes the card.
|
500
|
+
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
501
|
+
# VIRTUAL instead.
|
502
|
+
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
503
|
+
# use VIRTUAL instead.
|
504
504
|
#
|
505
505
|
# @see Lithic::Models::Card#type
|
506
506
|
module Type
|
@@ -26,8 +26,8 @@ module Lithic
|
|
26
26
|
|
27
27
|
# @!attribute [r] product_id
|
28
28
|
# Specifies the configuration (e.g. physical card art) that the card should be
|
29
|
-
#
|
30
|
-
#
|
29
|
+
# manufactured with, and only applies to cards of type `PHYSICAL`. This must be
|
30
|
+
# configured with Lithic before use.
|
31
31
|
#
|
32
32
|
# @return [String, nil]
|
33
33
|
optional :product_id, String
|
@@ -38,17 +38,17 @@ module Lithic
|
|
38
38
|
|
39
39
|
# @!attribute [r] shipping_method
|
40
40
|
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
41
|
-
#
|
41
|
+
# options besides `STANDARD` require additional permissions.
|
42
42
|
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
43
|
+
# - `STANDARD` - USPS regular mail or similar international option, with no
|
44
|
+
# tracking
|
45
|
+
# - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option,
|
46
|
+
# with tracking
|
47
|
+
# - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
|
48
|
+
# - `EXPRESS` - FedEx Express, 3-day shipping, with tracking
|
49
|
+
# - `2_DAY` - FedEx 2-day shipping, with tracking
|
50
|
+
# - `EXPEDITED` - FedEx Standard Overnight or similar international option, with
|
51
|
+
# tracking
|
52
52
|
#
|
53
53
|
# @return [Symbol, Lithic::Models::CardConvertPhysicalParams::ShippingMethod, nil]
|
54
54
|
optional :shipping_method, enum: -> { Lithic::Models::CardConvertPhysicalParams::ShippingMethod }
|
@@ -69,17 +69,17 @@ module Lithic
|
|
69
69
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
70
70
|
|
71
71
|
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
72
|
-
#
|
72
|
+
# options besides `STANDARD` require additional permissions.
|
73
73
|
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
74
|
+
# - `STANDARD` - USPS regular mail or similar international option, with no
|
75
|
+
# tracking
|
76
|
+
# - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option,
|
77
|
+
# with tracking
|
78
|
+
# - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
|
79
|
+
# - `EXPRESS` - FedEx Express, 3-day shipping, with tracking
|
80
|
+
# - `2_DAY` - FedEx 2-day shipping, with tracking
|
81
|
+
# - `EXPEDITED` - FedEx Standard Overnight or similar international option, with
|
82
|
+
# tracking
|
83
83
|
module ShippingMethod
|
84
84
|
extend Lithic::Internal::Type::Enum
|
85
85
|
|