POST api/PaymentPOSOrderV1/POSPayOrder
Request Information
URI Parameters
None.
Body Parameters
POSOrderV1_PayRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | globally unique identifier |
None. |
|
| RestaurantIDF | globally unique identifier |
None. |
|
| BranchIDF | globally unique identifier |
None. |
|
| CounterIDF | globally unique identifier |
None. |
|
| CounterBalanceHistoryIDF | globally unique identifier |
None. |
|
| CustomerIDF | globally unique identifier |
None. |
|
| PaidAmount | decimal number |
None. |
|
| PaymentGatewayIDF | globally unique identifier |
None. |
|
| PaymentGatewaySettingIDF | globally unique identifier |
None. |
|
| PaymentStatus | string |
None. |
|
| PayAmountCash | decimal number |
None. |
|
| DueAmountCash | decimal number |
None. |
|
| ReturnAmountCash | decimal number |
None. |
|
| UserIDF | globally unique identifier |
None. |
|
| TransactionID | string |
None. |
|
| ResponseCode | string |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseData | string |
None. |
|
| RequestData | string |
None. |
|
| AdditionalNotes | string |
None. |
|
| PackagingName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "6008803a-5964-4810-a3b3-fc7faf7d8a9c",
"RestaurantIDF": "185f9691-99ed-4454-a4ca-63a3cf944c6c",
"BranchIDF": "8a5a0f75-df87-4801-9436-9895d995664d",
"CounterIDF": "f99bfa94-6d9f-4b2a-b7c7-bf4057b9332c",
"CounterBalanceHistoryIDF": "f6b4128e-916f-420e-a69e-129efad26bfc",
"CustomerIDF": "69719777-fefb-495d-b35e-60c57fcbb304",
"PaidAmount": 6.0,
"PaymentGatewayIDF": "c6251d9e-a5da-4554-bd0b-70a1df90b5d5",
"PaymentGatewaySettingIDF": "9be95fc7-9dc7-4332-9d46-d1094c747bc5",
"PaymentStatus": "sample string 9",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"UserIDF": "645610c9-dc14-4dcc-b2a7-131d34ff4aee",
"TransactionID": "sample string 11",
"ResponseCode": "sample string 12",
"ResponseMessage": "sample string 13",
"ResponseData": "sample string 14",
"RequestData": "sample string 15",
"AdditionalNotes": "sample string 16",
"PackagingName": "sample string 17"
}
application/xml, text/xml
Sample:
<POSOrderV1_PayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <AdditionalNotes>sample string 16</AdditionalNotes> <BranchIDF>8a5a0f75-df87-4801-9436-9895d995664d</BranchIDF> <CounterBalanceHistoryIDF>f6b4128e-916f-420e-a69e-129efad26bfc</CounterBalanceHistoryIDF> <CounterIDF>f99bfa94-6d9f-4b2a-b7c7-bf4057b9332c</CounterIDF> <CustomerIDF>69719777-fefb-495d-b35e-60c57fcbb304</CustomerIDF> <DueAmountCash>1</DueAmountCash> <OrderID>6008803a-5964-4810-a3b3-fc7faf7d8a9c</OrderID> <PackagingName>sample string 17</PackagingName> <PaidAmount>6</PaidAmount> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>c6251d9e-a5da-4554-bd0b-70a1df90b5d5</PaymentGatewayIDF> <PaymentGatewaySettingIDF>9be95fc7-9dc7-4332-9d46-d1094c747bc5</PaymentGatewaySettingIDF> <PaymentStatus>sample string 9</PaymentStatus> <RequestData>sample string 15</RequestData> <ResponseCode>sample string 12</ResponseCode> <ResponseData>sample string 14</ResponseData> <ResponseMessage>sample string 13</ResponseMessage> <RestaurantIDF>185f9691-99ed-4454-a4ca-63a3cf944c6c</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TransactionID>sample string 11</TransactionID> <UserIDF>645610c9-dc14-4dcc-b2a7-131d34ff4aee</UserIDF> </POSOrderV1_PayRequest>
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. |