Common
Parse QR content
Parses raw QR payload content and returns a normalized representation of the payment data. Optional customer and fiat currency inputs can be supplied to apply country- or channel-specific parsing rules.
customerId is optional for parsing-only requests. It is required if the returned qrToken will be used to create a payout order with qrMode set to TOKEN, because the token is associated with the specified customer.
For the request structure, see the QR Parse Request Resource. For the response structure, see the QR Parse Response Resource.
post/open-api/v3/scan2pay/common/qr/parse
Request
- Base URLhttps://api-sandbox.interlace.money
- URLhttps://api-sandbox.interlace.money/open-api/v3/scan2pay/common/qr/parse
- AuthAPI key in header x-access-token
Request body
Example request
{
"qrContent": "00020101021138560010A0000007270126000697040701128888123456780208QRIBFTTA53037045802VN63042249",
"customerId": "1986466477083709441",
"fiatCurrency": "VND"
}Response
Successful operation
Example response
{
"code": "000000",
"message": "success",
"data": {
"country": "VN",
"transactionCurrency": "VND",
"transactionAmount": "100000.0",
"bankCode": "970407",
"bankAccountNumber": "888812345678",
"bankName": "Techcombank",
"merchantName": "INTERLACE SHOP",
"qrType": "VIET_QR",
"content": "00020101021138560010A0000007270126000697040701128888123456780208QRIBFTTA53037045802VN63042249",
"crc": "2249",
"merchantCategoryCode": "0000",
"dynamic": true,
"qrToken": "qr_token_abc123"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.