POST api/ThanhToan/GetQRCodeInformation
Request Information
URI Parameters
None.
Body Parameters
QRGetInformationName | Description | Type | Additional information |
---|---|---|---|
requestId | string |
None. |
|
providerId | string |
None. |
|
merchantId | string |
None. |
|
terminalId | string |
None. |
|
payDate | string |
None. |
|
orderId | string |
None. |
|
hostrefno | string |
None. |
|
addInfor1 | string |
None. |
|
addInfor2 | string |
None. |
|
addInfor3 | string |
None. |
|
clientIP | string |
None. |
|
channel | string |
None. |
|
version | string |
None. |
|
language | string |
None. |
|
signature | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "requestId": "sample string 1", "providerId": "sample string 2", "merchantId": "sample string 3", "terminalId": "sample string 4", "payDate": "sample string 5", "orderId": "sample string 6", "hostrefno": "sample string 7", "addInfor1": "sample string 8", "addInfor2": "sample string 9", "addInfor3": "sample string 10", "clientIP": "sample string 11", "channel": "sample string 12", "version": "sample string 13", "language": "sample string 14", "signature": "sample string 15" }
application/xml, text/xml
Sample:
<QRGetInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models"> <addInfor1>sample string 8</addInfor1> <addInfor2>sample string 9</addInfor2> <addInfor3>sample string 10</addInfor3> <channel>sample string 12</channel> <clientIP>sample string 11</clientIP> <hostrefno>sample string 7</hostrefno> <language>sample string 14</language> <merchantId>sample string 3</merchantId> <orderId>sample string 6</orderId> <payDate>sample string 5</payDate> <providerId>sample string 2</providerId> <requestId>sample string 1</requestId> <signature>sample string 15</signature> <terminalId>sample string 4</terminalId> <version>sample string 13</version> </QRGetInformation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetQRCodeInforResponseName | Description | Type | Additional information |
---|---|---|---|
requestId | string |
None. |
|
providerId | string |
None. |
|
merchantId | string |
None. |
|
terminalId | string |
None. |
|
status | status |
None. |
|
listTrans | Collection of listTrans |
None. |
Response Formats
application/json, text/json
Sample:
{ "requestId": "sample string 1", "providerId": "sample string 2", "merchantId": "sample string 3", "terminalId": "sample string 4", "status": { "code": "sample string 1", "message": "sample string 2" }, "listTrans": [ { "trxId": "sample string 1", "jsessionid": "sample string 2", "providerTrxId": "sample string 3", "providerRefundId": "sample string 4", "providerId": "sample string 5", "merchantId": "sample string 6", "hostRefNo": "sample string 7", "fromAcct": "sample string 8", "trxRefNo": "sample string 9", "remark": "sample string 10", "billNo": "sample string 11", "statusPay": "sample string 12", "trxStatus": "sample string 13", "trxType": "sample string 14", "trxSeq": "sample string 15", "providerTime": "sample string 16", "amount": "sample string 17", "total_Cus_Amt": "sample string 18", "spare3": "sample string 19", "addInfor1": "sample string 20", "addInfor2": "sample string 21", "addInfor3": "sample string 22" }, { "trxId": "sample string 1", "jsessionid": "sample string 2", "providerTrxId": "sample string 3", "providerRefundId": "sample string 4", "providerId": "sample string 5", "merchantId": "sample string 6", "hostRefNo": "sample string 7", "fromAcct": "sample string 8", "trxRefNo": "sample string 9", "remark": "sample string 10", "billNo": "sample string 11", "statusPay": "sample string 12", "trxStatus": "sample string 13", "trxType": "sample string 14", "trxSeq": "sample string 15", "providerTime": "sample string 16", "amount": "sample string 17", "total_Cus_Amt": "sample string 18", "spare3": "sample string 19", "addInfor1": "sample string 20", "addInfor2": "sample string 21", "addInfor3": "sample string 22" } ] }
application/xml, text/xml
Sample:
<GetQRCodeInforResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models"> <listTrans> <listTrans> <addInfor1>sample string 20</addInfor1> <addInfor2>sample string 21</addInfor2> <addInfor3>sample string 22</addInfor3> <amount>sample string 17</amount> <billNo>sample string 11</billNo> <fromAcct>sample string 8</fromAcct> <hostRefNo>sample string 7</hostRefNo> <jsessionid>sample string 2</jsessionid> <merchantId>sample string 6</merchantId> <providerId>sample string 5</providerId> <providerRefundId>sample string 4</providerRefundId> <providerTime>sample string 16</providerTime> <providerTrxId>sample string 3</providerTrxId> <remark>sample string 10</remark> <spare3>sample string 19</spare3> <statusPay>sample string 12</statusPay> <total_Cus_Amt>sample string 18</total_Cus_Amt> <trxId>sample string 1</trxId> <trxRefNo>sample string 9</trxRefNo> <trxSeq>sample string 15</trxSeq> <trxStatus>sample string 13</trxStatus> <trxType>sample string 14</trxType> </listTrans> <listTrans> <addInfor1>sample string 20</addInfor1> <addInfor2>sample string 21</addInfor2> <addInfor3>sample string 22</addInfor3> <amount>sample string 17</amount> <billNo>sample string 11</billNo> <fromAcct>sample string 8</fromAcct> <hostRefNo>sample string 7</hostRefNo> <jsessionid>sample string 2</jsessionid> <merchantId>sample string 6</merchantId> <providerId>sample string 5</providerId> <providerRefundId>sample string 4</providerRefundId> <providerTime>sample string 16</providerTime> <providerTrxId>sample string 3</providerTrxId> <remark>sample string 10</remark> <spare3>sample string 19</spare3> <statusPay>sample string 12</statusPay> <total_Cus_Amt>sample string 18</total_Cus_Amt> <trxId>sample string 1</trxId> <trxRefNo>sample string 9</trxRefNo> <trxSeq>sample string 15</trxSeq> <trxStatus>sample string 13</trxStatus> <trxType>sample string 14</trxType> </listTrans> </listTrans> <merchantId>sample string 3</merchantId> <providerId>sample string 2</providerId> <requestId>sample string 1</requestId> <status> <code>sample string 1</code> <message>sample string 2</message> </status> <terminalId>sample string 4</terminalId> </GetQRCodeInforResponse>