Skip to content

Get Points Rules

Description

取得點數規則。

Resource

GET /v1/basic/points_rules

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Response Body Parameters

Name Type Description
point_calculation_type string
(enum)
集點計算類型
ALLOWED VALUES:
  • PRODUCT_AMOUNT
  • PAYMENT_AMOUNT
points_amount integer 集點消費金額
accumulated_points integer 集點消費金額可獲得點數
max_discount_rate integer 單筆交易點數可折抵比率
redeem_points integer 兌換點數
point_discount_amount integer 兌換點數折抵金額

Response Body Example

{
  "point_calculation_type": "PAYMENT_AMOUNT",
  "points_amount": 100,
  "accumulated_points": 3,
  "max_discount_rate": 50,
  "redeem_points": 5,
  "point_discount_amount": 1
}