POST api/Payment/GetPaymentData
Request Information
URI Parameters
None.
Body Parameters
PaytmModel| Name | Description | Type | Additional information |
|---|---|---|---|
| value | string |
None. |
|
| orderId | string |
None. |
|
| txnAmount | string |
None. |
|
| userInfo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"value": "sample string 1",
"orderId": "sample string 2",
"txnAmount": "sample string 3",
"userInfo": "sample string 4"
}
application/xml, text/xml
Sample:
<PaytmModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsPaperApi.Models"> <orderId>sample string 2</orderId> <txnAmount>sample string 3</txnAmount> <userInfo>sample string 4</userInfo> <value>sample string 1</value> </PaytmModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Response": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsPaperApi.Models"> <Message>sample string 2</Message> <Response /> <Status>1</Status> </ResultModel>