Skip to main content

SMS Template Parameters and Troubleshooting

Manage SMS template parameters and troubleshoot Notify SMS delivery issues.

Written by Gemma Langley

SMS templates created within GOV.UK Notify can use a range of parameters supplied by Income Management. These parameters are populated automatically when an SMS message is sent. After you create a template, find its Template ID by following Customer Guidance for Notify Account.

SMS template parameters

The following parameters can be used when creating SMS templates in GOV.UK Notify.

Parameter

Description

TransactionDate

Displays the transaction date and time in the format DD/MM/YYYY HH:MM:SS, for example 04/09/2020 15:44:36.

TransactionAmount

Displays the transaction amount, including the currency symbol, for example £10.99.

FundDescription

Displays the fund description.

ReferenceNumber

Displays the transaction reference number.

Surname

Displays the customer's surname.

Forename

Displays the customer's forename.


Troubleshooting

No SMS messages are being sent

When creating an API Key in GOV.UK Notify, ensure one of the following options is selected:

  • Live - Sends messages to any recipient once the service has gone live in GOV.UK Notify. Until then, the service is in trial mode and can send up to 50 text messages per day.

  • Team and guest list - Restricts messages to approved recipients and is recommended for testing.

SMS failure message

The following guidance applies when using a test configuration:

  • If the recipient's phone number is not included in the team or guest list, an SMS failure message will be displayed.

  • If the phone number has been added to the team or guest list, a confirmation message is displayed indicating that the SMS has been sent to the specified phone number.

For the full setup process, see Notify SMS and Pay by Bank Account and Notify SMS.

Did this answer your question?