Reverse/Rollback the txn by given txnRefNo
patch
/service/txns/{txnRefNo}/{action}
This endpoint is used to reverse/rollback the transaction identified by the given txn ref no.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
action: string
action(reverse/rollback) to be performed on specified txnRefNo.
-
txnRefNo: string
txnRefNo of the transaction to be reversed.
Header Parameters
-
sourceCode: string
Source from which request is initiated
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
Root Schema : ResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object ResponseResourceSupport
-
messages(optional):
object ResponseDto
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes(optional):
array codes
-
id(optional):
string
-
requestId(optional):
string
-
status(optional):
string
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg(optional):
string
-
args(optional):
array args
-
Code(optional):
string
-
Desc(optional):
string
-
Language(optional):
string
-
Type(optional):
string
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error