Class: Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::FraudRisk

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/authorization_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(level: nil, score: nil) ⇒ FraudRisk

Returns a new instance of FraudRisk.



217
218
219
220
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 217

def initialize(level: nil, score: nil)
  @level = level
  @score = score
end

Instance Attribute Details

#levelObject

Stripe’s assessment of the likelihood of fraud on an authorization.



213
214
215
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 213

def level
  @level
end

#scoreObject

Stripe’s numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk.



215
216
217
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 215

def score
  @score
end