definitions:
  models.CashierNoticeInput:
    properties:
      channel_id:
        description: 渠道号
        type: string
      merchant_no:
        description: 结算商户号
        type: string
      order_create_time:
        description: 订单创建时间
        type: string
      order_efficient_time:
        description: 订单有效时间
        type: string
      order_info:
        description: 订单描述
        type: string
      order_status:
        description: 订单状态
        type: string
      order_trade_info:
        type: object
      out_order_no:
        description: 商户订单号
        type: string
      pay_order_no:
        description: 支付订单号
        type: string
      split_info:
        type: object
      term_no:
        description: 结算终端号
        type: string
      total_amount:
        description: 订单金额,单位:分
        type: integer
      trans_merchant_no:
        description: 交易商户号
        type: string
      trans_term_no:
        description: 交易终端号
        type: string
    type: object
  models.OrderStateInput:
    properties:
      order_id:
        description: 订单号
        type: string
    type: object
  models.PlaceAnOrderParamInput:
    properties:
      app_id:
        description: wxAppId source code 2 小程序支付时必传、同时小程序支付必须关联了商户号支付
        type: string
      attach_info:
        description: 附加信息
        type: string
      auth_codes:
        description: LAKALA签约协议号列表
        type: string
      customer:
        description: 顾客信息
        type: string
      dynamic_id:
        description: 顾客手机条码的内容
        type: string
      goods_des:
        description: 商品描述
        type: string
      goods_detail:
        description: 商品详情
        type: string
      goods_price:
        description: 商品金额,个位为分
        type: number
      is_serve:
        description: 0直连模式  1服务商模式
        type: integer
      notice_url:
        description: 客户端回调的url
        type: string
      open_id:
        description: 此参数 支付类型是 JS API 的时候 必传
        type: string
      operator:
        description: 操作员
        type: string
      pay_type:
        description: 支付渠道 1:微信 2:支付宝 3:拉卡拉 4:收钱吧
        type: integer
      platform_info:
        description: 平台信息
        type: string
      platform_type:
        description: 平台类型 1:saas 2:shop 3:shop mobile 4:收银台 6:bk_shop 7:bk_shop_mobile
        type: integer
      quit_url:
        description: 返回按钮 可用于用户付款中途退出并返回到该参数指定的商户网站地址, 支付方式为 支付宝手机网站时 必传(尽量传)
        type: string
      return_url:
        description: 用户在完成支付后,会根据商户在请求支付API中传入的前台回跳地址return_url自动跳转return_url地址页面(必传)
        type: string
      source_code:
        description: 支付方式 1:微信Native 2:微信小程序 3:微信内支付 4:h5 跳微信 5:支付宝(web)-扫码或登录支付宝账户
          6:alipay(mobile) 7:alipay(app) 9:B2C 10:bk支付宝web 11:bk 支付宝手机 15:快捷支付(银行卡)
          16:微信小程序-必康自营 17:微信JASPI-必康自营
        type: integer
      store_sn:
        description: 商户门店编号
        type: string
      sub_mchid:
        description: 通过进件接口申请的支付商户号、这是由微信生成并下发的
        type: string
      wap_name:
        description: WAP网站名称, 支付方式为微信MWEB时 必传
        type: string
      wap_url:
        description: WAP网站URL地址, 支付方式为微信MWEB时 必传
        type: string
    type: object
  models.RefundParamInput:
    properties:
      refund_amount:
        description: 退款金额,个位为分
        type: number
      refund_no:
        description: 退款号:原对账单流水号
        type: string
      refund_reason:
        description: 退款原因
        type: string
    type: object
  models.ScanNoticeInput:
    properties:
      acc_activity_id:
        description: 活动ID
        type: string
      acc_discount_amount:
        description: 账户端优惠金额
        type: string
      acc_mdiscount_amount:
        description: 商户侧优惠金额(账户端)
        type: string
      acc_other_discount_amount:
        description: 账户端其它优惠金额(待上线)
        type: string
      acc_settle_amount:
        description: 账户端结算金额
        type: string
      acc_trade_no:
        description: 账户端交易订单号
        type: string
      account_type:
        description: 钱包类型
        type: string
      bank_type:
        description: 付款银行
        type: string
      card_type:
        description: 银行卡类型
        type: string
      hb_fq_pay_info:
        description: 花呗分期支付信息(未上线)
        type: object
      log_no:
        description: 拉卡拉对账单流水号
        type: string
      merchant_no:
        description: 商户号
        type: string
      out_trade_no:
        description: 商户交易流水号
        type: string
      payer_amount:
        description: 付款人实付金额
        type: string
      remark:
        description: 备注
        type: string
      settle_merchant_no:
        description: 结算商户号
        type: string
      settle_term_no:
        description: 结算终端号
        type: string
      total_amount:
        description: 订单金额
        type: string
      trade_no:
        description: 拉卡拉交易流水号
        type: string
      trade_status:
        description: 交易状态
        type: string
      trade_time:
        description: 交易完成时间
        type: string
      user_id1:
        description: 用户标识1
        type: string
      user_id2:
        description: 用户标识2
        type: string
    type: object
info:
  contact: {}
  description: 采购订单项目
  title: 谛宝多多平台
  version: "1.0"
paths:
  /api/v1/pay/cashier_notice:
    post:
      consumes:
      - application/json
      description: 拉卡拉统一支付回调(收银台)
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.CashierNoticeInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja-JP日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉统一支付回调(收银台)
      tags:
      - 拉卡拉统一支付回调
  /api/v1/pay/order_state:
    post:
      consumes:
      - application/json
      description: 拉卡拉支付查询
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.OrderStateInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja-JP日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉支付查询
      tags:
      - 拉卡拉支付查询
  /api/v1/pay/scan_notice:
    post:
      consumes:
      - application/json
      description: 拉卡拉统一支付回调(聚合扫码)
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.ScanNoticeInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja-JP日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉统一支付回调(聚合扫码)
      tags:
      - 拉卡拉统一支付回调
  /api/v1/pay/unified_order:
    post:
      consumes:
      - application/json
      description: 拉卡拉统一支付
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.PlaceAnOrderParamInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja-JP日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉统一支付
      tags:
      - 拉卡拉统一支付
  /api/v1/pay/unified_refund:
    post:
      consumes:
      - application/json
      description: 拉卡拉退款
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.RefundParamInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja-JP日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉退款
      tags:
      - 拉卡拉退款
securityDefinitions:
  ApiKeyAuth:
    in: header
    name: Authorization
    type: apiKey
swagger: "2.0"