POST api/Order/UpdatePaymentStatus
Request Information
URI Parameters
None.
Body Parameters
PaymentUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| PaymentStatus | string |
None. |
|
| TransactionID | string |
None. |
|
| Signature | string |
None. |
|
| UserID | integer |
None. |
|
| PaymentAmount | decimal number |
None. |
|
| PGOrderID | string |
None. |
|
| PaymentMode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"PaymentStatus": "sample string 2",
"TransactionID": "sample string 3",
"Signature": "sample string 4",
"UserID": 1,
"PaymentAmount": 5.1,
"PGOrderID": "sample string 6",
"PaymentMode": "sample string 7"
}
application/xml, text/xml
Sample:
<PaymentUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models.DbEntities"> <OrderID>1</OrderID> <PGOrderID>sample string 6</PGOrderID> <PaymentAmount>5.1</PaymentAmount> <PaymentMode>sample string 7</PaymentMode> <PaymentStatus>sample string 2</PaymentStatus> <Signature>sample string 4</Signature> <TransactionID>sample string 3</TransactionID> <UserID>1</UserID> </PaymentUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |