TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayBaoxianGameClaimApplyRequest req = new AlipayBaoxianGameClaimApplyRequest();
AlipayBaoxianGameClaimApplyRequest.InsTopGameClaimApplyRequest obj1 = new AlipayBaoxianGameClaimApplyRequest.InsTopGameClaimApplyRequest();
obj1.setAttachments("\"[http:xxxx.com]\"");
obj1.setOrderId("123456");
obj1.setIdCardNo("123456");
obj1.setOutBizNo("123456");
obj1.setProcessResult("审核通过");
obj1.setApplyAmount("100");
obj1.setRecoveredAmount("100");
obj1.setSellerId("123456");
obj1.setApplyPhone("17287686573");
obj1.setApplyTime("1777022587313");
obj1.setApplyName("张三");
obj1.setPaymentAccount("2088xxxxx");
obj1.setSpNo("52549");
obj1.setBizData("{}");
req.setInsTopGameClaimApplyRequest(obj1);
AlipayBaoxianGameClaimApplyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlipayBaoxianGameClaimApplyRequest req = new AlipayBaoxianGameClaimApplyRequest();
AlipayBaoxianGameClaimApplyRequest.InsTopGameClaimApplyRequestDomain obj1 = new AlipayBaoxianGameClaimApplyRequest.InsTopGameClaimApplyRequestDomain();
obj1.Attachments = "\"[http:xxxx.com]\"";
obj1.OrderId = "123456";
obj1.IdCardNo = "123456";
obj1.OutBizNo = "123456";
obj1.ProcessResult = "审核通过";
obj1.ApplyAmount = "100";
obj1.RecoveredAmount = "100";
obj1.SellerId = "123456";
obj1.ApplyPhone = "17287686573";
obj1.ApplyTime = "1777022587313";
obj1.ApplyName = "张三";
obj1.PaymentAccount = "2088xxxxx";
obj1.SpNo = "52549";
obj1.BizData = "{}";
req.InsTopGameClaimApplyRequest_ = obj1;
AlipayBaoxianGameClaimApplyResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlipayBaoxianGameClaimApplyRequest;
$ins_top_game_claim_apply_request = new InsTopGameClaimApplyRequest;
$ins_top_game_claim_apply_request->attachments="\"[http:xxxx.com]\"";
$ins_top_game_claim_apply_request->order_id="123456";
$ins_top_game_claim_apply_request->id_card_no="123456";
$ins_top_game_claim_apply_request->out_biz_no="123456";
$ins_top_game_claim_apply_request->process_result="审核通过";
$ins_top_game_claim_apply_request->apply_amount="100";
$ins_top_game_claim_apply_request->recovered_amount="100";
$ins_top_game_claim_apply_request->seller_id="123456";
$ins_top_game_claim_apply_request->apply_phone="17287686573";
$ins_top_game_claim_apply_request->apply_time="1777022587313";
$ins_top_game_claim_apply_request->apply_name="张三";
$ins_top_game_claim_apply_request->payment_account="2088xxxxx";
$ins_top_game_claim_apply_request->sp_no="52549";
$ins_top_game_claim_apply_request->biz_data="{}";
$req->setInsTopGameClaimApplyRequest(json_encode($ins_top_game_claim_apply_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=alipay.baoxian.game.claim.apply' \
-d 'partner_id=apidoc' \
-d 'sign=6F801655255AC9EFD4B22883ACD95878' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-09-24+00%3A29%3A18' \
-d 'v=2.0' \
-d 'ins_top_game_claim_apply_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlipayBaoxianGameClaimApplyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.ins_top_game_claim_apply_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,"alipay.baoxian.game.claim.apply");
add_param(pRequest,"ins_top_game_claim_apply_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',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alipay.baoxian.game.claim.apply', {
'ins_top_game_claim_apply_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})