REST API
CGI Raw Transaction
POST/v2/CGI/Transaction/Raw

CGI Raw Transaction sends an arbitrary JSON transaction request to the terminal. Tpn and Authkey must be passed in request headers (Authkey may be omitted when SpinAccessToken is supplied). The request body is forwarded to the terminal as-is, and the response JSON is returned as-is when it is not a standard API error. A new RequestGuid is generated for each call; timeout is taken from the terminal's DefaultOperationalTimeout.

Header Parameters

Tpn*
string
POST/v2/CGI/Transaction/Raw
1curl --location 'https://test.spinpos.net/v2/CGI/Transaction/Raw' \
2--header 'Tpn: ' \
3--header 'Content-Type: application/json' \
4--data '{}'
Response

// Awaiting response…