Chi tiết đơn hàng
API truy vấn chi tiết đơn hàng cho phép bạn lấy thông tin chi tiết của một đơn hàng cụ thể theo ID.
GET
https://pgapi-sandbox.sepay.vn/v1/order/detail/{order_id}Danh sách tham số
| Tên | Loại | Bắt buộc | Mô tả |
|---|---|---|---|
order_id | string | Bắt buộc | ID đơn hàng cần truy vấn (Ví dụ: SEPAY-68BA83CE637C1) |
Mô tả dữ liệu trả về
idstringInternal ID of the order
customer_idstring/nullCustomer ID (nullable)
order_idstringUnique order ID
order_invoice_numberstringInvoice number
order_statusstringOrder status
order_amountstringOrder amount (VND)
order_currencystringCurrency code
order_descriptionstringOrder description
authentication_statusstring/nullAuthentication status
created_atstringCreated time (YYYY-MM-DD HH:mm:ss)
updated_atstringLast updated time (YYYY-MM-DD HH:mm:ss)
transactionsarrayList of transactions (available in detail response only)
Định nghĩa trạng thái đơn hàng
CAPTURED:Đã thanh toánCANCELLED:Đã hủyAUTHENTICATION_NOT_NEEDED:Đang đợi thanh toán