duration
The size of the trailing window to calculate Spend Velocity over in seconds. The minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
Throws
if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).