POST check/active/{siteId}/{terminalId}/pay/cps
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteId | integer |
Required |
|
terminalId | integer |
Required |
Body Parameters
SavedCardFastPaymentRequestName | Description | Type | Additional 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": "439c0dd7-9c86-48f7-b237-3ce3c3450b24", "cpsCustomerProfileId": "d9f1a335-320c-4503-a82b-a63fc9749abd", "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>439c0dd7-9c86-48f7-b237-3ce3c3450b24</cardReference> <checkId>1</checkId> <cpsCompanyCode>sample string 4</cpsCompanyCode> <cpsCustomerProfileId>d9f1a335-320c-4503-a82b-a63fc9749abd</cpsCustomerProfileId> <tipAmount>6</tipAmount> </SavedCardFastPaymentRequest>
Response Information
Resource Description
CloudConnectResponseName | Description | Type | Additional 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>