QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
TaobaoAppleOlduserSignCancelRequest req = new TaobaoAppleOlduserSignCancelRequest();
req.setPaymentWay("807");
req.setChannelId("2202002");
req.setQueryId("23wfcwf32");
req.setUserNo("869336464");
req.setUT("d23d23qd2");
req.setCI("3dw2323d23w");
req.setMemo("{attribute:234242}");
req.setVersion("2.0");
req.setMerchantId("234234324");
TaobaoAppleOlduserSignCancelResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TaobaoAppleOlduserSignCancelRequest req = new TaobaoAppleOlduserSignCancelRequest();
req.PaymentWay = "807";
req.ChannelId = "2202002";
req.QueryId = "23wfcwf32";
req.UserNo = "869336464";
req.UT = "d23d23qd2";
req.CI = "3dw2323d23w";
req.Memo = "{attribute:234242}";
req.Version = "2.0";
req.MerchantId = "234234324";
TaobaoAppleOlduserSignCancelResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TaobaoAppleOlduserSignCancelRequest;
$req->setPaymentWay("807");
$req->setChannelId("2202002");
$req->setQueryId("23wfcwf32");
$req->setUserNo("869336464");
$req->setUT("d23d23qd2");
$req->setCI("3dw2323d23w");
$req->setMemo("{attribute:234242}");
$req->setVersion("2.0");
$req->setMerchantId("234234324");
$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=qimen.taobao.apple.olduser.sign.cancel' \
-d 'partner_id=apidoc' \
-d 'sign=0B28E9B783BBABFA0872A42D821938C7' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-07+10%3A26%3A30' \
-d 'v=2.0' \
-d 'TUT=d23d23qd2' \
-d 'UCI=3dw2323d23w' \
-d 'channelId=2202002' \
-d 'memo=%7Battribute%3A234242%7D' \
-d 'merchantId=234234324' \
-d 'paymentWay=807' \
-d 'queryId=23wfcwf32' \
-d 'userNo=869336464' \
-d 'version=2.0'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AobaoAppleOlduserSignCancelRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.paymentWay="807"
req.channelId="2202002"
req.queryId="23wfcwf32"
req.userNo="869336464"
req.TUT="d23d23qd2"
req.UCI="3dw2323d23w"
req.memo="{attribute:234242}"
req.version="2.0"
req.merchantId="234234324"
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,"qimen.taobao.apple.olduser.sign.cancel");
add_param(pRequest,"paymentWay","807");
add_param(pRequest,"channelId","2202002");
add_param(pRequest,"queryId","23wfcwf32");
add_param(pRequest,"userNo","869336464");
add_param(pRequest,"TUT","d23d23qd2");
add_param(pRequest,"UCI","3dw2323d23w");
add_param(pRequest,"memo","{attribute:234242}");
add_param(pRequest,"version","2.0");
add_param(pRequest,"merchantId","234234324");
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('qimen.taobao.apple.olduser.sign.cancel', {
'paymentWay':'807',
'channelId':'2202002',
'queryId':'23wfcwf32',
'userNo':'869336464',
'TUT':'d23d23qd2',
'UCI':'3dw2323d23w',
'memo':'{attribute:234242}',
'version':'2.0',
'merchantId':'234234324'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})