REST API
Abort Transaction
POST/v2/Payment/AbortTransaction

AbortTransaction cancels an active transaction on the terminal. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.

Body Parameters

ReferenceId
string
Tpn
string
RegisterId
string
Authkey*
string
CustomFields
object
POST/v2/Payment/AbortTransaction
1curl --location 'https://test.spinpos.net/v2/Payment/AbortTransaction' \
2--header 'Content-Type: application/json' \
3--data '{
4 "ReferenceId": "",
5 "Tpn": "",
6 "RegisterId": "",
7 "Authkey": "",
8 "CustomFields": {}
9}'
Response

// Awaiting response…

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