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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

terminalId

integer

Required

Body Parameters

SavedCardFastPaymentRequest
NameDescriptionTypeAdditional information
checkId

integer

None.

cardReference

globally unique identifier

None.

cpsCustomerProfileId

globally unique identifier

None.

cpsCompanyCode

string

None.

amount

decimal number

None.

tipAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "checkId": 1,
  "cardReference": "94b9bab1-be79-4b7f-af92-0f222d1f62dc",
  "cpsCustomerProfileId": "15d9af73-6b20-4db6-9884-805580adeea9",
  "cpsCompanyCode": "sample string 4",
  "amount": 5.0,
  "tipAmount": 6.0
}

application/xml, text/xml

Sample:
<SavedCardFastPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Requests">
  <amount>5</amount>
  <cardReference>94b9bab1-be79-4b7f-af92-0f222d1f62dc</cardReference>
  <checkId>1</checkId>
  <cpsCompanyCode>sample string 4</cpsCompanyCode>
  <cpsCustomerProfileId>15d9af73-6b20-4db6-9884-805580adeea9</cpsCustomerProfileId>
  <tipAmount>6</tipAmount>
</SavedCardFastPaymentRequest>

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>