POST api/WestcorPayPortal/GetTransaction
Gets transaction by transaction id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "TransactionsID": 1, "Token": "sample string 2", "PartnerCode": "sample string 3" }
application/xml, text/xml
Sample:
<GetTransaction_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <PartnerCode>sample string 3</PartnerCode> <Token>sample string 2</Token> <TransactionsID>1</TransactionsID> </GetTransaction_Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "TransactionsID": 1, "NetRemitAmount": 2.0, "PaymentDate": "2025-04-11T12:34:02.6043138+00:00", "PaymentAmount": 3.0, "PaymentSource": "sample string 4", "PaymentSourceID": "sample string 5", "AgentNumber": "sample string 6", "Description": "sample string 7" }
application/xml, text/xml
Sample:
<GetTransaction_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <AgentNumber>sample string 6</AgentNumber> <Description>sample string 7</Description> <NetRemitAmount>2</NetRemitAmount> <PaymentAmount>3</PaymentAmount> <PaymentDate>2025-04-11T12:34:02.6043138+00:00</PaymentDate> <PaymentSource>sample string 4</PaymentSource> <PaymentSourceID>sample string 5</PaymentSourceID> <TransactionsID>1</TransactionsID> </GetTransaction_Result>