POST api/General/Payment/PickNDropOrderRefund
Request Information
URI Parameters
None.
Body Parameters
OrderRefundModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | string |
Required |
|
| Remarks | string |
None. |
|
| PaymentID | string |
None. |
|
| PaymentType | string |
Required |
|
| PaymentAmt | integer |
Required |
|
| UserID | string |
Required |
|
| IPAddress | string |
None. |
|
| UserRole | string |
None. |
|
| InitiateRefund | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "sample string 1",
"Remarks": "sample string 2",
"PaymentID": "sample string 3",
"PaymentType": "sample string 4",
"PaymentAmt": 5,
"UserID": "sample string 6",
"IPAddress": "sample string 7",
"UserRole": "sample string 8",
"InitiateRefund": true
}
application/xml, text/xml
Sample:
<OrderRefundModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.Models"> <IPAddress>sample string 7</IPAddress> <InitiateRefund>true</InitiateRefund> <OrderID>sample string 1</OrderID> <PaymentAmt>5</PaymentAmt> <PaymentID>sample string 3</PaymentID> <PaymentType>sample string 4</PaymentType> <Remarks>sample string 2</Remarks> <UserID>sample string 6</UserID> <UserRole>sample string 8</UserRole> </OrderRefundModel>
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>