TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAliqinFlowAlipaySendRequest req = new AlibabaAliqinFlowAlipaySendRequest();
req.setAlipayId("1234567");
req.setSerial("1234567");
req.setFlow("1");
req.setReason("活动发放");
req.setSellerId("1234567");
req.setAppkey("233333");
AlibabaAliqinFlowAlipaySendResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAliqinFlowAlipaySendRequest req = new AlibabaAliqinFlowAlipaySendRequest();
req.AlipayId = "1234567";
req.Serial = "1234567";
req.Flow = "1";
req.Reason = "活动发放";
req.SellerId = "1234567";
req.Appkey = "233333";
AlibabaAliqinFlowAlipaySendResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAliqinFlowAlipaySendRequest;
$req->setAlipayId("1234567");
$req->setSerial("1234567");
$req->setFlow("1");
$req->setReason("活动发放");
$req->setSellerId("1234567");
$req->setAppkey("233333");
$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.aliqin.flow.alipay.send' \
-d 'partner_id=apidoc' \
-d 'sign=E6054DE2C3FE0586614E0D425A18F662' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-08+11%3A02%3A23' \
-d 'v=2.0' \
-d 'alipay_id=1234567' \
-d 'appkey=233333' \
-d 'flow=1' \
-d 'reason=%E6%B4%BB%E5%8A%A8%E5%8F%91%E6%94%BE' \
-d 'seller_id=1234567' \
-d 'serial=1234567'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAliqinFlowAlipaySendRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.alipay_id="1234567"
req.serial="1234567"
req.flow="1"
req.reason="活动发放"
req.seller_id="1234567"
req.appkey="233333"
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.aliqin.flow.alipay.send");
add_param(pRequest,"alipay_id","1234567");
add_param(pRequest,"serial","1234567");
add_param(pRequest,"flow","1");
add_param(pRequest,"reason","活动发放");
add_param(pRequest,"seller_id","1234567");
add_param(pRequest,"appkey","233333");
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.aliqin.flow.alipay.send', {
'alipay_id':'1234567',
'serial':'1234567',
'flow':'1',
'reason':'活动发放',
'seller_id':'1234567',
'appkey':'233333'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})