Chuyển tới nội dung chính
Phiên bản: Next

Push Payment to Devices

POST 

/openapi/v1/devices/payments/push

Đẩy thông tin thanh toán (số tiền + mã QR) trực tiếp xuống thiết bị vật lý tại quầy thu ngân.

Payload POS (Smart POS):

{
"serial_no": "00059012710",
"order_id": "0129210912",
"amount": 150000,
"type": "pos"
}

Payload Soundbox:

{
"serial_no": "SB-001234",
"amount": 150000,
"qr_string": "00020101021138550010A000000727...",
"type": "soundbox"
}
TrườngBắt buộcMô tả
serial_noSố serial của thiết bị
order_id✅ nếu type == "pos"Mã hóa đơn
amountSố tiền (VNĐ)
qr_string✅ nếu type == "soundbox"Chuỗi QR từ API Create QR
type"pos" hoặc "soundbox"

Request

Responses

Gửi lệnh xuống thiết bị thành công