POST api/Order/QueryTransaction

Request Information

URI Parameters

None.

Body Parameters

QueryTransactionParam
NameDescriptionTypeAdditional information
AppID

string

None.

CompanyCode

string

None.

RefID

string

None.

BranchID

string

None.

ProviderId

EnumBankWallet

None.

UrlPattern

string

None.

PaymentType

BankWalletPaymentType

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "AppID": "sample string 1",
  "CompanyCode": "sample string 2",
  "RefID": "sample string 3",
  "BranchID": "sample string 4",
  "ProviderId": 1,
  "UrlPattern": "v2/Momo/QueryTransaction",
  "PaymentType": 0
}

application/xml, text/xml

Sample:
<MisaPaymentGateway.QueryTransactionParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.GraphAPI.Class">
  <AppID>sample string 1</AppID>
  <BranchID>sample string 4</BranchID>
  <CompanyCode>sample string 2</CompanyCode>
  <PaymentType>None</PaymentType>
  <ProviderId>Momo</ProviderId>
  <RefID>sample string 3</RefID>
</MisaPaymentGateway.QueryTransactionParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QrcodeResponse
NameDescriptionTypeAdditional information
ReturnMessage

string

None.

Message

string

None.

Success

boolean

None.

ReturnData

string

None.

AppTransId

string

None.

TransStatus

integer

None.

Amount

integer

None.

ErrorType

integer

None.

Signature

string

None.

ErrorMessage

string

None.

ErrorCode

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "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",
  "ErrorMessage": "sample string 9",
  "ErrorCode": 10
}

application/xml, text/xml

Sample:
<MisaPaymentGateway.QrcodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.GraphAPI.Class">
  <Amount>6</Amount>
  <AppTransId>sample string 4</AppTransId>
  <ErrorCode>10</ErrorCode>
  <ErrorMessage>sample string 9</ErrorMessage>
  <ErrorType>7</ErrorType>
  <ReturnData>sample string 3</ReturnData>
  <ReturnMessage>sample string 1</ReturnMessage>
  <Signature>sample string 8</Signature>
  <Success>true</Success>
  <TransStatus>5</TransStatus>
</MisaPaymentGateway.QrcodeResponse>