取得免費旋轉活動列表
curl --request GET \
--url https://your-api-host/vendor/v2.0/freespin/eventList \
--header 'Authorization: <api-key>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-api-host/vendor/v2.0/freespin/eventList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://your-api-host/vendor/v2.0/freespin/eventList', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://your-api-host/vendor/v2.0/freespin/eventList"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"list": [
{
"eventID": "6aa7983a9e2d5ae80b536e48",
"eventName": "Summer Free Spin",
"startDate": "2026-09-14T02:45:000+08:00",
"endDate": "2026-09-15T02:45:00.999+08:00",
"channelID": 1,
"currency": "CNY",
"gameIDList": [
24
],
"minWithdraw": 0.01,
"maxWithdraw": 99999999,
"freeSpinTimes": 1,
"validDays": 1,
"joinOptions": [
"auto"
],
"allowDuplicateJoin": false,
"maxGrantCount": 1,
"maxGrantsPerMember": 1,
"bet": 1,
"zoneID": "GMT+8",
"settlePerSpin": false,
"createTime": "2026-09-14T02:46:18.982+08:00"
}
],
"total": 1
},
"status": {
"code": "0",
"message": "success",
"datetime": "2022-07-01T10:13:54.920+08:00",
"traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
}
}
免費旋轉
取得免費旋轉活動列表
GET
/
vendor
/
v2.0
/
freespin
/
eventList
取得免費旋轉活動列表
curl --request GET \
--url https://your-api-host/vendor/v2.0/freespin/eventList \
--header 'Authorization: <api-key>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-api-host/vendor/v2.0/freespin/eventList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://your-api-host/vendor/v2.0/freespin/eventList', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://your-api-host/vendor/v2.0/freespin/eventList"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"list": [
{
"eventID": "6aa7983a9e2d5ae80b536e48",
"eventName": "Summer Free Spin",
"startDate": "2026-09-14T02:45:000+08:00",
"endDate": "2026-09-15T02:45:00.999+08:00",
"channelID": 1,
"currency": "CNY",
"gameIDList": [
24
],
"minWithdraw": 0.01,
"maxWithdraw": 99999999,
"freeSpinTimes": 1,
"validDays": 1,
"joinOptions": [
"auto"
],
"allowDuplicateJoin": false,
"maxGrantCount": 1,
"maxGrantsPerMember": 1,
"bet": 1,
"zoneID": "GMT+8",
"settlePerSpin": false,
"createTime": "2026-09-14T02:46:18.982+08:00"
}
],
"total": 1
},
"status": {
"code": "0",
"message": "success",
"datetime": "2022-07-01T10:13:54.920+08:00",
"traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
}
}
- 依開始時間與結束時間查詢活動列表。
請求參數
string
參與簽章
活動編號 (24 碼 hex)
回應
成功(HTTP 狀態碼固定為 200,請以status.code 判斷結果)
object
object
{
"data": {
"list": [
{
"eventID": "6aa7983a9e2d5ae80b536e48",
"eventName": "Summer Free Spin",
"startDate": "2026-09-14T02:45:000+08:00",
"endDate": "2026-09-15T02:45:00.999+08:00",
"channelID": 1,
"currency": "CNY",
"gameIDList": [
24
],
"minWithdraw": 0.01,
"maxWithdraw": 99999999,
"freeSpinTimes": 1,
"validDays": 1,
"joinOptions": [
"auto"
],
"allowDuplicateJoin": false,
"maxGrantCount": 1,
"maxGrantsPerMember": 1,
"bet": 1,
"zoneID": "GMT+8",
"settlePerSpin": false,
"createTime": "2026-09-14T02:46:18.982+08:00"
}
],
"total": 1
},
"status": {
"code": "0",
"message": "success",
"datetime": "2022-07-01T10:13:54.920+08:00",
"traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
}
}