youku.ott.pay.order.querycporder (查询支付订单对应cp订单号)

根据支付订单查询对应cp订单号

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
gateway_order String 必须 20201025P3817632901 支付对应订单

响应参数

名称 类型 示例值 描述
data TvOrderResultDTO {} data
  • └ cp_order_no
  • String
  • cp原始订单号
  • └ qcode_url
  • String
  • qcodeUrl
  • └ version_code
  • String
  • 版本号
  • └ order_no
  • String
  • 本次订单号
  • └ message
  • String
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YoukuOttPayOrderQuerycporderRequest req = new YoukuOttPayOrderQuerycporderRequest();
req.setGatewayOrder("20201025P3817632901");
YoukuOttPayOrderQuerycporderResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<youku_ott_pay_order_querycporder_response>
    <data>
        <cp_order_no></cp_order_no>
        <qcode_url></qcode_url>
        <version_code></version_code>
        <order_no></order_no>
        <message></message>
    </data>
</youku_ott_pay_order_querycporder_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

返回
顶部