Skip to main content

Open API error codes

How to read the response​

Every TINGEE API returns HTTP status 200, even when an error occurs. Use the code field in the body to determine the result:

{
"code": "97",
"message": "Invalid signature",
"data": null
}
  • code = "00": Success; the data is in data.
  • code other than "00": Failure. Look up the meaning in the tables below; message describes the cause in detail.

System error codes​

These error codes are returned during request authentication, before any business processing, and apply to all APIs.

Error codeMessageCause & How to handle
00SuccessSuccess.
90Timestamp is not in correct format.The x-request-timestamp header is not in the yyyyMMddHHmmssSSS format (17 characters, UTC+7).
91Invalid request timestamp. / Request expired.x-request-timestamp is too far from the TINGEE server time: more than 90 seconds ahead or more than 11 minutes behind. Check your system clock sync (NTP) and time zone.
92Không tìm thấy clientId / Không tìm thấy Merchantx-client-id does not exist, has been disabled, or is not attached to a Merchant. Check the details on the API Key management page.
94x-request-id must be a UUID v4.The x-request-id header (optional) was sent but is not a valid UUID v4.
97Invalid signatureThe x-signature signature does not match. Check your Secret Key and the signed string {x-request-timestamp}:{JSON body}. See How to generate the signature.
97Duplicate request.The request has the same signature as a previously sent request (within 12 minutes). Generate a new x-request-timestamp and signature for every API call.
99ErrorUnknown error. Contact TINGEE with the request details.
400(Details in message)Invalid input data (missing required fields, wrong data types...). message lists the invalid fields. Some validation errors are returned as business codes 1005 or 1006.
402Không đủ số dưThe Merchant's service account balance on TINGEE is insufficient for the request. Top up your balance and try again.
500Internal Server ErrorSystem error. Try again later or contact TINGEE.
API rate limit

Each API allows at most 20 requests per 10 seconds per IP address. When you exceed the limit, the system returns error code 1001 (Thao tác quá nhanh).

Business error codes​

