POST api/Device/Trade

POS會員交易取和取消交易

Request Information

Parameters

NameDescriptionAdditional information
req

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "merchant_id": 1,
  "card_no": "sample string 2",
  "pos_code": "sample string 3",
  "consumption_no": "sample string 4",
  "stamp": "sample string 5",
  "consumption_amount": 6.0,
  "trade_type": "sample string 7",
  "trade_lineType": 8,
  "remarks": "sample string 9",
  "trade_amount": 10.0,
  "counter_code": "sample string 11",
  "invoice": "sample string 12",
  "sign": "sample string 13"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "rcrm": {
    "RC": "sample string 1",
    "RM": "sample string 2"
  },
  "results": {
    "card_no": "sample string 1",
    "bonus_type": 2,
    "bonus_count": 3,
    "bonus": 4,
    "level_name": "sample string 5",
    "uplevel_consumTimes": 1,
    "uplevel_consumTotal": 6.0,
    "uplevel_consumSingle": 7.0,
    "keeplevel_consumTimes": 1,
    "keeplevel_consumTotal": 8.0,
    "keeplevel_consumSingle": 9.0,
    "trade_amount": "sample string 10",
    "member_type": "sample string 11"
  }
}