POST api/Payment/EmbedCheckout

Request Information

URI Parameters

None.

Body Parameters

EmbedCheckoutModel
NameDescriptionTypeAdditional information
ApiKey

string

Required

InstanceId

integer

Required

Token

string

Required

Tickets

string

None.

Email

string

Required

DeliverTo

string

None.

Telephone

string

None.

FirstName

string

None.

LastName

string

None.

TestMode

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "InstanceId": 2,
  "Token": "sample string 3",
  "Tickets": "sample string 4",
  "Email": "sample string 5",
  "DeliverTo": "sample string 6",
  "Telephone": "sample string 7",
  "FirstName": "sample string 8",
  "LastName": "sample string 9",
  "TestMode": true
}

application/xml, text/xml

Sample:
<EmbedCheckoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models">
  <ApiKey>sample string 1</ApiKey>
  <DeliverTo>sample string 6</DeliverTo>
  <Email>sample string 5</Email>
  <FirstName>sample string 8</FirstName>
  <InstanceId>2</InstanceId>
  <LastName>sample string 9</LastName>
  <Telephone>sample string 7</Telephone>
  <TestMode>true</TestMode>
  <Tickets>sample string 4</Tickets>
  <Token>sample string 3</Token>
</EmbedCheckoutModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.