# Point Accumulating
#### **Usage**
- Points accumulating
#### **action**
- `accumulating`
**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 |
totalAmount | Price | Yes | Total transaction amount | Unit : Dollar |
undiscountAmount | Price | No | Undiscountable Amount | Unit : Dollar |
activityNo | String | No | Activity NO | 收银机集点时填写,后台集点不填 |
points | Integer | No | Points | 收银机集点时填写,后台集点不填 |
goodsDetail | List<[goodsDetail](https://book.e-buy.com/link/333#bkmrk-goods-detail "goodsDetail")> | No | 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 for member payment |
#### **Request body example**
```
{
"traceNo": "99000009100010101732123",
"totalAmount": 40.8,
"undiscountAmount": 0,
"activityNo": "2016121901",
"points": 100,
"goodsDetail": [
{
"goodsCategory": "001",
"goodsId": "P00001",
"goodsName": "牙膏",
"price": 8,
"quantity": 2,
"rebateCode": "000"
},
{
"goodsCategory": "101",
"goodsId": "P00002",
"goodsName": "洗发水",
"price": 24.8,
"quantity": 1,
"rebateCode": "000"
}
],
"memberDetail": {
"memberId": "M000001545",
"memberName": "TONY",
"grade": "1",
"status": "1",
"balance": 1000.00,
"pointBalance": 30000
}
}
```
**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**
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 |
activityProductNo | String | No | Activity Product no. | |
activityProductName | String | No | Activity Product name | |
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 |
#### **Response body example**
```
{
"traceNo": "99000009100010101732123",
"orderNo": "171698602301",
"transDate": "20161231120533",
"returnCode": "00",
"returnDesc": "SUCCESS",
"activityProductNo": "2016123102",
"activityProductName": "圣诞集点活动",
"printDetail": {
"cardNo64": "622562****8888",
"bank": "中国银行",
"paymentOrderNo": "201612315689412157458787",
"pointSale": "20000",
"qrCode1": "htt://www.xxx.com/url",
"qrCode2": "",
"qrCode3": "",
"barCode1": "12345679",
"barCode2": "",
"barCode3": ""
},
"memberDetail": {
"memberId": "M000001545",
"memberName": "TONY",
"grade": "1",
"status": "1",
"balance": 1000.00,
"pointBalance": 30000
}
}
```