Skip to main content
POST
傳統開工專用額度申請

主體

application/json
platform_id
string
必填

平台方產品ID

token
string
必填

驗證碼,md5(platform_id + uuid + account + type + credit + proposal_id + transaction_id + 平台密鑰)

uuid
string
必填

各平台自定義的唯一性請求序號

account
string
必填

玩家帳號

type
integer
必填

類型 1. 出碼 2. 追碼 3. 收工 4. 取消

credit
integer
必填

額度,須為正整數,type 為 3(收工) 時只允許為 0,type 為 4(取消) 時只允許為 0

proposal_id
integer
必填

玩家提案號,不能為空值

transaction_id
string
必填

交易序號,需唯一且不能為空值 (長度 1~128 字元,僅允許 ASCII 32-126 可列印字元,禁止使用 ` 和 ~)

回應

200 - application/json

成功

code
integer

錯誤代碼

message
string

錯誤訊息

uuid
string

自定義的唯一性請求序號

timestamp
integer

UNIX time,毫秒

data
object