POST api/BackOffice/HandleTransactionAlert
Receive a credit card operation
Request Information
URI Parameters
None.
Body Parameters
Credit card transaction request object
TransactionAlertRequestName | Description | Type | Additional information |
---|---|---|---|
Source |
The system that create the credit transaction |
string |
Max length: 50 |
CustomerTransactionID |
The trip number created in the back office - optional field |
integer |
None. |
UserName |
The provided user name. |
string |
Required |
Salt |
A random number(at least 9 digits) |
integer |
Required |
Digest |
A digest of the user credentials and the request |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Source": "sample string 1", "CustomerTransactionID": 2, "UserName": "sample string 3", "Salt": 4, "Digest": "sample string 5" }
application/xml, text/xml
Sample:
<TransactionAlertRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UserName="sample string 3" Salt="4" Digest="sample string 5"> <Source>sample string 1</Source> <CustomerTransactionID>2</CustomerTransactionID> </TransactionAlertRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Credit card transaction response object
TransactionAlertResponseName | Description | Type | Additional information |
---|---|---|---|
Result |
The result of the operation |
WebOperationResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "Success": true, "Message": "sample string 2", "Extra1": "sample string 3", "Extra2": "sample string 4", "Extra3": "sample string 5" } }
application/xml, text/xml
Sample:
<TransactionAlertResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result> <Success>true</Success> <Message>sample string 2</Message> <Extra1>sample string 3</Extra1> <Extra2>sample string 4</Extra2> <Extra3>sample string 5</Extra3> </Result> </TransactionAlertResponse>