Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new factors to RiskScoreRules #1881

Merged
merged 4 commits into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions openapi/components/schemas/RiskScoreRules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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