Abort Transaction
POST
/v2/Payment/AbortTransactionAbortTransaction 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
stringTpn
stringRegisterId
stringAuthkey*
stringCustomFields
objectPOST/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
}
}