From 46d40e8a6ffdc5c2aa7ffdaf0e55fcf1734396e5 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 3 May 2024 09:47:46 -0700 Subject: [PATCH] feat: Add new factors to RiskScoreRules (#1881) --- .../components/schemas/RiskScoreRules.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/openapi/components/schemas/RiskScoreRules.yaml b/openapi/components/schemas/RiskScoreRules.yaml index cb5c5d261c..4458784dab 100644 --- a/openapi/components/schemas/RiskScoreRules.yaml +++ b/openapi/components/schemas/RiskScoreRules.yaml @@ -17,6 +17,11 @@ required: - ipVelocity - emailVelocity - billingAddressVelocity + - isRebill + - isRetry + - customerLifetimeValue + - browserAdBlockEnabled + - paymentInstrumentApprovedTransactionCount properties: isProxy: description: Specifies whether the customer's IP address is related to a proxy. @@ -66,3 +71,18 @@ properties: billingAddressVelocity: description: Number of transactions for this billing address in the last 24 hours. $ref: ./RiskScoreBracket.yaml + isRebill: + description: Specifies whether the transaction is one of a number of recurring payments in a subscription, excluding trials or setup fees. + $ref: ./RiskScoreBoolean.yaml + isRetry: + description: Specifies whether the transaction is a retry. + $ref: ./RiskScoreBoolean.yaml + customerLifetimeValue: + description: Total revenue from the customer, in USD. + $ref: ./RiskScoreBracket.yaml + browserAdBlockEnabled: + description: Specifies whether an ad blocker was detected. + $ref: ./RiskScoreBoolean.yaml + paymentInstrumentApprovedTransactionCount: + description: Number of approved transactions for this payment instrument. + $ref: ./RiskScoreBracket.yaml