Skip to main content

Ecoupon Inquiry

Usage

  • Inquiry product detail \ balance \ activity of this coupon, support e-Buy Ecoupon and thirdparty ecoupon.

Transaction Flow

  • The transaction process will collect QR code message thru scanning or direct input through keypad, and it will send to e-Buy backend server after collection to further process.

action

  • ecouponInquiry

Request body,Cashier POS===>e-Buy Backend

Field Type Mandatory Description Memo
traceNo String Yes Cashier terminal trace no. No repeat
qrcode String Yes ecoupon code ecoupon code for inquiry

Request body example

{
    "traceNo": "99000009100010101732123",
    "qrcode": "HDCP00000000001235"
}

Response body,e-Buy Backend===>Cashier POS

Field Type Mandatory Description Memo
traceNo String Yes Cashier terminal trace no. No repeat
orderNo String Yes Order No. from e-Buy Unit : dollar
transDate String Yes Transaction time Format:yyyyMMddHHmmss
returnCode String Yes Return code 00 represent successful transaction, else represent fail
returnDesc String Yes Return message Detail explanation / error message per transaction result
canPayAmount Price Yes Balance of this coupon Unit : dollar
activityProductNo String No Activity Product no. The activity Product no. this coupon belongs to
activityProductName String No Activity Product name The activity Product name this coupon belongs to

Response body example

{
    "traceNo": "99000009100010101732123",
    "orderNo": "171698602301",
    "transDate": "20161231120533",
    "returnCode": "00",
    "returnDesc": "SUCCESS",
    "canPayAmount": 40.8,
    "activityProductNo": "2016123101",
    "activityProductName": "中信365权益"
}