Skip to main content
GET
cURL

Path Parameters

entity-id
string
required

Either the card id or a concatenation of the program id with the card configuration code in the form of "{programId}:{cardConfigurationCode}".

Example:

"a8d8374f-0fd2-444d-a331-c345bf4948da:DEBIT"

entity-type
enum<string>
required
Available options:
card,
program_application

Response

200 - application/json

Successful operation

id
integer<int64>
name
string
Example:

"rule_set_for_a_product"

operatorType
enum<string>

Defines whether all rules should pass or if it's enough for just one rule to pass.

Available options:
ANY,
ALL
Example:

"ALL"

category
enum<string>

Determines who can read / write to this rule set. Each category requires its own dedicated access:

  • COMPLIANCE: requires compliance access
  • STANDARD_CUSTOMER: requires standard spend control access
  • ADVANCED_CUSTOMER: requires advanced spend control access
Available options:
COMPLIANCE,
STANDARD_CUSTOMER,
ADVANCED_CUSTOMER
overridable
boolean

If false, rules in this rule set cannot have per-entity parameter overrides.

Example:

true

rules
object[]