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
| Attribute | Type | Required | Description |
|---|---|---|---|
| transactionType | Enum | Yes | Transaction type to which the user wants to update the setting. |
| cardId | String | Yes | Card ID related to which the setting wants to be updated. |
| id | String | Yes | ID of the security setting entry to update. |
| value | String | Yes | 1 to enable, 0 to disable. |
Request Example
{
"transactionType": "ATM_WITHDRAWAL",
"cardId": "1",
"id": "69",
"value": "1"
}Response
| Field | Type | Description |
|---|---|---|
| id | Integer | ID of security setting. |
| transactionType | String | Type of transaction to which the security setting is linked. |
| title | String | Title of security setting. |
| description | String | Description related to security setting. |
| enabled | Boolean | true 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
}
}