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": "fbd07f4b-b57d-48f4-a956-d852d04389cd",
    "customerProfileId": "13ecd21c-d585-4bd0-990a-2c37024377a8",
    "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>fbd07f4b-b57d-48f4-a956-d852d04389cd</cardReferenceId>
    <companyCode>sample string 3</companyCode>
    <customerProfileId>13ecd21c-d585-4bd0-990a-2c37024377a8</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>