# Card Redemption #### **Usage** - Bank loyalty point redemption - Bank Loyalty point redemption + Cash payment - Bank privilege verification - Bank privilege verification + Cash Payment - Prepay Card payment - Member Card payment #### **Transaction Flow** - The requested transaction will will firstly invoke [MIS-POS](https://book.e-buy.com/link/124#bkmrk-mis-pos "Installed in merchants in-store POS machine, providing the operation activity to support and exchange function") for Card swape and password input. Once [MIS-POS](https://book.e-buy.com/link/124#bkmrk-mis-pos "Installed in merchants in-store POS machine, providing the operation activity to support and exchange function") confirmed on both inputs, it will send back 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 to process. #### **action** - `cardRedemption` **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")**
Field | Type | Mandatory | Description | Memo |
---|---|---|---|---|
traceNo | String | Yes | Cashier terminal trace no. | No repeat,建议yyyyMMddHHmmss+10位流水号 |
totalAmount | Price | Yes | Total transaction amount | Unit : Dollar |
undiscountAmount | Price | Yes | undiscountable Amount | Unit : Dollar |
goodsDetail | List<[goodsDetail](https://book.e-buy.com/link/333#bkmrk-goods-detail "goodsDetail")> | Yes | Goods detail | Mandated on goods detail verification |
memberDetail | Object<[memberDetail](https://book.e-buy.com/link/333#bkmrk-member-detail "memberDetail")> | No | Member information | Mandated on member payment |
Field | Type | Mandatory | Description | Memo |
---|---|---|---|---|
traceNo | String | Yes | Cashier terminal trace no. | No repeat |
orderNo | String | Yes | Order No. from e-Buy | 易百生成 |
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 |
paidAmount | Price | Yes | Total amount paid | Face Value. Unit : Dollar |
receiptAmount | Price | No | Merchant actual received amount | Net Value. Unit : Dollar |
invoiceAmount | Price | No | Merchant invoice amount | Unit : Dollar |
exchangeRate | Number(8,6) | No | Exchange Rate | The rate of conversion the currency given in the request to CNY. |
currency | String | No | Currency | For example: CNY |
discountCode | String | No | Discount Code | assigned by Cashier POS |
discountNum | Number | No | numbers of discountCode | 用于入账计折扣类型的数量 |
tenderCode | String | No | Tender Code | assigned by Cashier POS,用于入账计支付方式,如:2016120101|20.00表示支付20元 |
activityProductNo | String | No | Activity Product no. | |
activityProductName | String | No | Activity Product name | |
needSameCard | Boolean | No | Required same card payment | Such as discount upon amount reached, same credit card must be used for the payment |
goodsDetail | List<[goodsDetail](https://book.e-buy.com/link/333#bkmrk-goods-detail "goodsDetail")> | No | Paid product detail | Backend response paid product detail |
fundChannel | List<[fundChannel](https://book.e-buy.com/link/333#bkmrk-fund-channel "fundChannel")> | No | Channel of fund | |
printDetail | Object<[printDetail](https://book.e-buy.com/link/333#bkmrk-print-detail "printDetail")> | No | Printing message | Provided if required to print on the receipt |
memberDetail | Object<[memberDetail](https://book.e-buy.com/link/333#bkmrk-member-detail "memberDetail")> | No | Member information | Member info return message on this transaction |