OTP binding
This commit is contained in:
23
src/util/sms_template.js
Normal file
23
src/util/sms_template.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const templates = {
|
||||
IMPS: (otp) => `Dear Customer, Please complete the fund transfer with OTP ${otp} -KCCB`,
|
||||
|
||||
NEFT: (otp, amount, beneficiary) =>
|
||||
`Dear Customer, Please complete the NEFT of Rs.${amount} to ${beneficiary} with OTP:${otp} -KCCB`,
|
||||
|
||||
RTGS: (otp, amount, beneficiary) =>
|
||||
`Dear Customer, Please complete the RTGS of Rs.${amount} to ${beneficiary} with OTP:${otp} -KCCB`,
|
||||
|
||||
BENEFICIARY_ADD: (otp, beneficiary, ifsc) =>
|
||||
`Dear Customer, You have added beneficiary ${beneficiary} ${ifsc} for NEFT/RTGS. Please endorse the beneficiary with OTP ${otp} -KCCB`,
|
||||
|
||||
BENEFICIARY_SUCCESS: (beneficiary) =>
|
||||
`Dear Customer, Your Beneficiary: ${beneficiary} for Net Banking is added successfully -KCCB`,
|
||||
|
||||
NOTIFICATION: (acctFrom, acctTo, amount, ref, date) =>
|
||||
`Your A/c ${acctFrom} is debited for Rs. ${amount} to the credit of A/c ${acctTo} thru Net Banking - ref: ${ref} - ${date} - Kangra Central Co-Operative Bank -KCCB`,
|
||||
|
||||
FORGOT_PASSWORD: (otp) =>
|
||||
`Dear Customer, Forgot Password OTP is ${otp} -KCCB`,
|
||||
};
|
||||
|
||||
module.exports = templates;
|
||||
Reference in New Issue
Block a user