TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RefundsReceiveGetRequest req = new RefundsReceiveGetRequest();
req.setFields("refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type");
req.setStatus("WAIT_SELLER_AGREE");
req.setType("fixed");
req.setStartModified(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setEndModified(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setPageNo(1L);
req.setPageSize(40L);
req.setUseHasNext(true);
req.setOuid("iuwerkjhffd");
req.setBuyerOpenUid("AXADSASDSDSDSSS");
req.setBuyerNick("hz0799");
RefundsReceiveGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
RefundsReceiveGetRequest req = new RefundsReceiveGetRequest();
req.Fields = "refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type";
req.Status = "WAIT_SELLER_AGREE";
req.Type = "fixed";
req.StartModified = DateTime.Parse("2000-01-01 00:00:00");
req.EndModified = DateTime.Parse("2000-01-01 00:00:00");
req.PageNo = 1L;
req.PageSize = 40L;
req.UseHasNext = true;
req.Ouid = "iuwerkjhffd";
req.BuyerOpenUid = "AXADSASDSDSDSSS";
req.BuyerNick = "hz0799";
RefundsReceiveGetResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new RefundsReceiveGetRequest;
$req->setFields("refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type");
$req->setStatus("WAIT_SELLER_AGREE");
$req->setType("fixed");
$req->setStartModified("2000-01-01 00:00:00");
$req->setEndModified("2000-01-01 00:00:00");
$req->setPageNo("1");
$req->setPageSize("40");
$req->setUseHasNext("true");
$req->setOuid("iuwerkjhffd");
$req->setBuyerOpenUid("AXADSASDSDSDSSS");
$req->setBuyerNick("hz0799");
$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.refunds.receive.get' \
-d 'partner_id=apidoc' \
-d 'session=e19701c1-1a5b-497b-b237-3cd97d127185' \
-d 'sign=67528363A567704CD91DA68F602AEA66' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-24+16%3A57%3A41' \
-d 'v=2.0' \
-d 'buyer_nick=hz0799' \
-d 'buyer_open_uid=AXADSASDSDSDSSS' \
-d 'end_modified=2000-01-01+00%3A00%3A00' \
-d 'fields=refund_id%2C+tid%2C+title%2Cbuyer_nick%2C+seller_nick%2C+total_fee%2C+status%2C+created%2C+refund_fee%2Crefund_phase%2Cdispute_type' \
-d 'ouid=iuwerkjhffd' \
-d 'page_no=1' \
-d 'page_size=40' \
-d 'start_modified=2000-01-01+00%3A00%3A00' \
-d 'status=WAIT_SELLER_AGREE' \
-d 'type=fixed' \
-d 'use_has_next=true'
# -*- coding: utf-8 -*-
import top.api
req=top.api.RefundsReceiveGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.fields="refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type"
req.status="WAIT_SELLER_AGREE"
req.type="fixed"
req.start_modified="2000-01-01 00:00:00"
req.end_modified="2000-01-01 00:00:00"
req.page_no=1
req.page_size=40
req.use_has_next=true
req.ouid="iuwerkjhffd"
req.buyer_open_uid="AXADSASDSDSDSSS"
req.buyer_nick="hz0799"
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.refunds.receive.get");
add_param(pRequest,"fields","refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type");
add_param(pRequest,"status","WAIT_SELLER_AGREE");
add_param(pRequest,"type","fixed");
add_param(pRequest,"start_modified","2000-01-01 00:00:00");
add_param(pRequest,"end_modified","2000-01-01 00:00:00");
add_param(pRequest,"page_no","1");
add_param(pRequest,"page_size","40");
add_param(pRequest,"use_has_next","true");
add_param(pRequest,"ouid","iuwerkjhffd");
add_param(pRequest,"buyer_open_uid","AXADSASDSDSDSSS");
add_param(pRequest,"buyer_nick","hz0799");
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.refunds.receive.get', {
'fields':'refund_id, tid, title,buyer_nick, seller_nick, total_fee, status, created, refund_fee,refund_phase,dispute_type',
'status':'WAIT_SELLER_AGREE',
'type':'fixed',
'start_modified':'2000-01-01 00:00:00',
'end_modified':'2000-01-01 00:00:00',
'page_no':'1',
'page_size':'40',
'use_has_next':'true',
'ouid':'iuwerkjhffd',
'buyer_open_uid':'AXADSASDSDSDSSS',
'buyer_nick':'hz0799'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})