POST api/Order/Ipay88CreateQrCode
Request Information
URI Parameters
None.
Body Parameters
Ipay88RequestName | Description | Type | Additional information |
---|---|---|---|
MerchantCode | string |
None. |
|
Currency | string |
None. |
|
Amount | decimal number |
None. |
|
PaymentID | integer |
None. |
|
ProdDesc | string |
None. |
|
RefNo | string |
None. |
|
Signature | string |
None. |
|
SignatureType | string |
None. |
|
TerminalID | string |
None. |
|
UserContact | string |
None. |
|
UserEmail | string |
None. |
|
UserName | string |
None. |
|
Lang | string |
None. |
|
xField1 | string |
None. |
|
xField2 | string |
None. |
|
BarcodeNo | string |
None. |
|
CardID | globally unique identifier |
None. |
|
MerchantKey | string |
None. |
|
BranchID |
ID của chi nhánh đang làm việc |
globally unique identifier |
None. |
Token |
Dấu hiệu để định danh Client: - Thực hiện authen luôn - Tránh vấn đề Nhà hàng A không được đẩy dữ liệu vào Nhà hàng B |
string |
None. |
CompanyCode |
Mã của Nhà hàng hiện tại |
string |
None. |
Version |
Phiên bản hiện tại của Client Phục vụ việc check có cần thiết phải force client nâng cấp lên version mới nhất không |
string |
None. |
ResetVersion |
Biến xác định Backend đã xóa dữ liệu dùng thử lần thứ mấy( ban đầu mặc định =0, mỗi lần xóa dữ liệu dùng thử thì tăng thêm 1) |
integer |
None. |
DeviceID |
ID của thiết bị gửi lên |
string |
None. |
UserID |
ID của người dùng |
globally unique identifier |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "MerchantCode": "sample string 1", "Currency": "sample string 2", "Amount": 3.0, "PaymentID": 4, "ProdDesc": "sample string 5", "RefNo": "sample string 6", "Signature": "sample string 7", "SignatureType": "sample string 8", "TerminalID": "sample string 9", "UserContact": "sample string 10", "UserEmail": "sample string 11", "UserName": "sample string 12", "Lang": "sample string 13", "xField1": "sample string 14", "xField2": "sample string 15", "BarcodeNo": "sample string 16", "CardID": "b35e99b7-7ec8-43ad-ba5e-974a3b4c7fb5", "MerchantKey": "sample string 18", "BranchID": "36b8ad82-cd88-4e2d-b5ba-6acfa51a50e6", "Token": "sample string 19", "CompanyCode": "sample string 20", "Version": "sample string 21", "ResetVersion": 22, "DeviceID": "sample string 23", "UserID": "a61e250c-671d-431c-98a2-7d09258147cc" }
application/xml, text/xml
Sample:
<Ipay88Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <BranchID xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">36b8ad82-cd88-4e2d-b5ba-6acfa51a50e6</BranchID> <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">sample string 20</CompanyCode> <DeviceID xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">sample string 23</DeviceID> <ResetVersion xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">22</ResetVersion> <Token xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">sample string 19</Token> <UserID xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">a61e250c-671d-431c-98a2-7d09258147cc</UserID> <Version xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">sample string 21</Version> <Amount>3</Amount> <BarcodeNo>sample string 16</BarcodeNo> <CardID>b35e99b7-7ec8-43ad-ba5e-974a3b4c7fb5</CardID> <Currency>sample string 2</Currency> <Lang>sample string 13</Lang> <MerchantCode>sample string 1</MerchantCode> <MerchantKey>sample string 18</MerchantKey> <PaymentID>4</PaymentID> <ProdDesc>sample string 5</ProdDesc> <RefNo>sample string 6</RefNo> <Signature>sample string 7</Signature> <SignatureType>sample string 8</SignatureType> <TerminalID>sample string 9</TerminalID> <UserContact>sample string 10</UserContact> <UserEmail>sample string 11</UserEmail> <UserName>sample string 12</UserName> <xField1>sample string 14</xField1> <xField2>sample string 15</xField2> </Ipay88Request>
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>