# 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](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS") server after collection to further process. #### **action** - `ecouponInquiry` **Request body,Cashier POS===>[e-Buy Backend](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS")**
FieldTypeMandatoryDescriptionMemo
traceNoStringYesCashier terminal trace no.No repeat
qrcodeStringYesecoupon codeecoupon code for inquiry
#### **Request body example** ``` { "traceNo": "99000009100010101732123", "qrcode": "HDCP00000000001235" } ``` **Response body,[e-Buy Backend](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS")===>Cashier POS**
FieldTypeMandatoryDescriptionMemo
traceNoStringYesCashier terminal trace no.No repeat
orderNoStringYesOrder No. from e-BuyUnit : dollar
transDateStringYesTransaction timeFormat:yyyyMMddHHmmss
returnCodeStringYesReturn code00 represent successful transaction, else represent fail
returnDescStringYesReturn messageDetail explanation / error message per transaction result
canPayAmountPriceYesBalance of this couponUnit : dollar
activityProductNoStringNoActivity Product no.The activity Product no. this coupon belongs to
activityProductNameStringNoActivity Product nameThe 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权益" } ```