NotificationTemplateRequestDto
Request data for creating or updating notification templates
codestring
Unique code identifier for the notification template
Example:
ACCOUNT_CREATIONtitleTemplatestring
Title template with placeholders for variables
Example:
Welcome to _BANK_NAME_ - Your account has been createdmessageTemplatestring
Message body template with placeholders for variables
Example:
Dear _CUSTOMER_NAME_,\n\nYour _ACCOUNT_TYPE_ account has been successfully created with account number _ACCOUNT_NUMBER_. You can now access your account through our mobile app or website.\n\nThank you for choosing _BANK_NAME_.channelstring
Communication channel for this notification template
Possible values: [SMS, EMAIL, PUSH, VOCAL, EMAIL, SMS, PUSH, VOCAL]
Example:
EMAILstatusstring
The status of the notification template. Possible values: ACTIVE, INACTIVE
Possible values: [ACTIVE, INACTIVE, ACTIVE, INACTIVE]
Example:
ACTIVElanguagestring
Language code for the template (ISO 639-1)
Example:
enrequiredVariablesstring
Comma-separated list of required variables for this template
Example:
_BANK_NAME_,_CUSTOMER_NAME_,_ACCOUNT_TYPE_,_ACCOUNT_NUMBER_NotificationTemplateRequestDto
{
"request": {
"code": "ACCOUNT_CREATION",
"titleTemplate": "Welcome to _BANK_NAME_ - Your account has been created",
"messageTemplate": "Dear _CUSTOMER_NAME_,\n\nYour _ACCOUNT_TYPE_ account has been successfully created with account number _ACCOUNT_NUMBER_. You can now access your account through our mobile app or website.\n\nThank you for choosing _BANK_NAME_.",
"channel": "EMAIL",
"status": "ACTIVE",
"language": "en",
"requiredVariables": "_BANK_NAME_,_CUSTOMER_NAME_,_ACCOUNT_TYPE_,_ACCOUNT_NUMBER_"
}
}