diff --git a/charge.go b/charge.go index 624a4a321e..18de1f1ba2 100644 --- a/charge.go +++ b/charge.go @@ -208,12 +208,13 @@ type ChargeOutcomeRule struct { Predicate string `json:"predicate"` } -// Outcome is the charge's outcome that details whether a payment +// ChargeOutcome is the charge's outcome that details whether a payment // was accepted and why. type ChargeOutcome struct { NetworkStatus string `json:"network_status"` Reason string `json:"reason"` RiskLevel string `json:"risk_level"` + RiskScore int64 `json:"risk_score"` Rule *ChargeOutcomeRule `json:"rule"` SellerMessage string `json:"seller_message"` Type string `json:"type"`