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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

terminalId

integer

Required

Body Parameters

ActiveNewCardPaymentRequest
NameDescriptionTypeAdditional information
checkId

integer

None.

cardNumber

string

None.

cardExpiration

string

None.

cvv

string

None.

zip

string

None.

amount

decimal number

None.

tipAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "checkId": 1,
  "cardNumber": "sample string 2",
  "cardExpiration": "sample string 3",
  "cvv": "sample string 4",
  "zip": "sample string 5",
  "amount": 6.0,
  "tipAmount": 7.0
}

application/xml, text/xml

Sample:
<ActiveNewCardPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Requests">
  <amount>6</amount>
  <cardExpiration>sample string 3</cardExpiration>
  <cardNumber>sample string 2</cardNumber>
  <cvv>sample string 4</cvv>
  <tipAmount>7</tipAmount>
  <zip>sample string 5</zip>
  <checkId>1</checkId>
</ActiveNewCardPaymentRequest>

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>