# VietQR Kit by Casso > Tài liệu API tra cứu mã số thuế (MST) và các API thanh toán VietQR của Casso. API tra cứu MST nay chạy trên Casso Open Platform (open.casso.vn), có key trial công khai để gọi thử ngay, không cần đăng ký. ## Bắt đầu nhanh: tra cứu mã số thuế (Casso Open Platform) - Base URL: https://openapi.casso.vn. Gọi 2 bước: lấy JWT bằng POST /oauth/token, rồi GET /idkit/v1/business/{taxCode} với header Authorization: Bearer . - OpenAPI spec: https://www.vietqr.io/openapi.json - Developer Console (tạo App, lấy key riêng): https://open.casso.vn ```bash # KEY TRIAL CÔNG KHAI, chỉ chạy sandbox, giới hạn rate, không phải secret # Bước 1: đổi app_id + app_secret lấy JWT (sống ~15 phút, hãy cache) TOKEN=$(curl -s -X POST https://openapi.casso.vn/oauth/token \ -H "Content-Type: application/json" \ -d '{"app_id":"trial-app_3c1e7aa6dabfbc3b9e51517e","app_secret":"sec_JNc1O6gF313FJOiG6IfejyTcVkc7G3xI"}' \ | jq -r .access_token) # Bước 2: gọi API với JWT curl -s https://openapi.casso.vn/idkit/v1/business/0316794479 \ -H "Authorization: Bearer $TOKEN" ``` ## Tài liệu - [QR động](https://www.vietqr.io/qr-dong.md) - [API Banks](https://www.vietqr.io/api-bank.md) - [Bank Deeplinks](https://www.vietqr.io/deeplink.md) - [Tra cứu STK](https://www.vietqr.io/tra-cuu-stk.md) - [Tra cứu MST](https://www.vietqr.io/tra-cuu-mst.md) - [Changelog](https://www.vietqr.io/changelog.md) - [Bảng tính](https://www.vietqr.io/cong-cu/bang-tinh.md) - [Tạo QR bằng Google Sheet](https://www.vietqr.io/cong-cu/bang-tinh/tao-ma-qr-bang-googe-sheet.md) - [Cổng thanh toán](https://www.vietqr.io/cong-cu/cong-thanh-toan.md) - [Tích hợp VietQR vào Haravan](https://www.vietqr.io/cong-cu/cong-thanh-toan/tich-hop-vietqr-vao-haravan.md) - [Tích hợp VietQR vào Sapo](https://www.vietqr.io/cong-cu/cong-thanh-toan/tich-hop-vietqr-vao-sapo.md) - [Tích hợp VietQR vào WooCommerce](https://www.vietqr.io/cong-cu/cong-thanh-toan/tich-hop-vietqr-vao-woocommerce.md) - [API tạo mã QR](https://www.vietqr.io/danh-sach-api/link-tao-ma-nhanh/api-tao-ma-qr.md) - [Thông báo cập nhật](https://www.vietqr.io/thong-bao-cap-nhat.md) - [API tạo mã QR](https://www.vietqr.io/generate.md) - [/api-bank/demo](https://www.vietqr.io/api-bank/demo.md) - [/deeplink/bank-apps](https://www.vietqr.io/deeplink/bank-apps.md) ## Tài liệu đầy đủ trong một tệp - [llms-full.txt](https://www.vietqr.io/llms-full.txt): toàn bộ tài liệu ở trên, gộp một tệp.