lithic 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +52 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/internal/transport/base_client.rb +5 -0
- data/lib/lithic/models/account.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/account_holders/account_holder_entity.rb +3 -16
- data/lib/lithic/models/account_holders/entity_create_params.rb +3 -14
- data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +52 -34
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +531 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +213 -23
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
- data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
- data/lib/lithic/models/auth_rules/rule_feature.rb +29 -6
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/balance.rb +8 -6
- data/lib/lithic/models/card.rb +1 -1
- data/lib/lithic/models/card_authorization.rb +1372 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
- data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
- data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/event.rb +13 -4
- data/lib/lithic/models/event_list_params.rb +7 -2
- data/lib/lithic/models/event_subscription.rb +7 -2
- data/lib/lithic/models/events/subscription_create_params.rb +7 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +7 -2
- data/lib/lithic/models/external_bank_account.rb +1 -1
- data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement.rb +4 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_event.rb +1 -0
- data/lib/lithic/models/kyb_business_entity.rb +2 -2
- data/lib/lithic/models/parsed_webhook_event.rb +4 -1
- data/lib/lithic/models/payment.rb +13 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- data/lib/lithic/models/statement_totals.rb +6 -6
- data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
- data/lib/lithic/models/transaction.rb +2 -2
- data/lib/lithic/models/transaction_monitoring/case_activity_entry.rb +74 -0
- data/lib/lithic/models/transaction_monitoring/case_activity_type.rb +35 -0
- data/lib/lithic/models/transaction_monitoring/case_card.rb +37 -0
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +50 -0
- data/lib/lithic/models/transaction_monitoring/case_list_activity_params.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +136 -0
- data/lib/lithic/models/transaction_monitoring/case_list_transactions_params.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_priority.rb +20 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_response.rb +11 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/case_sort_order.rb +29 -0
- data/lib/lithic/models/transaction_monitoring/case_status.rb +31 -0
- data/lib/lithic/models/transaction_monitoring/case_transaction.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_update_params.rb +116 -0
- data/lib/lithic/models/transaction_monitoring/cases/case_file.rb +141 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_create_params.rb +47 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_delete_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_update_params.rb +54 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_create_params.rb +33 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_delete_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_list_params.rb +54 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_retrieve_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_status.rb +26 -0
- data/lib/lithic/models/transaction_monitoring/cases/upload_constraints.rb +31 -0
- data/lib/lithic/models/transaction_monitoring/entity_type.rb +18 -0
- data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +168 -0
- data/lib/lithic/models/transaction_monitoring/queue.rb +120 -0
- data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +32 -0
- data/lib/lithic/models/transaction_monitoring/queue_delete_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/queue_list_params.rb +45 -0
- data/lib/lithic/models/transaction_monitoring/queue_retrieve_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +39 -0
- data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +28 -0
- data/lib/lithic/models/transaction_route_params.rb +29 -0
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +12 -0
- data/lib/lithic/resources/account_holders/entities.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/resources/card_authorizations.rb +45 -0
- data/lib/lithic/resources/cards.rb +2 -2
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/transaction_monitoring/cases/comments.rb +111 -0
- data/lib/lithic/resources/transaction_monitoring/cases/files.rb +131 -0
- data/lib/lithic/resources/transaction_monitoring/cases.rb +228 -0
- data/lib/lithic/resources/transaction_monitoring/queues.rb +137 -0
- data/lib/lithic/resources/transaction_monitoring.rb +22 -0
- data/lib/lithic/resources/transactions.rb +25 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +46 -0
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/models/account.rbi +3 -3
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +3 -40
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +3 -37
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +14 -7
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +75 -48
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +419 -30
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +41 -5
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +3 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +42 -21
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
- data/rbi/lithic/models/balance.rbi +12 -6
- data/rbi/lithic/models/card.rbi +2 -2
- data/rbi/lithic/models/card_authorization.rbi +2769 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
- data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
- data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
- data/rbi/lithic/models/card_program.rbi +3 -6
- data/rbi/lithic/models/event.rbi +23 -6
- data/rbi/lithic/models/event_list_params.rbi +11 -2
- data/rbi/lithic/models/event_subscription.rbi +11 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
- data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
- data/rbi/lithic/models/financial_event.rbi +2 -0
- data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment.rbi +13 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- data/rbi/lithic/models/statement_totals.rbi +9 -18
- data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
- data/rbi/lithic/models/transaction.rbi +3 -3
- data/rbi/lithic/models/transaction_monitoring/case_activity_entry.rbi +107 -0
- data/rbi/lithic/models/transaction_monitoring/case_activity_type.rbi +84 -0
- data/rbi/lithic/models/transaction_monitoring/case_card.rbi +60 -0
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +101 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_activity_params.rbi +83 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +220 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_transactions_params.rbi +83 -0
- data/rbi/lithic/models/transaction_monitoring/case_priority.rbi +44 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbi +15 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/case_sort_order.rbi +64 -0
- data/rbi/lithic/models/transaction_monitoring/case_status.rbi +63 -0
- data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +75 -0
- data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +201 -0
- data/rbi/lithic/models/transaction_monitoring/cases/case_file.rbi +188 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_create_params.rbi +71 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_delete_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_update_params.rbi +77 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_create_params.rbi +56 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_delete_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_list_params.rbi +85 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_status.rbi +51 -0
- data/rbi/lithic/models/transaction_monitoring/cases/upload_constraints.rbi +51 -0
- data/rbi/lithic/models/transaction_monitoring/entity_type.rbi +37 -0
- data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +226 -0
- data/rbi/lithic/models/transaction_monitoring/queue.rbi +189 -0
- data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +56 -0
- data/rbi/lithic/models/transaction_monitoring/queue_delete_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/queue_list_params.rbi +77 -0
- data/rbi/lithic/models/transaction_monitoring/queue_retrieve_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +65 -0
- data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +61 -0
- data/rbi/lithic/models/transaction_route_params.rbi +49 -0
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +15 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +1 -1
- data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
- data/rbi/lithic/resources/card_authorizations.rbi +35 -0
- data/rbi/lithic/resources/cards.rbi +2 -2
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/transaction_monitoring/cases/comments.rbi +81 -0
- data/rbi/lithic/resources/transaction_monitoring/cases/files.rbi +98 -0
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +230 -0
- data/rbi/lithic/resources/transaction_monitoring/queues.rbi +103 -0
- data/rbi/lithic/resources/transaction_monitoring.rbi +18 -0
- data/rbi/lithic/resources/transactions.rbi +18 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +4 -15
- data/sig/lithic/models/account_holders/entity_create_params.rbs +4 -15
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +73 -3
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/rule_feature.rbs +16 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/balance.rbs +17 -9
- data/sig/lithic/models/card_authorization.rbs +1112 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
- data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
- data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
- data/sig/lithic/models/card_program.rbs +4 -6
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
- data/sig/lithic/models/financial_event.rbs +2 -0
- data/sig/lithic/models/kyb_business_entity.rbs +4 -6
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment.rbs +7 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- data/sig/lithic/models/statement_totals.rbs +12 -18
- data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +4 -8
- data/sig/lithic/models/transaction_monitoring/case_activity_entry.rbs +47 -0
- data/sig/lithic/models/transaction_monitoring/case_activity_type.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/case_card.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +38 -0
- data/sig/lithic/models/transaction_monitoring/case_list_activity_params.rbs +49 -0
- data/sig/lithic/models/transaction_monitoring/case_list_params.rbs +125 -0
- data/sig/lithic/models/transaction_monitoring/case_list_transactions_params.rbs +49 -0
- data/sig/lithic/models/transaction_monitoring/case_priority.rbs +18 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbs +10 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/case_sort_order.rbs +26 -0
- data/sig/lithic/models/transaction_monitoring/case_status.rbs +21 -0
- data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +42 -0
- data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +91 -0
- data/sig/lithic/models/transaction_monitoring/cases/case_file.rbs +86 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_create_params.rbs +38 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_delete_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_update_params.rbs +47 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_create_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_delete_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_list_params.rbs +51 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_status.rbs +19 -0
- data/sig/lithic/models/transaction_monitoring/cases/upload_constraints.rbs +26 -0
- data/sig/lithic/models/transaction_monitoring/entity_type.rbs +16 -0
- data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +102 -0
- data/sig/lithic/models/transaction_monitoring/queue.rbs +101 -0
- data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +30 -0
- data/sig/lithic/models/transaction_monitoring/queue_delete_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/queue_list_params.rbs +40 -0
- data/sig/lithic/models/transaction_monitoring/queue_retrieve_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +36 -0
- data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +24 -0
- data/sig/lithic/models/transaction_route_params.rbs +28 -0
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +12 -0
- data/sig/lithic/resources/account_holders/entities.rbs +1 -1
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/transaction_monitoring/cases/comments.rbs +32 -0
- data/sig/lithic/resources/transaction_monitoring/cases/files.rbs +37 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +71 -0
- data/sig/lithic/resources/transaction_monitoring/queues.rbs +39 -0
- data/sig/lithic/resources/transaction_monitoring.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +6 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +140 -2
|
@@ -61,26 +61,27 @@ module Lithic
|
|
|
61
61
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
62
62
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
63
63
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
64
|
-
# fee on behalf of the cardholder.
|
|
64
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
65
65
|
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
66
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
66
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
67
|
+
# value.
|
|
67
68
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
68
69
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
69
70
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
70
71
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
71
|
-
# multiplying the raw score by 10x.
|
|
72
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
72
73
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
73
|
-
# trailing 15 minutes before the authorization.
|
|
74
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
74
75
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
75
|
-
# trailing hour up and until the authorization.
|
|
76
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
76
77
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
77
|
-
# trailing 24 hours up and until the authorization.
|
|
78
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
78
79
|
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
79
|
-
# the trailing 15 minutes before the authorization.
|
|
80
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
80
81
|
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
81
|
-
# the trailing hour up and until the authorization.
|
|
82
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
82
83
|
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
83
|
-
# the trailing 24 hours up and until the authorization.
|
|
84
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
84
85
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
85
86
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
86
87
|
# `PENDING_FULFILLMENT`.
|
|
@@ -105,18 +106,21 @@ module Lithic
|
|
|
105
106
|
# data, the service location postal code is used. Otherwise, falls back to the
|
|
106
107
|
# card acceptor postal code.
|
|
107
108
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
109
|
+
# Use an integer value.
|
|
108
110
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
109
|
-
# of the authorization.
|
|
111
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
112
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
110
113
|
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
111
114
|
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
112
115
|
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
116
|
+
# Use a decimal value.
|
|
113
117
|
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
114
118
|
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
115
|
-
# `parameters.interval`.
|
|
119
|
+
# `parameters.interval`. Use a decimal value.
|
|
116
120
|
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
117
121
|
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
118
122
|
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
119
|
-
# and `parameters.interval`.
|
|
123
|
+
# and `parameters.interval`. Use a decimal value.
|
|
120
124
|
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
121
125
|
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
122
126
|
# Requires `parameters.scope`.
|
|
@@ -127,26 +131,31 @@ module Lithic
|
|
|
127
131
|
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
128
132
|
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
129
133
|
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
130
|
-
# supported for `BUSINESS_ACCOUNT` scope.
|
|
134
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
131
135
|
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
132
|
-
# transaction for the entity. Requires
|
|
136
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
137
|
+
# `parameters.scope`. Use an integer value.
|
|
133
138
|
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
134
|
-
# the entity's transaction history. Requires `parameters.scope`.
|
|
139
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
140
|
+
# value.
|
|
135
141
|
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
136
142
|
# card's approved transaction history (capped at the 1000 most recently seen
|
|
137
143
|
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
138
144
|
# `parameters` required.
|
|
139
145
|
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
140
146
|
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
147
|
+
# Use a decimal value.
|
|
141
148
|
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
142
149
|
# between the postal code centers of the last card-present transaction and the
|
|
143
150
|
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
144
151
|
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
145
|
-
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
|
|
152
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
153
|
+
# decimal value.
|
|
146
154
|
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
147
155
|
# code centers of the last card-present transaction and the current transaction.
|
|
148
156
|
# Null if there is no prior card-present transaction or if either postal code
|
|
149
157
|
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
158
|
+
# Use a decimal value.
|
|
150
159
|
#
|
|
151
160
|
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute]
|
|
152
161
|
required :attribute,
|
|
@@ -161,7 +170,7 @@ module Lithic
|
|
|
161
170
|
# @!attribute value
|
|
162
171
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
163
172
|
#
|
|
164
|
-
# @return [String, Integer, Array<String>, Time]
|
|
173
|
+
# @return [String, Integer, Float, Array<String>, Time]
|
|
165
174
|
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
166
175
|
|
|
167
176
|
# @!attribute parameters
|
|
@@ -185,7 +194,7 @@ module Lithic
|
|
|
185
194
|
#
|
|
186
195
|
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
187
196
|
#
|
|
188
|
-
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
197
|
+
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
189
198
|
#
|
|
190
199
|
# @param parameters [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters] Additional parameters for certain attributes. Required when `attribute` is one o
|
|
191
200
|
|
|
@@ -214,26 +223,27 @@ module Lithic
|
|
|
214
223
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
215
224
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
216
225
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
217
|
-
# fee on behalf of the cardholder.
|
|
226
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
218
227
|
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
219
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
228
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
229
|
+
# value.
|
|
220
230
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
221
231
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
222
232
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
223
233
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
224
|
-
# multiplying the raw score by 10x.
|
|
234
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
225
235
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
226
|
-
# trailing 15 minutes before the authorization.
|
|
236
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
227
237
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
228
|
-
# trailing hour up and until the authorization.
|
|
238
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
229
239
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
230
|
-
# trailing 24 hours up and until the authorization.
|
|
240
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
231
241
|
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
232
|
-
# the trailing 15 minutes before the authorization.
|
|
242
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
233
243
|
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
234
|
-
# the trailing hour up and until the authorization.
|
|
244
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
235
245
|
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
236
|
-
# the trailing 24 hours up and until the authorization.
|
|
246
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
237
247
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
238
248
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
239
249
|
# `PENDING_FULFILLMENT`.
|
|
@@ -258,18 +268,21 @@ module Lithic
|
|
|
258
268
|
# data, the service location postal code is used. Otherwise, falls back to the
|
|
259
269
|
# card acceptor postal code.
|
|
260
270
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
271
|
+
# Use an integer value.
|
|
261
272
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
262
|
-
# of the authorization.
|
|
273
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
274
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
263
275
|
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
264
276
|
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
265
277
|
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
278
|
+
# Use a decimal value.
|
|
266
279
|
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
267
280
|
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
268
|
-
# `parameters.interval`.
|
|
281
|
+
# `parameters.interval`. Use a decimal value.
|
|
269
282
|
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
270
283
|
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
271
284
|
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
272
|
-
# and `parameters.interval`.
|
|
285
|
+
# and `parameters.interval`. Use a decimal value.
|
|
273
286
|
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
274
287
|
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
275
288
|
# Requires `parameters.scope`.
|
|
@@ -280,26 +293,31 @@ module Lithic
|
|
|
280
293
|
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
281
294
|
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
282
295
|
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
283
|
-
# supported for `BUSINESS_ACCOUNT` scope.
|
|
296
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
284
297
|
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
285
|
-
# transaction for the entity. Requires
|
|
298
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
299
|
+
# `parameters.scope`. Use an integer value.
|
|
286
300
|
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
287
|
-
# the entity's transaction history. Requires `parameters.scope`.
|
|
301
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
302
|
+
# value.
|
|
288
303
|
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
289
304
|
# card's approved transaction history (capped at the 1000 most recently seen
|
|
290
305
|
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
291
306
|
# `parameters` required.
|
|
292
307
|
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
293
308
|
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
309
|
+
# Use a decimal value.
|
|
294
310
|
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
295
311
|
# between the postal code centers of the last card-present transaction and the
|
|
296
312
|
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
297
313
|
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
298
|
-
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
|
|
314
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
315
|
+
# decimal value.
|
|
299
316
|
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
300
317
|
# code centers of the last card-present transaction and the current transaction.
|
|
301
318
|
# Null if there is no prior card-present transaction or if either postal code
|
|
302
319
|
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
320
|
+
# Use a decimal value.
|
|
303
321
|
#
|
|
304
322
|
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition#attribute
|
|
305
323
|
module Attribute
|