TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayBaoxianGameRecoverySuccessRequest req = new AlipayBaoxianGameRecoverySuccessRequest();
AlipayBaoxianGameRecoverySuccessRequest.InsTopGameRecoveryRequest obj1 = new AlipayBaoxianGameRecoverySuccessRequest.InsTopGameRecoveryRequest();
obj1.setPaidDebtAmount("1");
obj1.setCurrentDebtAmount("1");
List<AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTO> list3 = new ArrayList<AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTO>();
AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTO obj4 = new AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTO();
list3.add(obj4);
obj4.setInSubBankName("收入银行支行名称");
obj4.setInBankName("收入银行名称");
obj4.setPayTime("1783998324525");
obj4.setInBankCardType("收入银行卡类型");
obj4.setFee("1");
obj4.setBizData("{\"audit_result\":\"审核结果\"}");
obj4.setOutAccountType("1");
obj4.setPayFlowId("123");
obj4.setInAccountNo("1");
obj4.setOutAccountNo("1");
obj4.setInAccountType("1");
obj4.setInName("张三");
obj1.setPayEntryList(list3);
obj1.setClaimReportNo("123");
obj1.setPayFlowId("123");
obj1.setBizEndTime("1783998324525");
obj1.setEnoughPayType("enough");
obj1.setOutAccountNo("123");
obj1.setOverdueBillTitle("追偿账单标题");
obj1.setOverdueAmount("1");
req.setInsTopGameRecoveryRequest(obj1);
AlipayBaoxianGameRecoverySuccessResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlipayBaoxianGameRecoverySuccessRequest req = new AlipayBaoxianGameRecoverySuccessRequest();
AlipayBaoxianGameRecoverySuccessRequest.InsTopGameRecoveryRequestDomain obj1 = new AlipayBaoxianGameRecoverySuccessRequest.InsTopGameRecoveryRequestDomain();
obj1.PaidDebtAmount = "1";
obj1.CurrentDebtAmount = "1";
List<AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTODomain> list3 = new List<AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTODomain>();
AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTODomain obj4 = new AlipayBaoxianGameRecoverySuccessRequest.InsTopGameClaimPayDTODomain();
list3.Add(obj4);
obj4.InSubBankName = "收入银行支行名称";
obj4.InBankName = "收入银行名称";
obj4.PayTime = "1783998324525";
obj4.InBankCardType = "收入银行卡类型";
obj4.Fee = "1";
obj4.BizData = "{\"audit_result\":\"审核结果\"}";
obj4.OutAccountType = "1";
obj4.PayFlowId = "123";
obj4.InAccountNo = "1";
obj4.OutAccountNo = "1";
obj4.InAccountType = "1";
obj4.InName = "张三";
obj1.PayEntryList= list3;
obj1.ClaimReportNo = "123";
obj1.PayFlowId = "123";
obj1.BizEndTime = "1783998324525";
obj1.EnoughPayType = "enough";
obj1.OutAccountNo = "123";
obj1.OverdueBillTitle = "追偿账单标题";
obj1.OverdueAmount = "1";
req.InsTopGameRecoveryRequest_ = obj1;
AlipayBaoxianGameRecoverySuccessResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlipayBaoxianGameRecoverySuccessRequest;
$ins_top_game_recovery_request = new InsTopGameRecoveryRequest;
$ins_top_game_recovery_request->paid_debt_amount="1";
$ins_top_game_recovery_request->current_debt_amount="1";
$pay_entry_list = new InsTopGameClaimPayDTO;
$pay_entry_list->in_sub_bank_name="收入银行支行名称";
$pay_entry_list->in_bank_name="收入银行名称";
$pay_entry_list->pay_time="1783998324525";
$pay_entry_list->in_bank_card_type="收入银行卡类型";
$pay_entry_list->fee="1";
$pay_entry_list->biz_data="{\"audit_result\":\"审核结果\"}";
$pay_entry_list->out_account_type="1";
$pay_entry_list->pay_flow_id="123";
$pay_entry_list->in_account_no="1";
$pay_entry_list->out_account_no="1";
$pay_entry_list->in_account_type="1";
$pay_entry_list->in_name="张三";
$ins_top_game_recovery_request->pay_entry_list = $pay_entry_list;
$ins_top_game_recovery_request->claim_report_no="123";
$ins_top_game_recovery_request->pay_flow_id="123";
$ins_top_game_recovery_request->biz_end_time="1783998324525";
$ins_top_game_recovery_request->enough_pay_type="enough";
$ins_top_game_recovery_request->out_account_no="123";
$ins_top_game_recovery_request->overdue_bill_title="追偿账单标题";
$ins_top_game_recovery_request->overdue_amount="1";
$req->setInsTopGameRecoveryRequest(json_encode($ins_top_game_recovery_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.recovery.success' \
-d 'partner_id=apidoc' \
-d 'sign=DFDF9D2456E89CDFA902618474775C01' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-09-24+00%3A29%3A18' \
-d 'v=2.0' \
-d 'ins_top_game_recovery_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlipayBaoxianGameRecoverySuccessRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.ins_top_game_recovery_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.recovery.success");
add_param(pRequest,"ins_top_game_recovery_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.recovery.success', {
'ins_top_game_recovery_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})