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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
enum
Allowed:
string
string

Optional cardholder-facing supporting text. Same semantics as displayName. Max 500 chars.

string

Optional cardholder-facing short label. Omit to leave existing value alone; pass "" to clear. Max 80 chars.

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 objects
restrictionsToRemove
string
enum
Allowed:
string
enum

Velocity cycle is required for velocity rules only
all_time VelocityCycleAllTime All-time window; does not reset
monthly VelocityCycleMonthly Resets monthly at 12:00am PT on the first of the month
weekly VelocityCycleWeekly Resets weekly at 12:00am PT on Monday
daily VelocityCycleDaily Resets daily at 12:00am PT
hourly VelocityCycleHourly Hourly is a rolling 60-minute window (not tied to the wall clock hour)
single_transaction VelocityCycleSingleTransaction Applies to a single authorization only (no accumulation)

Allowed:
string
enum

Velocity type defaults to 'currency_amount' if not provided
currency_amount VelocityTypeCurrencyAmount Velocity type defaults to 'currency_amount' if not provided
authorization_count VelocityTypeAuthorizationCount

Allowed:
string
Headers
string
Responses

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