If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more
Value in"CURRENT_USAGE_AMOUNT" | "METRIC_CURRENT_USAGE_AMOUNT" | "METRIC_CURRENT_USAGE_UNITS" | "LIFETIME_USAGE_AMOUNT"
codestringRequired
The unique code to identify the alert.
metric_codestringOptional
The code of the metric associated with the alert. Required for metric-specific alert types (METRIC_CURRENT_USAGE_AMOUNT and METRIC_CURRENT_USAGE_UNITS).
List of thresholds that will trigger this alert. At least one threshold is required.
AlertThreshold properties
3 properties
codestringOptional
Identifier for this threshold. Used to distinguish between different thresholds.
valuestringRequired
A value that should trigger this alert. Must be a positive numeric string that can include a decimal point.
Match^[0-9]+\.?[0-9]*$
recurringbooleanOptional
When true, enables retriggering of alerts at specified intervals after the last non-recurring threshold is exceeded. For example, with non-recurring thresholds at 500 and 1000, and a recurring threshold of 200, alerts will fire at 500, 1000, then every 200 thereafter (1200, 1400, etc.). Only one recurring threshold permitted per alert.