POST barcode/pay/transaction

Request Information

URI Parameters

None.

Body Parameters

StagedPaymentData
NameDescriptionTypeAdditional information
payment

PaymentData

None.

loyalty

LoyaltyPaymentData

None.

Request Formats

application/json, text/json

Sample:
{
  "payment": {
    "cardReferenceId": "04ed7c15-45d0-47b0-be86-58d4e14b9e40",
    "customerProfileId": "13709343-d97a-41bb-b4cd-eee3f8dca161",
    "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>04ed7c15-45d0-47b0-be86-58d4e14b9e40</cardReferenceId>
    <companyCode>sample string 3</companyCode>
    <customerProfileId>13709343-d97a-41bb-b4cd-eee3f8dca161</customerProfileId>
  </payment>
</StagedPaymentData>

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>