WalletWithdraw() API

此 API 请求使运营商能够将剩余资金从提供商的游戏钱包转移到运营商的主钱包。 它通过扣除请求的提款金额来更新游戏钱包。

WalletWithdraw() 请求

类型输入
HTTP 方法POST
API URLhttps://<API_BASE_URL>/wallet/wallet-withdraw/
标头"Content-Type": "application/json"
POST 参数json 对象 e.g.:
{
"api_key": "1pghjl4v5apt2bks",
"username": "test_username",
"password": "passt84fas28",
"amount": 200.0,
"transaction_id": "10032"
}
参数类型描述
api_key字符串分配给每个前端的 API Key
username字符串玩家的用户名
password字符串玩家的密码
amount十进制小数点要存入 DG 游戏钱包的金额
transaction_id字符串交易 ID

WalletWithdraw() + 示例

{ "result": {"status": "success", "amount": 200, "currency": "GBP" } }
响应对象中的对象/Key类型描述
resultJSON 对象 Key 结果包含 JSON 对象作为值
status字符串响应状态
amount十进制小数点提现后的玩家余额
currency< /code>字符串以3个字母表示的ISO货币代码