# POST /Indoor/api/getCardRestriction

**Resource:** [Permissions and restrictions](../resources/Permissions-and-restrictions.md)
**Service that lists restrictions defined on the card**
**Operation ID:** `getCardRestriction`

Retrieves debit card restrictions for a given ShadowCardNumber. Accepts GetDebitCardRestrictionRequest with ShadowCardNumber. Returns GetDebitCardRestrictionResponse containing a list of CardRestriction items, each including RestrictionCode, RestrictionCodeDescription, RestrictionPermissionIndicator, and RestrictionPermissionIndicatorDescription. Uses _intRepository.GetCardRestriction internally.

## Request Body

Get Debit Card Restriction Request

**Required:** Yes

**Content Types:** `application/json`

**Schema:** [GetDebitCardRestrictionRequest](../schemas/Get/GetDebitCardRestrictionRequest.md)

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[GetDebitCardRestrictionResponse](../schemas/Get/GetDebitCardRestrictionResponse.md)

