Skip to main content
POST

Overview

Partners can decode a VietQR string or QR image URL into structured payment information — bank BIN code, destination account number, amount, and purpose. Pass exactly one of qr_string or qr_image_url per request.

Authentication

string
required
Your partner app key.
string
required
Base64-encoded Ed25519 signature of the sign data.
string
required
Unix timestamp (seconds) of the request. Must be within 60 seconds of server time.

Body Parameters

string
Raw VietQR string. Mutually exclusive with qr_image_url.
string
HTTPS URL pointing to a QR code image. Mutually exclusive with qr_string.

Error Codes

When decoding fails, the response includes a non-zero error_code: