This operation is used to ‘undo’ or roll back a specified transaction.
Request
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerID | ID of partner identification of Integration Casino in the customer system |
string | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
sign | Parameters: partnerID, name, reference, sessionID (for more information see Creating Data Sign) | string (64) | 5E0A0349AE36AD67 CD21D891AB124CCE 8CC4171C5BD7EF5B 26FCA86DB71F500A |
name | Identity name name of user in partners system |
string (48) | Player01 |
reference | Reference of the transaction that should be rolled back. | long | 123456789 |
sessionID | The ID of the session that is associated with the rollback. This parameter is optional, the default value is 0. | long | 123456789 |
Request example:
REST JSON
POST https://casino.com/THE/WalletService/RollbackTransaction HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 123456
Host: staging.tomhorngames.com
{
"partnerID" : "JsonTestCustomer1",
"sign" : "712523E472F936E88B9806A5919326B50DE2C71319837E7149B8BFD1DA9E09DD",
"name" : "test_EUR",
"reference" : 1761,
"sessionID" : 669357
}
SOAP
<RollbackTransaction> <partnerID>C66B9778-574C-4B88-BBA5-2EFD362365E4</partnerID> <sign>CBF2AE53714069A228077E0CC7829A496343150A82E87C96BED8727EB0BD623A</sign> <name>Player123</name> <reference>401048</reference> <sessionID>29649</sessionID> </RollbackTransaction>
Response
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
Code | Result codes : 0, 1, 2, 3, 4, 5, 9, 12 (See Result Codes) | integer | 0 |
Message | Description of the error, if one has occurred. This value is filled only in the event that an error occurs. | string (256) | The transaction is already rolled back |
Response example:
REST JSON
{
"Code": 0,
"Message": ""
}
SOAP
<RollbackTransactionResult> <Code>0</Code> <Message></Message> </ RollbackTransactionResult>
Comments
0 comments
Article is closed for comments.