API Reference

Update Spend Rule

Updates a spend rule. The type can only be changed from merchant_allow to merchant_block or vice versa, type cannot be changed between velocity and merchant rules. To apply or un-apply the rule to all cards within a business or program, set the ApplyTo field.

Log in to see full request history
Path Params
string
required
Body Params
string
string
string
string

Program ID is only required if you plan to change the applyTo field to program

restrictionsToAdd
array of objects
restrictionsToAdd
restrictionsToRemove
array of uuids
restrictionsToRemove
string
string

Velocity cycle is required for velocity rules only
all_time VelocityCycleAllTime
monthly VelocityCycleMonthly
weekly VelocityCycleWeekly
daily VelocityCycleDaily
single_transaction VelocityCycleSingleTransaction

string
Headers
string
Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
*/*