REST API
Upload Transaction
POST/v2/Logs/UploadTransaction

Upload Transaction — submits a log record of a request/response exchanged with the terminal over a given communication protocol. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.

Body Parameters

Tpn
string
CommunicationProtocol
enum
Request
string
Response
string
DateTime
string
POST/v2/Logs/UploadTransaction
1curl --location 'https://test.spinpos.net/v2/Logs/UploadTransaction' \
2--header 'Content-Type: application/json' \
3--data '{
4 "Tpn": "",
5 "CommunicationProtocol": "AzureServiceBus",
6 "Request": "",
7 "Response": "",
8 "DateTime": ""
9}'
Response

// Awaiting response…

Sample response
{
  "GeneralResponse": {
    "ResultCode": "0",
    "StatusCode": "0000",
    "Message": "",
    "DetailedMessage": "",
    "DelayBeforeNextRequest": null
  }
}