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": "ef0270c3-c1b1-440c-8f10-c360320790e0",
"RestaurantIDF": "a01a67fe-2c9b-4293-88bb-03d857f68add",
"BranchIDF": "b58ae42b-a7e3-42e4-9dcc-d34a6b902324",
"CounterIDF": "d2338924-a3d8-428b-92ee-07d9895d8d75",
"CounterBalanceHistoryIDF": "9a21c6cd-6949-4ef5-b5f6-0a4fe66146f4",
"CustomerIDF": "da685474-04e5-4389-820e-89932ce537a2",
"PaidAmount": 6.0,
"PaymentGatewayIDF": "cdf361fc-4315-420f-87fb-7f34fe4527f0",
"PaymentGatewaySettingIDF": "bdd3a6db-cead-4eb9-a02c-41367b7e4d73",
"PaymentStatus": "sample string 9",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0,
"UserIDF": "8b1cd9d7-3c2e-498d-81d1-46c6941316f9",
"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>b58ae42b-a7e3-42e4-9dcc-d34a6b902324</BranchIDF> <CounterBalanceHistoryIDF>9a21c6cd-6949-4ef5-b5f6-0a4fe66146f4</CounterBalanceHistoryIDF> <CounterIDF>d2338924-a3d8-428b-92ee-07d9895d8d75</CounterIDF> <CustomerIDF>da685474-04e5-4389-820e-89932ce537a2</CustomerIDF> <DueAmountCash>1</DueAmountCash> <OrderID>ef0270c3-c1b1-440c-8f10-c360320790e0</OrderID> <PackagingName>sample string 17</PackagingName> <PaidAmount>6</PaidAmount> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>cdf361fc-4315-420f-87fb-7f34fe4527f0</PaymentGatewayIDF> <PaymentGatewaySettingIDF>bdd3a6db-cead-4eb9-a02c-41367b7e4d73</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>a01a67fe-2c9b-4293-88bb-03d857f68add</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TransactionID>sample string 11</TransactionID> <UserIDF>8b1cd9d7-3c2e-498d-81d1-46c6941316f9</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. |