---
title: "Get Card Rules"
method: GET
path: "/business/v2/cards/{cardId}/rules"
tags: ["Card Rules"]
---

# Get Card Rules

`GET /business/v2/cards/{cardId}/rules`

## Request

- Base URL: `https://api.soldo.com`
- URL: `https://api.soldo.com/business/v2/cards/{cardId}/rules`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.soldo.com/oauth/authorize` scopes: `card_read`
- TypeScript: <https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/docs/business/v2/cards/:cardId/rules/get.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint to get the `CardRules` of the `Card`.

## Path parameters

- `cardId` string, required: The `Card` ID.

## Response `200`

The returned resource is a list of `CardRule`.

- CardRuleList
  - `rules` CardRuleItem[]
    - `name` 'OpenCloseMasterLock' | 'OpenClose' | 'OpenCloseAfterOneTx' | 'Online' | 'Contactless', required
    - `enabled` boolean, required: It determines whether the `CardRule` is enabled.

## Other responses

- `404`: One or more resource requested does not exist.

---

[API](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0.md) - [All operations](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/revisions/23fc5d07b367?raw)
