Package com.stripe.param.issuing
Class AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder
- Enclosing class:
- AuthorizationCreateParams.RiskAssessment.CardTestingRisk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setInvalidAccountNumberDeclineRatePastHour
(Long invalidAccountNumberDeclineRatePastHour) The % of declines due to a card number not existing in the past hour, taking place at the same merchant.setInvalidCredentialsDeclineRatePastHour
(Long invalidCredentialsDeclineRatePastHour) The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant.Required. The likelihood that this authorization is associated with card testing activity.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.RiskAssessment.CardTestingRisk.extraParams
for the field documentation. -
putAllExtraParam
public AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.RiskAssessment.CardTestingRisk.extraParams
for the field documentation. -
setInvalidAccountNumberDeclineRatePastHour
public AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder setInvalidAccountNumberDeclineRatePastHour(Long invalidAccountNumberDeclineRatePastHour) 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. -
setInvalidCredentialsDeclineRatePastHour
public AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder setInvalidCredentialsDeclineRatePastHour(Long invalidCredentialsDeclineRatePastHour) 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. -
setRiskLevel
public AuthorizationCreateParams.RiskAssessment.CardTestingRisk.Builder setRiskLevel(AuthorizationCreateParams.RiskAssessment.CardTestingRisk.RiskLevel riskLevel) Required. The likelihood that this authorization is associated with card testing activity. This is assessed by evaluating decline activity over the last hour.
-