Properties
| Name | Type | Description |
|---|---|---|
| operation | string | Defines how the condition must be evaluated. |
| value | array | List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, * |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BrandVariantsRestriction",
"title": "BrandVariantsRestriction",
"properties": {
"operation": {
"description": "Defines how the condition must be evaluated.",
"type": "string"
},
"value": {
"description": "List of card brand variants.\n\nPossible values: \n\n- **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro**\n\n - **visa**, **visacredit**, **visadebit**, **visaprepaid**.\n\nYou can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**.\n\n",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"operation"
],
"type": "object"
}