- For the following example, we configured the following Message Parameters:
type
amount
currency
accountNumber
Given the following translation in strings_en.properties
file in directory ./instances/common/transaction-approval-texts/
, we added the message parameters as variables to the original text:
mtan.payment.message = Your payment information: Amount: ${currency} ${amount}, Account: ${accountNumber,mid,3,5}. Please confirm with security code: ${TOKEN}.
When the parameters received in the mTAN transaction approval parameter step are as follows:
{ "messageParameters": { "type": "payment", "amount": "2000", "currency": "EUR", "accountNumber": "CH12 3456 7890 1234 5678 9" } }
The resulting SMS message that is generated for mTAN when Airlock IAM chooses the token to be 1234 would be:
Your payment information: Amount: EUR 2000, Account: CH1..678 9. Please confirm with security code: 1234.