← 返回商户控制台

订单详情

{
  "order_id": "order_7cb78b0f45ebf19d0a63581c",
  "merchant_id": "sentosa_demo",
  "sku_id": "sentosa_family_pack",
  "product_name": "Sentosa 家庭套票(2大1小)",
  "quantity": 3,
  "date": "2026-03-21",
  "quote_amount_sgd": 119,
  "currency": "SGD",
  "channel": "telegram",
  "customer": {
    "telegram_user_id": "6761269319",
    "telegram_username": "bestjustin"
  },
  "status": "FULFILLED",
  "payment_status": "SUCCESS",
  "fulfillment_status": "FULFILLED",
  "created_at": "2026-03-20T08:36:16.028Z",
  "inventory_lock": {
    "lock_id": "lock_3642f77f45b6a19d0a63581e",
    "sku_id": "sentosa_family_pack",
    "quantity": 3,
    "expiry_at": "2026-03-20T08:41:16.030Z"
  },
  "payment_ref": "card_1773995812285",
  "payment_method": "card"
}

出票结果

{
  "fulfillment_id": "ful_b0e3bae4f209f19d0a63e5bf",
  "order_id": "order_7cb78b0f45ebf19d0a63581c",
  "ticket_code": "ticket_cf2c37e9b06bc19d0a63e5bf",
  "product_name": "Sentosa 家庭套票(2大1小)",
  "visit_date": "2026-03-21",
  "qr_url": "https://api.qrserver.com/v1/create-qr-code/?size=240x240&data=ticket_cf2c37e9b06bc19d0a63e5bf",
  "issued_at": "2026-03-20T08:36:52.287Z"
}

交易追踪(事件时间线)

  1. 2026-03-20 16:36 SGT ORDER_DRAFT_CREATED
    {
      "skuId": "sentosa_family_pack",
      "quantity": 3,
      "date": "2026-03-21",
      "quoteAmountSgd": 119,
      "channel": "telegram",
      "customer": {
        "telegram_user_id": "6761269319",
        "telegram_username": "bestjustin"
      }
    }
  2. 2026-03-20 16:36 SGT INVENTORY_LOCKED
    {
      "lockId": "lock_3642f77f45b6a19d0a63581e",
      "skuId": "sentosa_family_pack",
      "quantity": 3,
      "expiryAt": "2026-03-20T08:41:16.030Z"
    }
  3. 2026-03-20 16:36 SGT CHECKOUT_REQUESTED
    {
      "paymentMethod": "card"
    }
  4. 2026-03-20 16:36 SGT PAYMENT_SESSION_CREATED
    {
      "sessionId": "ps_0db6e88e8763119d0a637f7f",
      "protocol": "AP2",
      "paymentMethod": "card",
      "expiryAt": "2026-03-20T08:41:26.111Z"
    }
  5. 2026-03-20 16:36 SGT CHECKOUT_COMPLETED
    {
      "sessionId": "ps_0db6e88e8763119d0a637f7f",
      "paymentMethod": "card",
      "paymentRef": "card_1773995812285"
    }
  6. 2026-03-20 16:36 SGT FULFILLMENT_ISSUED
    {
      "ticketCode": "ticket_cf2c37e9b06bc19d0a63e5bf",
      "qrUrl": "https://api.qrserver.com/v1/create-qr-code/?size=240x240&data=ticket_cf2c37e9b06bc19d0a63e5bf"
    }