基本信息

Item Info
URL /nsc/v2/orders/{order_id}/pay-order
Method POST

参数说明

  • 其他必传参数请参考接口规范
参数名 必选 类型 说明
channel string 渠道,系统会对 channel 和 app_id 做相关性校验
user_id string 用户名,nio 用户传入
channel_user_id string 渠道用户名,企业对接必传
business string 业务类型
payment_info list 支付信息
--amount double 支付总额
--type integer 支付方式, 1:现金,2:卡券
invoice_info object 发票信息
--type integer 发票类型, 1:个人,2:企业
--title string 发票抬头
--duty_paragraph string 税号,在发票类型是企业的情况下必需
--email string 邮箱地址
invoice_title_serial_no string 用户抬头信息 UUID,记为流水号;流水号与用户抬头信息 invoice_info 必须有其一,两者均有以 title_serial_no 优先,两者都没有,请求默认流水号

注意:user_id和channel_user_id必传只传其一,invoice_info 由前端默认传类型为个人,title 为"个人"

{
   "business":"PE",
   "payment_info":[
      {
         "type":1,
         "amount":180
      }
   ],
   "invoice_info":{
      "type":1,
      "title":"个人"
   },
   "invoice_title_serial_no":"xxxxxxxx"
}

返回示例

{  
   "result_code":"success",
   "debug_msg":"success",
   "display_msg":"success",
   "request_id":"0a7d9161ivvxqxry-164",
   "server_time":1518143886,
   "data":{
      "pay_order_no":"82608066992632904001",
      "merchant_no":"PM900017"
   }
}

返回参数说明

参数名 类型 说明
request_id string 见 API 规范
result_code string 见 API 规范
debug_msg string 见 API 规范
display_msg string 见 API 规范
server_time long 见 API 规范
data object 返回实体
--pay_order_no string 支付单号
--merchant_no string 商户号

results matching ""

    No results matching ""