POST api/Payment/updatePaymentStatus
Request Information
URI Parameters
None.
Body Parameters
PaymentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| RestaurantIDF | globally unique identifier |
None. |
|
| PaymentGatewayIDF | globally unique identifier |
None. |
|
| PaymentGatewaySettingIDF | globally unique identifier |
None. |
|
| OrderID | globally unique identifier |
None. |
|
| TransactionID | string |
None. |
|
| ResponseCode | string |
None. |
|
| ResponseMessage | string |
None. |
|
| PaymentStatus | string |
None. |
|
| PaymentGatewayNo | integer |
None. |
|
| PaidAmount | decimal number |
None. |
|
| ResponseData | string |
None. |
|
| UserID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"RestaurantIDF": "1afa0118-ccd9-4205-952c-65c5389683ca",
"PaymentGatewayIDF": "b6e64bdd-41cd-45c4-a194-96922aeb6779",
"PaymentGatewaySettingIDF": "001263ea-1b19-4605-80ed-9884a80832cc",
"OrderID": "0b98dd3f-8cc2-4ab2-bac7-a8d0172edb8f",
"TransactionID": "sample string 4",
"ResponseCode": "sample string 5",
"ResponseMessage": "sample string 6",
"PaymentStatus": "sample string 7",
"PaymentGatewayNo": 8,
"PaidAmount": 1.0,
"ResponseData": "sample string 9",
"UserID": "9d82092d-093d-44ba-9f0d-be21b80a58a3"
}
application/xml, text/xml
Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <OrderID>0b98dd3f-8cc2-4ab2-bac7-a8d0172edb8f</OrderID> <PaidAmount>1</PaidAmount> <PaymentGatewayIDF>b6e64bdd-41cd-45c4-a194-96922aeb6779</PaymentGatewayIDF> <PaymentGatewayNo>8</PaymentGatewayNo> <PaymentGatewaySettingIDF>001263ea-1b19-4605-80ed-9884a80832cc</PaymentGatewaySettingIDF> <PaymentStatus>sample string 7</PaymentStatus> <ResponseCode>sample string 5</ResponseCode> <ResponseData>sample string 9</ResponseData> <ResponseMessage>sample string 6</ResponseMessage> <RestaurantIDF>1afa0118-ccd9-4205-952c-65c5389683ca</RestaurantIDF> <TransactionID>sample string 4</TransactionID> <UserID>9d82092d-093d-44ba-9f0d-be21b80a58a3</UserID> </PaymentResponse>
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. |