Action to end the day. By calling this action when the store closes, IPPOS will confirm all transactions that day to the bank. In this way, the next day, all the transactions of the day will be transferred to the merchant's account.
Description of Response object
Request object
Purpose
Description
request.operationCode
Operation number
Will send constant 59
request.TerminalID
Terminal ID
IPPOS terminal ID given by the bank. Each cash register has a different terminal ID.
C# Sample code
DualConnector.DCLink dclink = new DualConnector.DCLink();
DualConnector.ISAPacket request = new DualConnector.SAPacket();
DualConnector.ISAPacket response = new DualConnector.SAPacket();
request.OperationCode = 59;
request.TerminalID = "13133707";
try
{
int res = dclink.InitResources();
if (res != 0)
{
Console.WriteLine("Exception during InitResource: " + dclink.ErrorDescription);
}
else
{
res = dclink.Exchange(ref request, ref response, 5000000);
if (res != 0)
{
Console.WriteLine("Exception during DCExchange: " + dclink.ErrorDescription);
}
}
dclink.FreeResources();
if (response.Status == 1)
{
Console.WriteLine("Settlement Successful");
Console.WriteLine("Receipt: " + response.ReceiptData);
}
else
{
Console.WriteLine("Settlement Failed");
Console.WriteLine("Error code:" + response.TextResponse);
}
}
catch (Exception e)
{
Console.WriteLine("Exception during DualConnector: " + e.Message);
}
Console.ReadKey();
Description of the Response object
Response object
Purpose
Description
response.status
Transaction status
Response code of 1 is considered transaction is successful. If the response code is anything else, the transaction is considered unsuccessful.
response.ResponseCodeHost
Error code.
Download full description list from "Required files"
response.ReceiptData
Receipt data.
The information of the settlement. Merchant will print and keep the receipt.