文档中心 > API类目 > 零售终端API

tmall.nrt.merchant.daikou.creat (CAE代扣签约链接获取)

CAE代扣签约链接获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req CreatCaeSigningReqDTO 必须 请求参数
  • └ alipay_pid
  • String
  • 必须
  • 2088021729346862
  • alipayPid
  • └ op_code
  • String
  • 必须
  • tmall_juran_city_fc_city_std
  • opCode

响应参数

名称 类型 示例值 描述
result ResultDo 返回结果
  • data
  • CreatCaeSigningRespDTO
  • 接口返回model
  • └ sign_url
  • String
  • https://tbapi.alipay.com/cooperate/gateway.do?_input_charset=GBK&is_account_read_only=false&partner=2088001159940003&return_url=hj.pay.taobao.com&service=customer_sign&trans_account_out=20880217293468620156&type_code=TBBC100021000301&sign_type=DSA&sign=jxl0uy_b_xo_d_cz_if_xo_z_b_p_c_g%2Bo_r_nz_b_et_p_hon_wn_v%2Fq_yp_p_ib1_cz_x9_p_qtruw%3D%3D
  • 签约URL
  • └ err_code
  • String
  • error
  • 系统自动生成
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ err_msg
  • String
  • 接口异常
  • 系统自动生成

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallNrtMerchantDaikouCreatRequest req = new TmallNrtMerchantDaikouCreatRequest();
TmallNrtMerchantDaikouCreatRequest.CreatCaeSigningReqDTO obj1 = new TmallNrtMerchantDaikouCreatRequest.CreatCaeSigningReqDTO();
obj1.setAlipayPid("2088021729346862");
obj1.setOpCode("tmall_juran_city_fc_city_std");
req.setReq(obj1);
TmallNrtMerchantDaikouCreatResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_nrt_merchant_daikou_creat_response>
    <result>
        <data>
            <sign_url>https://tbapi.alipay.com/cooperate/gateway.do?_input_charset=GBK&amp;is_account_read_only=false&amp;partner=2088001159940003&amp;return_url=hj.pay.taobao.com&amp;service=customer_sign&amp;trans_account_out=20880217293468620156&amp;type_code=TBBC100021000301&amp;sign_type=DSA&amp;sign=jxl0uy_b_xo_d_cz_if_xo_z_b_p_c_g%2Bo_r_nz_b_et_p_hon_wn_v%2Fq_yp_p_ib1_cz_x9_p_qtruw%3D%3D</sign_url>
        </data>
        <err_code>error</err_code>
        <success>false</success>
        <err_msg>接口异常</err_msg>
    </result>
</tmall_nrt_merchant_daikou_creat_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部