🚀 VaultsPay API v1 is live. See what's new →
Rules EngineUpdate Card Security

Update Card Security

Customers can update their card settings, including enabling or disabling specific options and changing the transaction type. When the transaction type is updated, the security settings will be linked to the new transaction type selected by the user. In the future, agents may also be allowed to view and modify these security settings on behalf of customers.

PUT{baseUrl}/re/api/v1/card-security

Payload

AttributeTypeRequiredDescription
transactionTypeEnumYesTransaction type to which the user wants to update the setting.
cardIdStringYesCard ID related to which the setting wants to be updated.
idStringYesID of the security setting entry to update.
valueStringYes1 to enable, 0 to disable.
Request Example
{
  "transactionType": "ATM_WITHDRAWAL",
  "cardId": "1",
  "id": "69",
  "value": "1"
}

Response

FieldTypeDescription
idIntegerID of security setting.
transactionTypeStringType of transaction to which the security setting is linked.
titleStringTitle of security setting.
descriptionStringDescription related to security setting.
enabledBooleantrue if the setting is now enabled.
200 — SUCCESS
{
  "data": {
    "id": 69,
    "transactionType": "ATM_WITHDRAWAL",
    "title": "Block ATM Withdrawal Transactions",
    "description": "Block ATM Withdrawal transactions, if you lost your ATM then you can block withdrawal from ATM for extra security ASAP!",
    "enabled": true
  }
}