POST api/WebApp/GetMerchantDynamicQRCodeforPortal

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfMchDynamicQRGenResponse
NameDescriptionTypeAdditional information
ReturnValue

MchDynamicQRGenResponse

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": {
    "QRCode": "sample string 1",
    "BillReferenceNumber": "sample string 2",
    "ApplicableOffer": {
      "OfferID": 1,
      "OfferCode": "sample string 2",
      "OfferCategory": "sample string 3",
      "Category": "sample string 4",
      "SubCategory": "sample string 5",
      "Type": "sample string 6",
      "SubType": "sample string 7",
      "Description": "sample string 8",
      "OfferValue": 9.0,
      "IsProductOffer": "sample string 10",
      "ProductIDs": [
        1,
        2
      ]
    },
    "GrossAmount": 3.0,
    "Discount": 4.0,
    "CBRedeem": 5.0,
    "LylpRedeem": 6.0,
    "NetAmount": 7.0,
    "TIPAmount": 8.0,
    "TotalAmount": 9.0
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T14:22:41.0042724+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfMchDynamicQRGenResponsekQwVjwcY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Responses">
    <d2p1:ApplicableOffer xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.VAS">
      <d3p1:Category>sample string 4</d3p1:Category>
      <d3p1:Description>sample string 8</d3p1:Description>
      <d3p1:IsProductOffer>sample string 10</d3p1:IsProductOffer>
      <d3p1:OfferCategory>sample string 3</d3p1:OfferCategory>
      <d3p1:OfferCode>sample string 2</d3p1:OfferCode>
      <d3p1:OfferID>1</d3p1:OfferID>
      <d3p1:OfferValue>9</d3p1:OfferValue>
      <d3p1:ProductIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:ProductIDs>
      <d3p1:SubCategory>sample string 5</d3p1:SubCategory>
      <d3p1:SubType>sample string 7</d3p1:SubType>
      <d3p1:Type>sample string 6</d3p1:Type>
    </d2p1:ApplicableOffer>
    <d2p1:BillReferenceNumber>sample string 2</d2p1:BillReferenceNumber>
    <d2p1:CBRedeem>5</d2p1:CBRedeem>
    <d2p1:Discount>4</d2p1:Discount>
    <d2p1:GrossAmount>3</d2p1:GrossAmount>
    <d2p1:LylpRedeem>6</d2p1:LylpRedeem>
    <d2p1:NetAmount>7</d2p1:NetAmount>
    <d2p1:QRCode>sample string 1</d2p1:QRCode>
    <d2p1:TIPAmount>8</d2p1:TIPAmount>
    <d2p1:TotalAmount>9</d2p1:TotalAmount>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfMchDynamicQRGenResponsekQwVjwcY>