Error codeMessage (returned by the API)Meaning
1001Thao tác quá nhanhToo many requests in a short time
1002Không tìm thấy thông tinInformation not found
1003Dữ liệu không tồn tạiData does not exist
1004Không có quyền truy cậpAccess denied
1005Không được để trống trường dữ liệuA data field must not be empty
1006Dữ liệu không hợp lệInvalid data
1007Tài khoản đã bị khóaAccount is locked
1008Tài khoản không tồn tại trên hệ thốngAccount does not exist in the system
1009Không tìm thấy MerchantMerchant not found
1010Không tìm thấy STK ảo được liên kết với MerchantNo virtual account linked to the Merchant was found
1011Số tài khoản không tồn tại hoặc đã được kích hoạt nhận BĐSDAccount number does not exist or is already activated for balance notifications
1012Không được để trống Mã giới thiệuReferral code must not be empty
1013BankConfig không tồn tạiBankConfig does not exist
1014Config OCB chưa được thiết lậpOCB config has not been set up
1015Config VIB chưa được thiết lậpVIB config has not been set up
1016Config CTG chưa được thiết lậpCTG config has not been set up
1017Config STB chưa được thiết lậpSTB config has not been set up
1018QRCode động chưa được hỗ trợDynamic QR code is not supported yet
1019QRCode động chưa được thiết lậpDynamic QR code has not been set up
1020Mã QRCode chưa được khai báoQR code has not been registered
1021Không tìm thấy ngân hàngBank not found
1022QR đã được gắn với STK của MerchantQR is already attached to a Merchant account number
1023Số tài khoản ảo không hợp lệInvalid virtual account number
1024Số tài khoản ảo không tồn tạiVirtual account number does not exist
1025Số tài khoản không được phép liên kết với thiết bịAccount number is not allowed to be linked to the device
1026Mã giới thiệu không tồn tạiReferral code does not exist
1027Tài khoản không tồn tại trong hệ thốngAccount does not exist in the system
1028Không tìm thấy thiết bịDevice not found
1029Không tìm thấy vai tròRole not found
1030Không tìm thấy thông tin giao dịchTransaction information not found
1031Không tìm thấy cửa hàngShop not found
1032Không tìm thấy cửa hàng được gắn với nhân viênNo shop assigned to the staff member was found
1033Gói dịch vụ đã hết hạnService plan has expired
1034Bạn không thể đăng nhập, vui lòng liên hệ quản trị viênYou cannot log in; please contact the administrator
1035Thông tin đăng nhập không đúng!Incorrect login credentials
1036Mã giới thiệu không được để trốngReferral code must not be empty
1037Các Tingee Box khác ngân hàng không được liên kết cùng một cửa hàngTingee Boxes of different banks cannot be linked to the same shop
1038Cửa hàng đã có thiết bị khóa theo ngân hàng khác, không thể thêm thiết bị khóa theo ngân hàng hiện tạiThe shop already has a device locked to another bank; a device locked to the current bank cannot be added
1039Không liên kết được với thiết bị. Vui lòng thử lại sauCould not link to the device. Please try again later
1040Không tạo được QRCodeCould not create the QR code
1041Ngân hàng chưa được hỗ trợBank is not supported yet
1042Không tìm thấy clientIdclientId not found
1043Số tài khoản không đúngIncorrect account number
1044Mã thiết bị không hợp lệInvalid device code
1045Số tài khoản ảo không hợp lệInvalid virtual account number
1046VA Prefix đã tồn tạiVA prefix already exists
1047Không tìm thấy Số tài khoản ảoVirtual account number not found
1048Số tài khoản ảo đã tồn tại trong hệ thốngVirtual account number already exists in the system
1049Doanh nghiệp/Hộ KD đã liên kết STK gốc hoặc đã tạo STK ảo(VA)The business / household business has already linked an original account number or created a virtual account (VA)
1050Doanh nghiệp/ Hộ KD hiện tại không được phép sử dụng Ngân hàng đã được liên kết với thiết bị nàyThe current business / household business is not allowed to use the bank linked to this device
1051Doanh nghiệp/ Hộ KD không được phép liên kết tài khoản thuộc Ngân hàng nàyThe business / household business is not allowed to link accounts of this bank
1052Loại thiết bị đã tồn tạiDevice type already exists
1053Không tìm thấy loại thiết bị nàyDevice type not found
1054Loại thiết bị không thể liên kết trên ứng dụng nàyThis device type cannot be linked in this application
1055Thiết bị đã được liên kết với Doanh nghiệp/Hộ KD khácDevice is already linked to another business / household business
1056MerchantId không hợp lệInvalid MerchantId
1057Không tìm thấy thông tin tài khoảnAccount information not found
1058Loại thiết bị hiện tại chưa hỗ trợ tính năng nàyThe current device type does not support this feature yet
1059Ngân hàng hiện tại chưa hỗ trợ tính năng nàyThe current bank does not support this feature yet
1060Shop NFC chưa được cấu hìnhShop NFC has not been configured
1061Cấu hình tối thiểu 0 module trở lênConfigure at least 0 modules
1062Thẻ NFC đã được sử dụngNFC card is already in use
1063Không hỗ trợ đối với ngân hàng nàyNot supported for this bank
1064Không hỗ trợ đối với loại deep link nàyNot supported for this deep link type
1065OTP đã hết thời gian chờ, vui lòng thử lạiOTP has timed out; please try again
1066Không tìm thấy thông tin đăng ký lưu trữStored registration information not found
1067Không tìm thấy thông tin đăng kýRegistration information not found
1068Không tìm thấy nền tảng hỗ trợ thanh toán nàyThis payment platform was not found
1069Tài khoản chưa được cấu hình thông tin của OnePayOnePay information has not been configured for the account
1070Cửa hàng không tồn tại hoặc đã bị xóa. Vui lòng thử lại!Shop does not exist or has been deleted. Please try again
1071Cửa hàng liên kết với STK ảo không tồn tại hoặc đã bị xóa. Vui lòng thử lại!The shop linked to the virtual account does not exist or has been deleted. Please try again
1072Không tìm thấy STK ảo được liên kết với MerchantNo virtual account linked to the Merchant was found
1073Mã QRCode không hợp lệInvalid QR code
1074Mã QRCode đã được sử dụngQR code has already been used
1075Có lỗi trong quá trình cập nhật trạng thái liên kết thiết bị với cửa hàng. Vui lòng thử lại!An error occurred while updating the device-to-shop link status. Please try again
1076Thông tin hóa đơn không tồn tạiInvoice information does not exist
1077Phiên đăng nhập đã hết hạn.Login session has expired
1078Mã bảo mật không chính xác.Incorrect security code
1079Giao dịch chi hộ có bản ghi không hợp lệ.The disbursement transaction contains invalid records
1080ConfirmId không chính xác.Incorrect ConfirmId
1081Số tài khoản này hiện đang được liên kết với Doanh nghiệp/Hộ Kinh doanh khácThis account number is currently linked to another business / household business
1082Tên Doanh nghiệp không hợp lệInvalid business name
1083Dữ liệu liên kết tài khoản không hợp lệInvalid account linking data
1084Số tài khoản định danh chứa ký tự không hợp lệThe identification account number contains invalid characters
1085Không thể liên kết tài khoản vào Cửa hàng không hoạt độngCannot link an account to an inactive shop
1086Config BAOKIM chưa được thiết lập.BAOKIM config has not been set up
1087Cấu hình ID ví BAOKIM chưa được thiết lập.BAOKIM wallet ID configuration has not been set up
1088Ví BAOKIM chưa đồng bộ.BAOKIM wallet has not been synced
1089Thông tin Ví để đồng bộ với Tingee không tồn tại hoặc đã hết hạn. Vui lòng thử lại sau.The wallet information to sync with Tingee does not exist or has expired. Please try again later
1090Config VPB chưa được thiết lập.VPB config has not been set up
1091Số tài khoản ảo ACB chứa ký tự không hợp lệ. Xin vui lòng thử lại!The ACB virtual account number contains invalid characters. Please try again
1092Số tài khoản ảo chưa khai báo trên app MSBThe virtual account number has not been registered in the MSB app
1093Vietcombank token không hợp lệInvalid Vietcombank token
1094Thông tin cửa hàng này không thuộc Master MerchantThis shop does not belong to the Master Merchant
1095Tài khoản Merchant không thuộc Master MerchantThe Merchant account does not belong to the Master Merchant
1096Giá trị Merchant ID không được bỏ trốngMerchant ID must not be empty
1097Phiên liên kết ngân hàng không hợp lệInvalid bank linking session
1098Phiên liên kết ngân hàng đã hết hạnBank linking session has expired
1099Chữ ký phiên liên kết không hợp lệInvalid linking session signature
1100Không tìm thấy API credential này.API credential not found
1101Bạn không có quyền thao tác trên API credential này.You do not have permission to operate on this API credential
1102Có lỗi trong quá trình xử lý trên hệ thống ngân hàng/ví điện tử.An error occurred while processing on the bank / e-wallet system
1103Cửa hàng đã có thiết bị khóa theo ngân hàng 0, không thể liên kết thêm tài khoản ngân hàng 1.The shop already has a device locked to bank 0; a bank account of bank 1 cannot be linked
1104Cửa hàng đã có tài khoản liên kết ngân hàng 0, không thể thêm thiết bị khóa theo ngân hàng 1.The shop already has a linked account of bank 0; a device locked to bank 1 cannot be added
1105Không tìm thấy lịch sử giao dịch.Transaction history not found
1106Thời gian giao dịch không đúng định dạng (yyyyMMddHHmmss)Transaction time is not in the correct format (yyyyMMddHHmmss)
1107Khoảng thời gian không được quá 0 ngàyThe time range must not exceed 0 days
1108Số bản ghi của 1 trang quá lớn.Page size is too large
1109Không tìm thấy giao dịch Direct Link.Direct Link transaction not found
1110Chỉ có thể thao tác với giao dịch ở trạng thái DRAFT. Trạng thái hiện tại: 0.Only transactions in DRAFT status can be modified. Current status: 0
1111Danh sách mã giao dịch không được trống.Transaction code list must not be empty
1112Danh sách giao dịch không được bỏ trốngTransaction list must not be empty
1113Mã xác thực đã hết hạn. Vui lòng đăng nhập lạiAuthentication code has expired. Please log in again
1114Thông tin xác thực không hợp lệInvalid authentication information
1115Không tìm thấy thông tin ngân hàng nhậnReceiving bank information not found
1116Mã tham chiếu giao dịch đã tồn tạiTransaction reference code already exists
1117Hệ thống Ví điện tử chưa hỗ trợ tính năng này.The e-wallet system does not support this feature yet
1118Không tìm thấy thông tin giao dịch.Transaction information not found
1119Token xác thực không hợp lệ. Vui lòng kiểm tra lại!Invalid authentication token. Please check again
1120Thiếu giá trị Token RefMissing Token Ref value
1121Thiếu giá trị Return UrlMissing Return Url value
1122Dữ liệu lưu trữ không tồn tại hoặc đã hết hạn. Vui lòng thử lại sau!Stored data does not exist or has expired. Please try again later
1123Thông tin xác thực không hợp lệ. Vui lòng thử lại sau!Invalid authentication information. Please try again later
1124RequestId đã tồn tại.RequestId already exists
1125Số tiền cần hoàn lại vượt quá số tiền đã thanh toánThe refund amount exceeds the paid amount
1126Khoảng thời gian quá lớn.Time range is too large
1127Không thể xóa cửa hàng đã phát sinh giao dịch.Cannot delete a shop that already has transactions
1128Cửa hàng này đã sử dụng hết 5 lượt tắt nhận thông báo biến động số dư trong tháng này. Lượt tắt sẽ được đặt lại vào 00:00 ngày 01 của tháng tiếp theo.This shop has used all 5 times it can turn off balance notifications this month. The count resets at 00:00 on the 1st of the next month
1129Thiết bị chưa được gán với Master MerchantDevice has not been assigned to the Master Merchant
1130Số điện thoại không khớp.Phone number does not match
1131Bạn đang thao tác quá nhanh.You are sending requests too quickly
1132Không tìm thấy hóa đơnInvoice not found
1133Không có quyền thực hiện hành động này.No permission to perform this action
1134Xác thực không thành công.Authentication failed
1135Không tìm thấy requestId.requestId not found
2001Token thanh toán không hợp lệ.Invalid payment token
2002Chữ ký thanh toán không hợp lệ. vui lòng kiểm tra dữ liệu gốc trước khi mã hóaInvalid payment signature. Please check the original data before encoding
2003Phiên thanh toán đã hết hạn.Payment session has expired
2004Không tìm thấy link thanh toán.Payment link not found
2005Mã hóa đơn đã được thanh toán.The invoice code has already been paid
2006Không thể hủy link thanh toán với trạng thái: 0.Cannot cancel a payment link with status: 0
2007Nhà cung cấp 0 chưa được hỗ trợProvider 0 is not supported yet
2008Vui lòng cấu hình cổng thanh toán để sử dụng dịch vụConfigure the payment gateway to use the service
2009Phương thức thanh toán không hợp lệ.Invalid payment method
2010Trạng thái thanh toán không hợp lệ.Invalid payment status
2011Mã yêu cầu (requestId) đã được sử dụng. Vui lòng tạo mã yêu cầu mới để tiếp tục.The request ID (requestId) has already been used. Generate a new request ID to continue
2012Phương thức thanh toán bằng thẻ chưa được kích hoạt cho Merchant này.Card payment has not been activated for this Merchant
2013Phương thức thanh toán Thẻ ATM nội địa không hỗ trợDomestic ATM card payment is not supported
2014Phương thức thanh toán Thẻ quốc tế không hỗ trợInternational card payment is not supported
2015Giao dịch bằng thẻ ATM có hạn mức tối đa là 2.000.000 VNĐ/giao dịch.ATM card transactions are limited to 2,000,000 VND per transaction
2016Tài khoản không đủ số dư để thực hiện giao dịch.Insufficient account balance for the transaction
2017Giao dịch vượt quá hạn mức cho phép trong ngày.The transaction exceeds the daily limit
2018Giao dịch thanh toán thẻ thất bại. Vui lòng thử lại hoặc chọn phương thức khác.Card payment failed. Please try again or choose another method
2019Mã xác thực đã hết hạn hoặc không hợp lệVerification code has expired or is invalid
2020Mã xác thực không chính xácIncorrect verification code
2021Phương thức Trả góp không được hỗ trợInstallment payment is not supported
2022Giá trị hóa đơn tối thiểu để trả góp là 0 VNĐThe minimum invoice amount for installments is 0 VND
2023Tài khoản không nằm trong danh sách cấu hình của Payment GatewayThe account is not in the payment gateway configuration list
2024Không thể khởi tạo liên kết thanh toán PayooCould not initialize the Payoo payment link
2025Checksum không hợp lệ.Invalid checksum
2026Checksum deeplink không hợp lệInvalid deep link checksum
2027Không tìm thấy cấu hình Webhook này.Webhook configuration not found
2028Bạn không có quyền thao tác trên cấu hình Webhook này.You do not have permission to operate on this webhook configuration
2029Lịch sử gửi webhook chỉ được lưu trữ trong vòng 90 ngày.Webhook delivery history is kept for 90 days only
2030Chưa cấu hình tài khoản nhà cung cấp 0 nàyThe account for provider 0 has not been configured
2031Tài khoản 0 đã tồn tại cho merchant nàyAccount 0 already exists for this merchant
2032Chưa cấu hình tài khoản nhà cung cấp mặc địnhNo default provider account has been configured
2033Không thể xóa tài khoản mặc định.Cannot delete the default account
2034Hóa đơn 0 đã được xuất thành công trước đó.Invoice 0 has already been issued successfully
2035Hóa đơn 0 chưa được xuất thành công, không thể thực hiện hành động này.Invoice 0 has not been issued successfully; this action cannot be performed
2036Tài khoản chưa đăng ký dịch vụ Hoá đơn đầu vào của nhà cung cấp 0The account has not registered for the purchase invoice (input invoice) service of provider 0
2037Tài khoản chưa đăng ký dịch vụ Hoá đơn đầu ra của nhà cung cấp 0The account has not registered for the sales invoice (output invoice) service of provider 0
2038Nhà cung cấp 0 không hỗ trợ loại hàng hóa nàyProvider 0 does not support this type of goods
2039File không tồn tại.File does not exist
2040Khoảng thời gian không hợp lệInvalid time range

Note

For error codes not listed above, contact TINGEE for details.