文档中心 > API类目 > 新零售供应链API

qimen.alibaba.ascp.channel.order.payurl.get (供应链渠道订单获取批量支付链接)

作为淘外分销解决方案的一部分,获取外部订单的支付收银台链接

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request Request 必须 请求
  • └ salesOrderNos
  • String []
  • 必须
  • 销售单号列表
customerId String 必须 1111 路由id

响应参数

名称 类型 示例值 描述
response Response 出参
  • └ failedCode
  • String
  • system-error
  • 错误码
  • └ success
  • String
  • true
  • 是否处理成功
  • module
  • Module
  • 业务结果
  • └ payUrl
  • String
  • https://casher.gw.com/webapi/rest?orderId=QG45563633
  • 支付收银台链接
  • └ failedMsg
  • String
  • 系统异常
  • 错误信息
  • └ retry
  • String
  • false
  • 是否可重试

请求示例

{"request":{"salesOrderNos":[""]},"customerId":"1111"}

响应示例

{
    "response":{
        "failedCode":"system-error",
        "success":"true",
        "module":{
            "payUrl":"https:\/\/casher.gw.com\/webapi\/rest?orderId=QG45563633"
        },
        "failedMsg":"系统异常",
        "retry":"false"
    }
}

验签示例

{"failedCode":"sign-check-failure","success":"false","failedMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部