Class: Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::CardTestingRisk
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::CardTestingRisk
- Defined in:
- lib/stripe/params/issuing/authorization_create_params.rb
Instance Attribute Summary collapse
-
#invalid_account_number_decline_rate_past_hour ⇒ Object
The % of declines due to a card number not existing in the past hour, taking place at the same merchant.
-
#invalid_credentials_decline_rate_past_hour ⇒ Object
The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant.
-
#risk_level ⇒ Object
The likelihood that this authorization is associated with card testing activity.
Instance Method Summary collapse
-
#initialize(invalid_account_number_decline_rate_past_hour: nil, invalid_credentials_decline_rate_past_hour: nil, risk_level: nil) ⇒ CardTestingRisk
constructor
A new instance of CardTestingRisk.
Methods inherited from RequestParams
Constructor Details
#initialize(invalid_account_number_decline_rate_past_hour: nil, invalid_credentials_decline_rate_past_hour: nil, risk_level: nil) ⇒ CardTestingRisk
Returns a new instance of CardTestingRisk.
200 201 202 203 204 205 206 207 208 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 200 def initialize( invalid_account_number_decline_rate_past_hour: nil, invalid_credentials_decline_rate_past_hour: nil, risk_level: nil ) @invalid_account_number_decline_rate_past_hour = invalid_account_number_decline_rate_past_hour @invalid_credentials_decline_rate_past_hour = invalid_credentials_decline_rate_past_hour @risk_level = risk_level end |
Instance Attribute Details
#invalid_account_number_decline_rate_past_hour ⇒ Object
The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100.
194 195 196 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 194 def invalid_account_number_decline_rate_past_hour @invalid_account_number_decline_rate_past_hour end |
#invalid_credentials_decline_rate_past_hour ⇒ Object
The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of bad actors attempting to utilize valid card credentials at merchants with verification requirements. Takes on values between 0 and 100.
196 197 198 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 196 def invalid_credentials_decline_rate_past_hour @invalid_credentials_decline_rate_past_hour end |
#risk_level ⇒ Object
The likelihood that this authorization is associated with card testing activity. This is assessed by evaluating decline activity over the last hour.
198 199 200 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 198 def risk_level @risk_level end |