Request ID can be any number. In order to make it easy to find your request later, it is advisable to keep it non-overlapping
"789"
portNo
string
Indicates which PORTs on the Cash register PCs are connected. If it is connected to COM1, it will send “1”.
"1"
timeout
string
"540000"
terminalID
string
Terminal ID of the POS. It is configured at the POS by the bank
"13133707"
amount
string
Transaction amount. Enter operation code "1" and "4". Last two digits are the fractions. If "1000" is entered, it will be 10 MNT at the POS
"1000"
currencyCode
string
Currency
"496"
operationCode
string
Operation code to perform. See the Operation code section
"1"
bandWidth
string
"115200"
cMode
string
cMode2
string
additionalData
string
cardEntryMode
string
fileData
string
When sending a request, all fields must be sent. Field can be empty. Convert request JSON string to Base64 string and send GET request after “http://localhost:8500/requestToPos/message?data=” =" followed by Base64 string. The response will come in the following format.
Response message
Field name
Format
Example
data
The response message is sent as a Base64 string. If it is empty, there is no response from the POS