POST check/active/{siteId}/{terminalId}/pay

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

terminalId

integer

Required

Body Parameters

ActivePaymentRequest
NameDescriptionTypeAdditional information
checkId

integer

None.

tender

string

None.

amount

decimal number

None.

tipAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "checkId": 1,
  "tender": "sample string 2",
  "amount": 3.0,
  "tipAmount": 4.0
}

application/xml, text/xml

Sample:
<ActivePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Requests">
  <amount>3</amount>
  <tender>sample string 2</tender>
  <tipAmount>4</tipAmount>
  <checkId>1</checkId>
</ActivePaymentRequest>

Response Information

Resource Description

CloudConnectResponse
NameDescriptionTypeAdditional information
message

string

None.

developerMessage

string

None.

code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "developerMessage": "sample string 2",
  "code": 3
}

application/xml, text/xml

Sample:
<CloudConnectResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.CloudConnect.Models">
  <code>3</code>
  <developerMessage>sample string 2</developerMessage>
  <message>sample string 1</message>
</CloudConnectResponse>