Summary
POST
/v2/Report/SummarySummary returns a batch summary report of all transactions processed on the terminal. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.
Body Parameters
Tpn
stringRegisterId
stringAuthkey
stringSPInProxyTimeout
numberPOST/v2/Report/Summary
1curl --location 'https://test.spinpos.net/v2/Report/Summary' \
2--header 'Content-Type: application/json' \
3--data '{
4 "Tpn": "",
5 "RegisterId": "",
6 "Authkey": "",
7 "SPInProxyTimeout": ""
8}'
Response
// Awaiting response…
Sample response
{
"SummaryDetails": [
{
"MerchantNumber": null,
"Application": "",
"TransactionsSummaryReports": {
"TransactionsCount": null,
"SaleAmount": null,
"ReturnAmount": null,
"VoidAmount": null,
"AuthAmount": null,
"TicketAmount": null,
"ReversalAmount": null,
"CashAdvanceAmount": null,
"TotalAmount": null
}
}
],
"GeneralResponse": {
"HostResponseCode": "00",
"HostResponseMessage": "Approved",
"ResultCode": "Ok",
"StatusCode": "0000",
"Message": "Approved",
"DetailedMessage": "APPROVAL VTLMC1",
"DelayBeforeNextRequest": null
}
}