POST api/General/Payment/OrderCBRefund
Request Information
URI Parameters
None.
Body Parameters
OrderCBRefundModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TransactionID | string |
None. |
|
| OrderID | string |
Required |
|
| Remarks | string |
None. |
|
| RefundID | string |
None. |
|
| RefundAmt | decimal number |
None. |
|
| RefundStatus | string |
None. |
|
| UserID | string |
None. |
|
| IPAddress | string |
None. |
|
| UserRole | string |
None. |
|
| InitiateRefund | boolean |
None. |
|
| RefundLog | string |
None. |
|
| Currency | string |
None. |
|
| RefundFee | integer |
None. |
|
| RefundFeeCurrency | string |
None. |
|
| IsRefundFeeEstimated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransactionID": "sample string 1",
"OrderID": "sample string 2",
"Remarks": "sample string 3",
"RefundID": "sample string 4",
"RefundAmt": 5.1,
"RefundStatus": "sample string 6",
"UserID": "sample string 7",
"IPAddress": "sample string 8",
"UserRole": "sample string 9",
"InitiateRefund": true,
"RefundLog": "sample string 11",
"Currency": "sample string 12",
"RefundFee": 1,
"RefundFeeCurrency": "sample string 13",
"IsRefundFeeEstimated": true
}
application/xml, text/xml
Sample:
<OrderCBRefundModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.Models"> <Currency>sample string 12</Currency> <IPAddress>sample string 8</IPAddress> <InitiateRefund>true</InitiateRefund> <IsRefundFeeEstimated>true</IsRefundFeeEstimated> <OrderID>sample string 2</OrderID> <RefundAmt>5.1</RefundAmt> <RefundFee>1</RefundFee> <RefundFeeCurrency>sample string 13</RefundFeeCurrency> <RefundID>sample string 4</RefundID> <RefundLog>sample string 11</RefundLog> <RefundStatus>sample string 6</RefundStatus> <Remarks>sample string 3</Remarks> <TransactionID>sample string 1</TransactionID> <UserID>sample string 7</UserID> <UserRole>sample string 9</UserRole> </OrderCBRefundModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>