Skip to main content
PUT
Update a card limit rule
Send the whole rule: rules replaces every condition. The change applies at once to every card limit that uses the rule. Only rules of your account can be changed — not the default rule sets. Send x-environment: LIVE for a production rule. Any member of the organization can update rules.

Headers

x-environment
enum<string>

Environment of the rule: LIVE (production) or TEST (sandbox). When you omit it, the request runs in TEST; any other value is rejected.

Available options:
LIVE,
TEST

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization the account belongs to.

Format: UUID

accountId
string
required

ID of the organization's account (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$
cardLimitRuleId
string
required

ID of the card limit rule to update (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
description
string
required

Name of the rule, to tell it apart from your other rules.

Minimum string length: 1
Example:

"Ads platforms only"

rules
object[]
required

Conditions of the rule. A transaction matches the rule only when it meets every condition.

Minimum array length: 1

Response

Successful response

A reusable set of conditions a card transaction must meet, applied through card limits.

_id
string
required

ID of the rule. Use it in a card limit's ruleIds.

Example:

"66f2a5a0b4d3e80012c9a0f1"

description
string
required

Name of the rule.

Example:

"Ads platforms only"

rules
object[]
required

Conditions of the rule. A transaction matches the rule only when it meets every condition.

createdAt
string<date-time>
required

When the rule was created.

Example:

"2026-11-02T12:40:03.000Z"

updatedAt
string<date-time>
required

When the rule last changed.

Example:

"2026-11-02T12:40:03.000Z"

__v
number
required

Version of the record, incremented by some updates.

Example:

0

realmId
string<uuid>

ID of the realm the rule belongs to. Absent on the default rules, which are shared.

Example:

"f495ff0c-ab54-4f99-8e92-ca8682e4de9b"

organizationId
string<uuid>

ID of the organization the rule belongs to. Absent on the default rules.

Example:

"c4bd3f21-dfbd-44e8-8055-68ba15bed410"

accountId
string

ID of the account the rule belongs to. Absent on the default rules.

Example:

"66f2a1c7b4d3e80012c9a0b4"

environment
enum<string>

Environment of the rule: LIVE (production) or TEST (sandbox). Absent on a few default rules.

Available options:
LIVE,
TEST
Example:

"LIVE"

external
object

Identifier of the rule at the card issuer. Absent on a default rule.