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ênLoạiBắt buộcMô tả
order_id
stringBắt buộc
ID đơn hàng cần truy vấn (Ví dụ: SEPAY-68BA83CE637C1)

Mô tả dữ liệu trả về

idstring

Internal ID of the order

customer_idstring/null

Customer ID (nullable)

order_idstring

Unique order ID

order_invoice_numberstring

Invoice number

order_statusstring

Order status

order_amountstring

Order amount (VND)

order_currencystring

Currency code

order_descriptionstring

Order description

authentication_statusstring/null

Authentication status

created_atstring

Created time (YYYY-MM-DD HH:mm:ss)

updated_atstring

Last updated time (YYYY-MM-DD HH:mm:ss)

transactionsarray

List of transactions (available in detail response only)

Định nghĩa trạng thái đơn hàng
  • CAPTURED: Đã thanh toán
  • CANCELLED: Đã hủy
  • AUTHENTICATION_NOT_NEEDED: Đang đợi thanh toán