TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCloudgameTradeplatformSubmitwithdrawRequest req = new AlibabaCloudgameTradeplatformSubmitwithdrawRequest();
AlibabaCloudgameTradeplatformSubmitwithdrawRequest.WithdrawSubmitRequest obj1 = new AlibabaCloudgameTradeplatformSubmitwithdrawRequest.WithdrawSubmitRequest();
obj1.setPayeeName("1");
obj1.setAmount(1L);
obj1.setWithdrawSerialId("1");
obj1.setTenantId(1L);
obj1.setMemo("1");
obj1.setHuijinAccountId(1L);
obj1.setCurrency("CNY");
obj1.setWithdrawIdempotentCode("1");
obj1.setPayeeAcctNo("1");
obj1.setBankName("中国工商银行");
obj1.setBankBranchName("中国工商银行上海东方支行");
obj1.setBankProvince("上海市");
obj1.setBankCity("上海市");
obj1.setCnapsCode("11241234123");
obj1.setHuijinAccId(1L);
req.setWithdrawSubmitRequest(obj1);
AlibabaCloudgameTradeplatformSubmitwithdrawResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaCloudgameTradeplatformSubmitwithdrawRequest req = new AlibabaCloudgameTradeplatformSubmitwithdrawRequest();
AlibabaCloudgameTradeplatformSubmitwithdrawRequest.WithdrawSubmitRequestDomain obj1 = new AlibabaCloudgameTradeplatformSubmitwithdrawRequest.WithdrawSubmitRequestDomain();
obj1.PayeeName = "1";
obj1.Amount = 1L;
obj1.WithdrawSerialId = "1";
obj1.TenantId = 1L;
obj1.Memo = "1";
obj1.HuijinAccountId = 1L;
obj1.Currency = "CNY";
obj1.WithdrawIdempotentCode = "1";
obj1.PayeeAcctNo = "1";
obj1.BankName = "中国工商银行";
obj1.BankBranchName = "中国工商银行上海东方支行";
obj1.BankProvince = "上海市";
obj1.BankCity = "上海市";
obj1.CnapsCode = "11241234123";
obj1.HuijinAccId = 1L;
req.WithdrawSubmitRequest_ = obj1;
AlibabaCloudgameTradeplatformSubmitwithdrawResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaCloudgameTradeplatformSubmitwithdrawRequest;
$withdraw_submit_request = new WithdrawSubmitRequest;
$withdraw_submit_request->payee_name="1";
$withdraw_submit_request->amount="1";
$withdraw_submit_request->withdraw_serial_id="1";
$withdraw_submit_request->tenant_id="1";
$withdraw_submit_request->memo="1";
$withdraw_submit_request->huijin_account_id="1";
$withdraw_submit_request->currency="CNY";
$withdraw_submit_request->withdraw_idempotent_code="1";
$withdraw_submit_request->payee_acct_no="1";
$withdraw_submit_request->bank_name="中国工商银行";
$withdraw_submit_request->bank_branch_name="中国工商银行上海东方支行";
$withdraw_submit_request->bank_province="上海市";
$withdraw_submit_request->bank_city="上海市";
$withdraw_submit_request->cnaps_code="11241234123";
$withdraw_submit_request->huijin_acc_id="1";
$req->setWithdrawSubmitRequest(json_encode($withdraw_submit_request));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=alibaba.cloudgame.tradeplatform.submitwithdraw' \
-d 'partner_id=apidoc' \
-d 'sign=2AF28E8E19A47CE0517E9DB9A1257556' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-30+17%3A00%3A03' \
-d 'v=2.0' \
-d 'withdraw_submit_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaCloudgameTradeplatformSubmitwithdrawRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.withdraw_submit_request="数据结构示例JSON格式"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"alibaba.cloudgame.tradeplatform.submitwithdraw");
add_param(pRequest,"withdraw_submit_request","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.cloudgame.tradeplatform.submitwithdraw', {
'withdraw_submit_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})