POST api/spdcl/refundTxn
Request Information
URI Parameters
None.
Body Parameters
RefundTxn| Name | Description | Type | Additional information |
|---|---|---|---|
| data | PayloadRefund |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"merchantid": "sample string 1",
"amount": "sample string 2",
"status": "sample string 3",
"remark": "sample string 4",
"receiptNo": "sample string 5"
}
}
application/xml, text/xml
Sample:
<RefundTxn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SB_Mobile_OrangePay.Models">
<data>
<amount>sample string 2</amount>
<merchantid>sample string 1</merchantid>
<receiptNo>sample string 5</receiptNo>
<remark>sample string 4</remark>
<status>sample string 3</status>
</data>
</RefundTxn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefundRes| Name | Description | Type | Additional information |
|---|---|---|---|
| merchantid | string |
None. |
|
| status | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"merchantid": "sample string 1",
"status": "sample string 2"
}
application/xml, text/xml
Sample:
<RefundRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SB_Mobile_OrangePay.Models"> <merchantid>sample string 1</merchantid> <status>sample string 2</status> </RefundRes>