POST api/Order/CreateQrCode
Request Information
URI Parameters
None.
Body Parameters
CreateQRCodeRequestName | Description | Type | Additional information |
---|---|---|---|
AppId | string |
None. |
|
ProviderId | EnumBankWallet |
None. |
|
CompanyCode | string |
None. |
|
TransactionDate | date |
None. |
|
BranchID | string |
None. |
|
RefID | string |
None. |
|
RefNo | string |
None. |
|
Amount | integer |
None. |
|
PaymentType | BankWalletPaymentType |
None. |
|
DeviceType | QRCodeClientDevice |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppId": "sample string 1", "ProviderId": 1, "CompanyCode": "sample string 2", "TransactionDate": "2025-06-25T22:19:52.6576577+07:00", "BranchID": "sample string 4", "RefID": "sample string 5", "RefNo": "sample string 6", "Amount": 7, "PaymentType": 0, "DeviceType": 1 }
text/html
Sample:
{ "AppId": "sample string 1", "ProviderId": 1, "CompanyCode": "sample string 2", "TransactionDate": "2025-06-25T22:19:52.6577144+07:00", "BranchID": "sample string 4", "RefID": "sample string 5", "RefNo": "sample string 6", "Amount": 7, "PaymentType": 0, "DeviceType": 1 }
application/xml, text/xml
Sample:
<MisaPaymentGateway.CreateQRCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.GraphAPI.Class"> <Amount>7</Amount> <AppId>sample string 1</AppId> <BranchID>sample string 4</BranchID> <CompanyCode>sample string 2</CompanyCode> <DeviceType>PC</DeviceType> <PaymentType>None</PaymentType> <ProviderId>Momo</ProviderId> <RefID>sample string 5</RefID> <RefNo>sample string 6</RefNo> <TransactionDate>2025-06-25T22:19:52.6577144+07:00</TransactionDate> </MisaPaymentGateway.CreateQRCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QrcodeResponseName | Description | Type | Additional 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>