POST api/Payment/RedirectFromTrazgate

Request Information

URI Parameters

None.

Body Parameters

TranzgateCallBackResponseDTO
NameDescriptionTypeAdditional information
Responsecode

string

None.

Reason

string

None.

Reasondetails

string

None.

Request Formats

application/json, text/json

Sample:
{
  "responsecode": "sample string 1",
  "reason": "sample string 2",
  "reasondetails": "sample string 3"
}

text/html

Sample:
{"responsecode":"sample string 1","reason":"sample string 2","reasondetails":"sample string 3"}

text/xml

Sample:
<TranzgateCallBackResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApplicationPortalAPI.Models.DTOs.Payment">
  <Reason>sample string 2</Reason>
  <Reasondetails>sample string 3</Reasondetails>
  <Responsecode>sample string 1</Responsecode>
</TranzgateCallBackResponseDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TranzgateCallBackResponseDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, text/xml

Sample:

Sample not available.