Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request PUT \ --url https://api.example.com/api/v1/dt/credit \ --header 'Content-Type: application/json' \ --data ' { "uuid": "<string>", "platform_id": "<string>", "username": "<string>", "transaction_id": "<string>", "credit": "<string>", "key": "<string>" } '
This response has no body data.
此 API 可能返回的錯誤代碼
各平台自定義的唯一性請求序號,長度 >= 32 且 <= 128 字節
平台方的產品 ID
用戶在遊戲中的帳號 (限制長度23字元,且皆為小寫英文或數字)
交易序號 (長度 1~128 字元,僅允許 ASCII 32-126 可列印字元,禁止使用 ` 和 ~)
額度變化量(正數為加額,負數為扣額)
md5(username + credit + transaction_id + 平台密鑰)