Permissions and restrictions
Turn individual capabilities on and off for a card — e-commerce, international use, mail order and other miscellaneous options.
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.
Headers
evrst-ptrnidCorrelation id for this request. Echo it in your own logs to trace the call through the platform.
getCardRestriction › Request Body
shadowCardNumberThe card whose restrictions are read.
getCardRestriction › Responses
Success.
cardRestrictionList is empty when the card carries no restriction, and equally empty when the shadow card number matches nothing: this reads a view directly and does not check that the card exists first.