POST vouchers/merchant/validate-qr

Request Information

URI Parameters

None.

Body Parameters

MerchantVoucherValidationRequest
NameDescriptionTypeAdditional information
TransactionNumber

string

Required

MerchantUserId

string

Required

Amount

decimal number

Required

Range: inclusive between 0,01 and 7,92281625142643E+28

StoreName

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Altitude

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionNumber": "sample string 1",
  "MerchantUserId": "sample string 2",
  "Amount": 3.0,
  "StoreName": "sample string 4",
  "Latitude": 1.1,
  "Longitude": 1.1,
  "Altitude": "sample string 5"
}

application/xml, text/xml

Sample:
<MerchantVoucherValidationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models">
  <Altitude>sample string 5</Altitude>
  <Amount>3</Amount>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
  <MerchantUserId>sample string 2</MerchantUserId>
  <StoreName>sample string 4</StoreName>
  <TransactionNumber>sample string 1</TransactionNumber>
</MerchantVoucherValidationRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MerchantVoucherValidationRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.