UpdateWalletSettingsDto
apiKeystring
API key for wallet settings
communicationChannelstring
Communication channel preference
Possible values: [email, sms, all]
smsConfig object
SMS configuration
smsTitlestringrequired
SMS title
usernamestringrequired
SMS username
passwordstringrequired
SMS password
emailConfig object
Email configuration
typestringrequired
Email service type
Default value:
sesportnumberrequired
Email service port
auth objectrequired
Email authentication credentials
userstringrequired
Email auth username
passstringrequired
Email auth password
hoststringrequired
Email service host
communicationRules object[]
Array [
notificationTypestringrequired
Possible values: [NEW_LOYALTY, UPDATE_LOYALTY, REMINDER_LOYALTY, EARNINGS_UPDATE, NEW_COMMUNICATION, EXPIRED_COMMUNICATION, NEW_EVENT, UPDATE_EVENT, NEW_COUPON, UPDATE_COUPON, WELCOME_INTERNAL_CLIENTS, WELCOME_CRM_CLIENTS, WELCOME_EXTERNAL_CLIENTS, WELCOME_COUPON, EXPIRED_COUPON, TRANSIT_TICKET, UPDATE_TRANSIT, HOTEL_RESERVATION, UPDATE_HOTEL_RESERVATION, CINEMA_TICKET]
smsbooleanrequired
emailbooleanrequired
notificationbooleanrequired
]
UpdateWalletSettingsDto
{
"apiKey": "string",
"communicationChannel": "email",
"smsConfig": {
"smsTitle": "string",
"username": "string",
"password": "string"
},
"emailConfig": {
"type": "ses",
"port": 0,
"auth": {
"user": "string",
"pass": "string"
},
"host": "string"
},
"communicationRules": [
{
"notificationType": "NEW_LOYALTY",
"sms": true,
"email": true,
"notification": true
}
]
}