Glossary
| Term | Definition |
|---|---|
| Cash register number | Cash register number is a 8 digit number that was intended to be used as a unique identifier for the cash register that the cashier is using and can be static or dynamic based on the requirement. It can be kept as 12345678 for example in case of static value. |
| ECR Reference Number | ECR Reference number is a 14 digit number that is comprised of the 8 digit Cash Register Number + 6 random digits. It should start with a non-zero digit. This can be chosen as a dynamic value or kept as a static value like 12345678900001 |
| Terminal ID (TID) | Terminal ID is a 16 digit number that uniquely identifies the terminal like 1160000101300001. It can be obtained from the "Register" Method and also from the transaction receipt under the transaction time. Nami terminals are normally referenced with the first 8 digits of this Terminal ID like 11600001 |
| inputReqData | inputReqData is the part of the data that is sent to the packData method and will contain the datetime, amount in Halalahs, print flag and lastly the ECR reference number. e.g- 210320144000;100;0;12345478000001! |
| Signature | The signature is used to validate the message from the cashier application to the terminal and is made by first concatenating the last six digits of the ECR reference number with the full 16 digit TID and then running a SHA256 algorithm to get the signature. There are methods that handle this in Nami SDKs and Libraries. It is required for all financial type transactions like Purchase, Reversal etc and is not required for Register, Start Session and similar non-financial transactions. |
Updated about 2 months ago