Decode QRcode
Introduction
Decode QRcode for payment.
API Description
Request Method:POST
Request Path:open/api/scanCode
Parameters
Request Parameters
Parameter | Sign | Mandatory | Type | Length | Description |
---|---|---|---|---|---|
appId | Y | Y | string | 64 | AppId is unique for merchant |
sign | Y | Y | string | 512 | Sign |
qrCode | Y | Y | string | 512 | QR Code string |
Response Parameters
Parameter | Type | Description |
---|---|---|
success | boolean | Success |
error | boolean | Error |
code | long | Response code |
msg | string | Response message |
traceId | string | Trace id |
model | object | Response content |
Model Response Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
bankAccountName | Y | string | User account name |
bankAccountNumber | Y | string | Bank account number |
bankCode | Y | string | Bank code |
currency | Y | string | Fiat currency |
amount | N | string | Amount (unit: count as fiat currency) |
Example
{
"code": "0",
"msg": "success",
"model":{
"bankAccountName": "NGUYEN MINH HANH",
"bankAccountNumber": "888812345678",
"bankCode": "Techcombank",
"currency": "VND",
"amount": "100000"
},
"traceId": "6668024eeb989c77a375967aded5d646",
"success": true,
"error": false
}
Updated 12 days ago