Class: Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisk

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(dispute_rate: nil, risk_level: nil) ⇒ MerchantDisputeRisk

Returns a new instance of MerchantDisputeRisk.



229
230
231
232
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 229

def initialize(dispute_rate: nil, risk_level: nil)
  @dispute_rate = dispute_rate
  @risk_level = risk_level
end

Instance Attribute Details

#dispute_rateObject

The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100.



225
226
227
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 225

def dispute_rate
  @dispute_rate
end

#risk_levelObject

The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing.



227
228
229
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 227

def risk_level
  @risk_level
end