POST api/pos/create-payment-job

Request Information

URI Parameters

None.

Body Parameters

CreatePaymentJobRequest
NameDescriptionTypeAdditional information
OrderID

integer

None.

RestaurantID

string

None.

Amount

unsigned integer

None.

PaymentType

integer

None.

IdempotencyKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderID": 1,
  "RestaurantID": "sample string 2",
  "Amount": 3,
  "PaymentType": 4,
  "IdempotencyKey": "sample string 5"
}

application/xml, text/xml

Sample:
<CreatePaymentJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiApp.Dtos">
  <Amount>3</Amount>
  <IdempotencyKey>sample string 5</IdempotencyKey>
  <OrderID>1</OrderID>
  <PaymentType>4</PaymentType>
  <RestaurantID>sample string 2</RestaurantID>
</CreatePaymentJobRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreatePaymentJobRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.