POST api/ThanhToan/SendPaymentRequest
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestName | Description | Type | Additional information |
---|---|---|---|
requestId | string |
None. |
|
providerId | string |
None. |
|
merchantId | string |
None. |
|
transTime | string |
None. |
|
sendRecord | string |
None. |
|
records | PaymentRequestInfor |
None. |
|
remittanceType | string |
None. |
|
feeType | string |
None. |
|
verifyByBank | string |
None. |
|
execUserID | string |
None. |
|
verifyMethod | string |
None. |
|
verifyInfor | 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", "transTime": "sample string 4", "sendRecord": "sample string 5", "records": { "transId": "sample string 1", "priority": "sample string 2", "senderBankId": "sample string 3", "senderBranchId": "sample string 4", "senderAcctId": "sample string 5", "senderAcctName": "sample string 6", "senderAddr": "sample string 7", "senderCity": "sample string 8", "senderCountry": "sample string 9", "recvBankId": "sample string 10", "recvBranchId": "sample string 11", "recvAcctId": "sample string 12", "recvAcctName": "sample string 13", "recvAddr": "sample string 14", "recvCity": "sample string 15", "recvCountry": "sample string 16", "recvIdCard": "sample string 17", "recvIdIssueDate": "sample string 18", "recvIdIssueBy": "sample string 19", "recvPhoneNo": "sample string 20", "recvEmail": "sample string 21", "amount": "sample string 22", "currencyCode": "sample string 23", "payRefNo": "sample string 24", "payRefInfor": "sample string 25", "remark": "sample string 26" }, "remittanceType": "sample string 6", "feeType": "sample string 7", "verifyByBank": "sample string 8", "execUserID": "sample string 9", "verifyMethod": "sample string 10", "verifyInfor": "sample string 11", "clientIP": "sample string 12", "channel": "sample string 13", "version": "sample string 14", "language": "sample string 15", "signature": "sample string 16" }
application/xml, text/xml
Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models"> <channel>sample string 13</channel> <clientIP>sample string 12</clientIP> <execUserID>sample string 9</execUserID> <feeType>sample string 7</feeType> <language>sample string 15</language> <merchantId>sample string 3</merchantId> <providerId>sample string 2</providerId> <records> <amount>sample string 22</amount> <currencyCode>sample string 23</currencyCode> <payRefInfor>sample string 25</payRefInfor> <payRefNo>sample string 24</payRefNo> <priority>sample string 2</priority> <recvAcctId>sample string 12</recvAcctId> <recvAcctName>sample string 13</recvAcctName> <recvAddr>sample string 14</recvAddr> <recvBankId>sample string 10</recvBankId> <recvBranchId>sample string 11</recvBranchId> <recvCity>sample string 15</recvCity> <recvCountry>sample string 16</recvCountry> <recvEmail>sample string 21</recvEmail> <recvIdCard>sample string 17</recvIdCard> <recvIdIssueBy>sample string 19</recvIdIssueBy> <recvIdIssueDate>sample string 18</recvIdIssueDate> <recvPhoneNo>sample string 20</recvPhoneNo> <remark>sample string 26</remark> <senderAcctId>sample string 5</senderAcctId> <senderAcctName>sample string 6</senderAcctName> <senderAddr>sample string 7</senderAddr> <senderBankId>sample string 3</senderBankId> <senderBranchId>sample string 4</senderBranchId> <senderCity>sample string 8</senderCity> <senderCountry>sample string 9</senderCountry> <transId>sample string 1</transId> </records> <remittanceType>sample string 6</remittanceType> <requestId>sample string 1</requestId> <sendRecord>sample string 5</sendRecord> <signature>sample string 16</signature> <transTime>sample string 4</transTime> <verifyByBank>sample string 8</verifyByBank> <verifyInfor>sample string 11</verifyInfor> <verifyMethod>sample string 10</verifyMethod> <version>sample string 14</version> </PaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentResponseName | Description | Type | Additional information |
---|---|---|---|
requestId | string |
None. |
|
providerId | string |
None. |
|
merchantId | string |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
processedRecord | string |
None. |
|
transId | string |
None. |
|
feeAmount | string |
None. |
|
vatAmount | string |
None. |
|
status | string |
None. |
|
description | string |
None. |
|
bankTransactionId | string |
None. |
|
currencyCode | string |
None. |
|
signature | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "requestId": "sample string 1", "providerId": "sample string 2", "merchantId": "sample string 3", "code": "sample string 4", "message": "sample string 5", "processedRecord": "sample string 6", "transId": "sample string 7", "feeAmount": "sample string 8", "vatAmount": "sample string 9", "status": "sample string 10", "description": "sample string 11", "bankTransactionId": "sample string 12", "currencyCode": "sample string 13", "signature": "sample string 14" }
application/xml, text/xml
Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThanhToanOnlineAPI.Models"> <bankTransactionId>sample string 12</bankTransactionId> <code>sample string 4</code> <currencyCode>sample string 13</currencyCode> <description>sample string 11</description> <feeAmount>sample string 8</feeAmount> <merchantId>sample string 3</merchantId> <message>sample string 5</message> <processedRecord>sample string 6</processedRecord> <providerId>sample string 2</providerId> <requestId>sample string 1</requestId> <signature>sample string 14</signature> <status>sample string 10</status> <transId>sample string 7</transId> <vatAmount>sample string 9</vatAmount> </PaymentResponse>