LIMQR

API References

Data URL

1. Endpoint

POST https://qr.limcorp.vn/qrcode

Generate QR Code dựa trên tham số tùy biến trong request body. Trả về một chuỗi base64 encode thể hiện data url.

2. Request body

bank string Required

Mã BIN của ngân hàng thụ hưởng. Bạn có thể tra cứu tại đây


number string Required

Số tài khoản người thụ hưởng.


amount string Required

Số tiền cần chuyển khoản. Có thể bằng 0 nhưng không nhận giá trị âm.


content string Optional

Nội dung chuyển khoản. Không được lớn hơn 99 ký tự


method number Optional

Loại QRCode. 0: QR động, 1: QR tĩnh, mặc định method = 0 (QR tĩnh thanh toán nhiều lần, thay đổi được số tiền. QR động ngược lại).


3. Example request

          
            curl https://qr.limcorp.vn/qrcode \
              -H "Accept: application/json" \
              -H "Content-Type: application/json" \
              -d '{
                "bank": "970422",
                "number": "0763451688",
                "amount": "900000",
                "content": "thanh toan don hang T1234"
              }'
        

Parameters

          
            {
              "bank": "970422",
              "number": "0763451688",
              "amount": "900000",
              "content": "thanh toan don hang T1234"
            }
        

4. Response

          
            {
              "data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP8AAAD/CAYAAAA+CADKAAAAAklEQVR4AewaftIAAAqgSURBVO3BUW4jwRUEwcoG73/ltH79MAYanBGpdVcE/khVHWelqo60UlVHWqmqI61U1ZFWqupIK1V1pJWqOtJKVR1ppaqOtFJVR1qpqiOtVNWRVqrqSCtVdaSVqjrSSlUdaaWqjrRSVUdaqaojrVTVkV75BUD+GjUTkF1qdgC5Q80E5GlqJiB/jZpvAfKXqHnSSlUdaaWqjrRSVUdaqaojrVTVkV75IDWfAORdaq4A2aFmArILyKRmB5AraiYgk5pdQCY1E5BJzS4gO9TsAjKp2aHmE4D8tpWqOtJKVR1ppaqOtFJVR3rly4DcoeZdanapmYBMQO5QMwHZoeYKkEnNHWp2qNkB5IqaHUC+Bcgdar5hpaqOtFJVR1qpqiOtVNWRXjkYkKepmYDcoeYONTuATGp2AZnUTEB2AZnU7FBT/9tKVR1ppaqOtFJVR1qpqiO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ắn Chat với tôi.

Previous
Quick link