POST api/viettin/confirm
Request Information
URI Parameters
None.
Body Parameters
ConfirmModel| Name | Description | Type | Additional information |
|---|---|---|---|
| requestId | string |
Required String length: inclusive between 0 and 12 |
|
| merchantId | string |
Required String length: inclusive between 0 and 15 |
|
| merchantName | string |
String length: inclusive between 0 and 50 |
|
| terminalId | string |
Required String length: inclusive between 0 and 20 |
|
| bankTransactionId | string |
Required String length: inclusive between 0 and 50 |
|
| amount | string |
Required String length: inclusive between 0 and 30 |
|
| orderId | string |
Required String length: inclusive between 0 and 12 |
|
| productId | string |
String length: inclusive between 0 and 12 |
|
| statusCode | string |
Required String length: inclusive between 0 and 2 |
|
| statusMessage | string |
Required String length: inclusive between 0 and 50 |
|
| transactionDate | string |
Required String length: inclusive between 0 and 14 |
|
| signature | string |
Required String length: inclusive between 0 and 999 |
Request Formats
application/json, text/json
{
"requestId": "sample string 1",
"merchantId": "sample string 2",
"merchantName": "sample string 3",
"terminalId": "sample string 4",
"bankTransactionId": "sample string 5",
"amount": "sample string 6",
"orderId": "sample string 7",
"productId": "sample string 8",
"statusCode": "sample string 9",
"statusMessage": "sample string 10",
"transactionDate": "sample string 11",
"signature": "sample string 12"
}
application/xml, text/xml
<VietinBankQRModel.ConfirmModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <amount>sample string 6</amount> <bankTransactionId>sample string 5</bankTransactionId> <merchantId>sample string 2</merchantId> <merchantName>sample string 3</merchantName> <orderId>sample string 7</orderId> <productId>sample string 8</productId> <requestId>sample string 1</requestId> <signature>sample string 12</signature> <statusCode>sample string 9</statusCode> <statusMessage>sample string 10</statusMessage> <terminalId>sample string 4</terminalId> <transactionDate>sample string 11</transactionDate> </VietinBankQRModel.ConfirmModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ConfirmReponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| requestId | string |
Required String length: inclusive between 0 and 12 |
|
| paymentStatus | string |
Required String length: inclusive between 0 and 2 |
|
| signature | string |
Required String length: inclusive between 0 and 999 |
Response Formats
application/json, text/json
{
"requestId": "sample string 1",
"paymentStatus": "sample string 2",
"signature": "sample string 3"
}
application/xml, text/xml
<VietinBankQRModel.ConfirmReponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <paymentStatus>sample string 2</paymentStatus> <requestId>sample string 1</requestId> <signature>sample string 3</signature> </VietinBankQRModel.ConfirmReponseModel>