Cyberbiz Sync Member Point
Description
Cyberbiz 查詢會員點數 API
Resource
GET /v1/cyberbiz/sync_member_point/{company_id}
Authorization
採用 HMAC-SHA256 簽章驗證(無 Omni Token)。
Path Parameters
| Name | Type | Description |
|---|---|---|
| company_id | string | 公司編號 |
Request Query Parameters
| Name | Type | Description |
|---|---|---|
| customer_id | Integer | CYBERBIZ 會員 ID (Required) |
| String | 會員 Email (Required) MaxLength: 255 |
|
| mobile | String | 會員手機號碼 (Required) MaxLength: 255 |
| date_time | String | ISO 8601 格式時間 (Required) |
| signature | String | HMAC-SHA256(key, query_data) Hex 格式字串 (Required) |
Request Example
GET /v1/cyberbiz/sync_member_point/<company_id>?customer_id=123456&[email protected]&mobile=0912345678&date_time=2026-05-11T12:00:00Z&signature=abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| status | String | "Success" | "Fail" | "NotFound"(Required) |
| bonus_points | Integer | 該會員目前的紅利總額(若狀態非 Success,可回傳 0) (Required) |
Response Example
{
"status": "Success",
"bonus_points": 150
}