POST api/TSEVO/DirectCashierSessionStatusCallback
Request Information
URI Parameters
None.
Body Parameters
SessionStatusCallbackName | Description | Type | Additional information |
---|---|---|---|
MerchantTransactionID | string |
None. |
|
TransactionStatusCode | PaymentStatusCode |
None. |
|
TransactionStatusMessage | string |
None. |
|
SessionID | string |
None. |
|
MerchantSessionID | string |
None. |
|
MerchantCustomerID | string |
None. |
|
SessionScore | decimal number |
None. |
|
ReasonCodes | Collection of string |
None. |
|
ServiceType | string |
None. |
|
StatusCode | SessionStatusCode |
None. |
|
StatusMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MerchantTransactionID": "sample string 1", "TransactionStatusCode": 0, "TransactionStatusMessage": "sample string 2", "SessionID": "sample string 3", "MerchantSessionID": "sample string 4", "MerchantCustomerID": "sample string 5", "SessionScore": 6.0, "ReasonCodes": [ "sample string 1", "sample string 2" ], "ServiceType": "sample string 7", "StatusCode": 0, "StatusMessage": "sample string 8" }
text/html
Sample:
{"MerchantTransactionID":"sample string 1","TransactionStatusCode":0,"TransactionStatusMessage":"sample string 2","SessionID":"sample string 3","MerchantSessionID":"sample string 4","MerchantCustomerID":"sample string 5","SessionScore":6.0,"ReasonCodes":["sample string 1","sample string 2"],"ServiceType":"sample string 7","StatusCode":0,"StatusMessage":"sample string 8"}
application/xml, text/xml
Sample:
<SessionStatusCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models.DirectCashier"> <MerchantCustomerID xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">sample string 5</MerchantCustomerID> <MerchantSessionID xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">sample string 4</MerchantSessionID> <ReasonCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ReasonCodes> <ServiceType xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">sample string 7</ServiceType> <SessionID xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">sample string 3</SessionID> <SessionScore xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">6</SessionScore> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">Complete</StatusCode> <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models">sample string 8</StatusMessage> <MerchantTransactionID>sample string 1</MerchantTransactionID> <TransactionStatusCode>Pending</TransactionStatusCode> <TransactionStatusMessage>sample string 2</TransactionStatusMessage> </SessionStatusCallback>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SessionStatusCallbackResponseName | Description | Type | Additional information |
---|---|---|---|
MerchantTransactionID | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "MerchantTransactionID": "sample string 1" }
text/html
Sample:
{"MerchantTransactionID":"sample string 1"}
application/xml, text/xml
Sample:
<SessionStatusCallbackResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GIDX.SDK.Models.DirectCashier"> <MerchantTransactionID>sample string 1</MerchantTransactionID> </SessionStatusCallbackResponse>