POST api/PaymentRefund/Refund_NTT
Documentation for 'Refund_NTT'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| _PaymentRefund | Documentation for '_PaymentRefund'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"MerchId": "sample string 1",
"Password": "sample string 2",
"MerchTxnId": "sample string 3",
"atomTxnId": "sample string 4",
"Refamount": 5.1,
"ReqUniqueId": "sample string 6",
"HashReqKey": "sample string 7",
"AESReskey": "sample string 8",
"RefundAPI": "sample string 9"
}
application/xml, text/xml
Sample:
<PaymentRefundController.NTT_PaymentRefund xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TVSE_Payments.Controllers"> <AESReskey>sample string 8</AESReskey> <HashReqKey>sample string 7</HashReqKey> <MerchId>sample string 1</MerchId> <MerchTxnId>sample string 3</MerchTxnId> <Password>sample string 2</Password> <Refamount>5.1</Refamount> <RefundAPI>sample string 9</RefundAPI> <ReqUniqueId>sample string 6</ReqUniqueId> <atomTxnId>sample string 4</atomTxnId> </PaymentRefundController.NTT_PaymentRefund>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"payInstrument": {
"headDetails": {
"api": "sample string 1",
"source": "sample string 2"
},
"merchDetails": {
"merchId": 1,
"password": "sample string 2",
"merchTxnId": "sample string 3"
},
"payDetails": {
"signature": "sample string 1",
"atomTxnId": 2,
"totalRefundAmount": 3.1,
"txnCurrency": "sample string 4",
"prodDetails": [
{
"prodName": "sample string 1",
"prodRefundAmount": 2.1,
"prodRefundId": "sample string 3"
},
{
"prodName": "sample string 1",
"prodRefundAmount": 2.1,
"prodRefundId": "sample string 3"
},
{
"prodName": "sample string 1",
"prodRefundAmount": 2.1,
"prodRefundId": "sample string 3"
}
]
}
}
}
application/xml, text/xml
Sample:
<NTT_PaymentRefundRequest_Root xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TVSE_Payments.Models.RequestModels">
<payInstrument>
<headDetails>
<api>sample string 1</api>
<source>sample string 2</source>
</headDetails>
<merchDetails>
<merchId>1</merchId>
<merchTxnId>sample string 3</merchTxnId>
<password>sample string 2</password>
</merchDetails>
<payDetails>
<atomTxnId>2</atomTxnId>
<prodDetails>
<NTT_PaymentRefundRequest_ProdDetail>
<prodName>sample string 1</prodName>
<prodRefundAmount>2.1</prodRefundAmount>
<prodRefundId>sample string 3</prodRefundId>
</NTT_PaymentRefundRequest_ProdDetail>
<NTT_PaymentRefundRequest_ProdDetail>
<prodName>sample string 1</prodName>
<prodRefundAmount>2.1</prodRefundAmount>
<prodRefundId>sample string 3</prodRefundId>
</NTT_PaymentRefundRequest_ProdDetail>
<NTT_PaymentRefundRequest_ProdDetail>
<prodName>sample string 1</prodName>
<prodRefundAmount>2.1</prodRefundAmount>
<prodRefundId>sample string 3</prodRefundId>
</NTT_PaymentRefundRequest_ProdDetail>
</prodDetails>
<signature>sample string 1</signature>
<totalRefundAmount>3.1</totalRefundAmount>
<txnCurrency>sample string 4</txnCurrency>
</payDetails>
</payInstrument>
</NTT_PaymentRefundRequest_Root>