TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripAxinTransFundAddRequest req = new AlitripAxinTransFundAddRequest();
AlitripAxinTransFundAddRequest.AxinFundCreateDto obj1 = new AlitripAxinTransFundAddRequest.AxinFundCreateDto();
obj1.setPayerAlipayId("1232");
obj1.setPayerAccount("123132");
obj1.setPayerNick("131");
obj1.setOuterOrderId("13434");
obj1.setPayType(4554L);
obj1.setAccountType(45L);
obj1.setReceiverAlipayId("455");
obj1.setReceiverAccount("5454");
obj1.setReceiverNick("13443");
obj1.setSmid("454");
obj1.setPayFundId(1L);
obj1.setTradeType("1");
obj1.setReqVersion("76");
obj1.setTradeSource(10L);
obj1.setAttributes("7");
obj1.setPayFee(78L);
obj1.setNotifyUrl("232332");
AlitripAxinTransFundAddRequest.ExtUserInfoDto obj2 = new AlitripAxinTransFundAddRequest.ExtUserInfoDto();
obj2.setExtUserCertNo("32");
obj2.setExtUserCertType("233");
obj2.setExtUserName("223");
obj1.setExtUserInfo(obj2);
obj1.setSubject("232");
obj1.setTradeChannel(1L);
req.setAxinFundCreateDTO(obj1);
AlitripAxinTransFundAddResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlitripAxinTransFundAddRequest req = new AlitripAxinTransFundAddRequest();
AlitripAxinTransFundAddRequest.AxinFundCreateDtoDomain obj1 = new AlitripAxinTransFundAddRequest.AxinFundCreateDtoDomain();
obj1.PayerAlipayId = "1232";
obj1.PayerAccount = "123132";
obj1.PayerNick = "131";
obj1.OuterOrderId = "13434";
obj1.PayType = 4554L;
obj1.AccountType = 45L;
obj1.ReceiverAlipayId = "455";
obj1.ReceiverAccount = "5454";
obj1.ReceiverNick = "13443";
obj1.Smid = "454";
obj1.PayFundId = 1L;
obj1.TradeType = "1";
obj1.ReqVersion = "76";
obj1.TradeSource = 10L;
obj1.Attributes = "7";
obj1.PayFee = 78L;
obj1.NotifyUrl = "232332";
AlitripAxinTransFundAddRequest.ExtUserInfoDtoDomain obj2 = new AlitripAxinTransFundAddRequest.ExtUserInfoDtoDomain();
obj2.ExtUserCertNo = "32";
obj2.ExtUserCertType = "233";
obj2.ExtUserName = "223";
obj1.ExtUserInfo= obj2;
obj1.Subject = "232";
obj1.TradeChannel = 1L;
req.AxinFundCreateDTO_ = obj1;
AlitripAxinTransFundAddResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlitripAxinTransFundAddRequest;
$axin_fund_create_d_t_o = new AxinFundCreateDto;
$axin_fund_create_d_t_o->payer_alipay_id="1232";
$axin_fund_create_d_t_o->payer_account="123132";
$axin_fund_create_d_t_o->payer_nick="131";
$axin_fund_create_d_t_o->outer_order_id="13434";
$axin_fund_create_d_t_o->pay_type="4554";
$axin_fund_create_d_t_o->account_type="45";
$axin_fund_create_d_t_o->receiver_alipay_id="455";
$axin_fund_create_d_t_o->receiver_account="5454";
$axin_fund_create_d_t_o->receiver_nick="13443";
$axin_fund_create_d_t_o->smid="454";
$axin_fund_create_d_t_o->pay_fund_id="1";
$axin_fund_create_d_t_o->trade_type="1";
$axin_fund_create_d_t_o->req_version="76";
$axin_fund_create_d_t_o->trade_source="10";
$axin_fund_create_d_t_o->attributes="7";
$axin_fund_create_d_t_o->pay_fee="78";
$axin_fund_create_d_t_o->notify_url="232332";
$ext_user_info = new ExtUserInfoDto;
$ext_user_info->ext_user_cert_no="32";
$ext_user_info->ext_user_cert_type="233";
$ext_user_info->ext_user_name="223";
$axin_fund_create_d_t_o->ext_user_info = $ext_user_info;
$axin_fund_create_d_t_o->subject="232";
$axin_fund_create_d_t_o->trade_channel="1";
$req->setAxinFundCreateDTO(json_encode($axin_fund_create_d_t_o));
$resp = $c->execute($req, $sessionKey);
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=taobao.alitrip.axin.trans.fund.add' \
-d 'partner_id=apidoc' \
-d 'session=69aa592c-a82c-45ea-8243-60b3c22dd81f' \
-d 'sign=84387DDFE60B3887FC49F31DEE0ED6C3' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-14+21%3A04%3A08' \
-d 'v=2.0' \
-d 'axin_fund_create_d_t_o=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlitripAxinTransFundAddRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.axin_fund_create_d_t_o=""
try:
resp= req.getResponse(sessionkey)
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,"taobao.alitrip.axin.trans.fund.add");
add_param(pRequest,"axin_fund_create_d_t_o","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,sessionKey);
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('taobao.alitrip.axin.trans.fund.add', {
'axin_fund_create_d_t_o':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})