Use this endpoint to update the attributes of a specific transaction rule based on its unique GUID. The API will respond with the updated transaction_rule object. Any attributes not provided will be left unchanged.
To authenticate with the Platform API, include your Base64-encoded client_id and api_key in the Authorization header of every request:
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'
Headers
Accept-Version
string
default:v20250224
required
MX Platform API version.
Example:
"v20250224"
Path Parameters
transaction_rule_guid
string
required
The unique id for a transaction_rule.
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
Body
application/json
TransactionRule object to be updated
transaction_rule
object
Hide child attributes
transaction_rule.category_guid
string | null
The unique identifier for the category. Defined by MX.
Example:
"CAT-b6d61a19-30a7-e852-2703-bdfb4072289e"
transaction_rule.description
string
The matched transaction's description will be updated to the string provided here.
Example:
"Wal-mart food storage"
transaction_rule.match_description
string
A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of match_description to a transaction's cleansed description.
Example:
"Wal-mart"
Response
200 - application/json
OK
transaction_rule
object
Hide child attributes
transaction_rule.category_guid
string | null
The unique identifier for the category. Defined by MX.
Example:
"CAT-b6d61a19-30a7-e852-2703-bdfb4072289e"
transaction_rule.created_at
string | null
The date and time the resource was created, represented in ISO 8601 format with a timestamp.
Example:
"2025-02-13T18:08:00+00:00"
transaction_rule.description
string | null
The matched transaction's description will be updated to the string provided here.
Example:
"Wal-mart food storage"
transaction_rule.guid
string | null
A unique identifier for the transaction_rule. Defined by MX.
Example:
"TXR-a080e0f9-a2d4-4d6f-9e03-672cc357a4d3"
transaction_rule.match_description
string | null
A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of match_description to a transaction's cleansed description.
Example:
"Wal-mart"
transaction_rule.updated_at
string | null
The date and time the resource was last updated in ISO 8601 format with a timestamp.
For categories, this field will always be null when is_default is true.
Example:
"2025-02-13T18:09:00+00:00"
transaction_rule.user_guid
string | null
The unique identifier for the user. Defined by MX.