POST api/Payment/QueryTransaction?companyCode={companyCode}

Kiểm tra luồng thanh toán

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

Mã nhà hàng

string

Required

Body Parameters

None.

Response Information

Resource Description

Kiểm tra luồng thanh toán

APIOrderOnlineResultOfQrcodeResponse
NameDescriptionTypeAdditional information
Data

QrcodeResponse

None.

Success

boolean

None.

ErrorMessage

string

None.

ErrorType

OrderOnlineAPIErrorType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "ReturnMessage": "sample string 1",
    "Message": "sample string 1",
    "Success": true,
    "ReturnData": "sample string 3",
    "AppTransId": "sample string 4",
    "TransStatus": 5,
    "Amount": 6,
    "ErrorType": 7,
    "Signature": "sample string 8"
  },
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ErrorType": 0,
  "Total": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<APIOrderOnlineResultOfMisaPaymentGateway.QrcodeResponsek06trgez xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.OrderOnlineLibrary">
    <d2p1:Amount>6</d2p1:Amount>
    <d2p1:AppTransId>sample string 4</d2p1:AppTransId>
    <d2p1:ErrorType>7</d2p1:ErrorType>
    <d2p1:ReturnData>sample string 3</d2p1:ReturnData>
    <d2p1:ReturnMessage>sample string 1</d2p1:ReturnMessage>
    <d2p1:Signature>sample string 8</d2p1:Signature>
    <d2p1:Success>true</d2p1:Success>
    <d2p1:TransStatus>5</d2p1:TransStatus>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 4</Message>
  <Success>true</Success>
  <Total>3</Total>
</APIOrderOnlineResultOfMisaPaymentGateway.QrcodeResponsek06trgez>