Skip to main content
POST
/
cards
/
notification-settings
Update Card Notification Settings
curl --request POST \
  --url https://access.utgl.io/v1/cards/notification-settings \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountId": "9e5aa301-6fa5-4526-98ac-12c1343e63fc",
  "cardId": "373fa422-0b8c-4f09-ac74-64a5a2c4241e",
  "purchaseNotification": "sms",
  "atmNotification": "whatsapp",
  "onlinePurchaseVerification": "auto",
  "fraudAlert": "whatsapp"
}
'
{
  "cardAccountId": "9e5aa301-6fa5-4526-98ac-12c1343e63fc",
  "cardId": "373fa422-0b8c-4f09-ac74-64a5a2c4241e",
  "purchaseNotification": "sms",
  "atmNotification": "whatsapp",
  "onlinePurchaseVerification": "auto",
  "fraudAlert": "whatsapp"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
cardAccountId
string<uuid>
required

Card account ID of the card to update notification settings.

cardId
string<uuid>
required

Card ID of the card to update notification settings.

purchaseNotification
enum<string>
required

Notification method for purchase transactions.

Available options:
sms,
whatsapp,
auto,
off
atmNotification
enum<string>
required

Notification method for ATM withdrawals.

Available options:
sms,
whatsapp,
auto,
off
onlinePurchaseVerification
enum<string>
required

Notification method for online purchase verification codes.

Available options:
sms,
whatsapp,
auto,
off
fraudAlert
enum<string>
required

Notification method for fraud alerts.

Available options:
sms,
whatsapp,
auto,
off

Response

200 - application/json

Successful Response

cardAccountId
string<uuid>

Card account ID of the card for which notification settings were updated.

cardId
string<uuid>

Card ID of the card for which notification settings were updated.

purchaseNotification
enum<string>

Notification method for purchase transactions.

Available options:
sms,
whatsapp,
auto,
off
atmNotification
enum<string>

Notification method for ATM withdrawals.

Available options:
sms,
whatsapp,
auto,
off
onlinePurchaseVerification
enum<string>

Notification method for online purchase verification codes.

Available options:
sms,
whatsapp,
auto,
off
fraudAlert
enum<string>

Notification method for fraud alerts.

Available options:
sms,
whatsapp,
auto,
off