POST api/Payment/SecureEmbedCheckout

Request Information

URI Parameters

None.

Body Parameters

SecureCheckoutViewModel
NameDescriptionTypeAdditional information
SaleId

string

None.

ClientId

integer

None.

CustomerId

integer

None.

IntentId

string

None.

Tickets

string

None.

DeliveryOption

string

None.

Gratis

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleId": "sample string 1",
  "ClientId": 2,
  "CustomerId": 3,
  "IntentId": "sample string 4",
  "Tickets": "sample string 5",
  "DeliveryOption": "sample string 6",
  "Gratis": true
}

application/xml, text/xml

Sample:
<SecureCheckoutViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models">
  <ClientId>2</ClientId>
  <CustomerId>3</CustomerId>
  <DeliveryOption>sample string 6</DeliveryOption>
  <Gratis>true</Gratis>
  <IntentId>sample string 4</IntentId>
  <SaleId>sample string 1</SaleId>
  <Tickets>sample string 5</Tickets>
</SecureCheckoutViewModel>

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 'SecureCheckoutViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.