Voucher format substitution codes
Substitution codes can be used with regular text to create a standard format or template that displays specific details of prepaid vouchers. For more information, see Substitution codes.
| Field | Substitution code |
|---|---|
| Voucher number | number |
| Voucher secret | cleartext |
| Voucher activation start date | ref.batch.startDate |
| Voucher activation end date | ref.batch.expiryDate |
The following is an example of the use of voucher format substitution codes:
| Input | Output |
|---|---|
| Voucher Number: {number} | Voucher Number: 12345 |
| Voucher Secret: {cleartext} | Voucher Secret: 112233 |
| Voucher Expiry: {ref.batch.expiryDate} | Voucher Expiry: 01/07/15 |