POST barcode/pay/transaction
Request Information
URI Parameters
None.
Body Parameters
StagedPaymentDataName | Description | Type | Additional information |
---|---|---|---|
payment | PaymentData |
None. |
|
loyalty | LoyaltyPaymentData |
None. |
Request Formats
application/json, text/json
Sample:
{ "payment": { "cardReferenceId": "76862669-3350-43ce-b4e2-ccb8a4b0c32c", "customerProfileId": "db724f7e-9351-4ea6-a211-98a785777fcd", "companyCode": "sample string 3" }, "loyalty": { "loyaltyId": "sample string 1", "rewardProgramIdsToRedeem": [ 1, 2 ], "company": "sample string 2", "companyUsername": "sample string 3", "companyPassword": "sample string 4", "requestUser": "sample string 5", "requestPassword": "sample string 6" } }
application/xml, text/xml
Sample:
<StagedPaymentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StagedPayments.Core.Contracts"> <loyalty> <company>sample string 2</company> <companyPassword>sample string 4</companyPassword> <companyUsername>sample string 3</companyUsername> <loyaltyId>sample string 1</loyaltyId> <requestPassword>sample string 6</requestPassword> <requestUser>sample string 5</requestUser> <rewardProgramIdsToRedeem xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </rewardProgramIdsToRedeem> </loyalty> <payment> <cardReferenceId>76862669-3350-43ce-b4e2-ccb8a4b0c32c</cardReferenceId> <companyCode>sample string 3</companyCode> <customerProfileId>db724f7e-9351-4ea6-a211-98a785777fcd</customerProfileId> </payment> </StagedPaymentData>
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>