• wangp's avatar
    lakala · af1afef6
    wangp authored
    af1afef6
swagger.yaml 3.68 KB
definitions:
  models.PlaceAnOrderParamInput:
    properties:
      app_id:
        type: string
      attach_info:
        type: string
      customer:
        type: string
      dynamic_id:
        type: string
      goods_des:
        type: string
      goods_detail:
        type: string
      goods_price:
        type: number
      is_serve:
        type: integer
      notice_url:
        type: string
      open_id:
        type: string
      operator:
        type: string
      pay_type:
        type: integer
      platform_info:
        type: string
      platform_type:
        type: integer
      quit_url:
        type: string
      return_url:
        type: string
      source_code:
        type: integer
      store_sn:
        type: string
      sub_mchid:
        type: string
      wap_name:
        type: string
      wap_url:
        type: string
    type: object
  models.RefundParamInput:
    properties:
      goods_price:
        type: number
      order_id:
        type: string
    type: object
  models.WxNoticeInput:
    properties:
      channel_id:
        type: string
      merchant_no:
        type: string
      order_create_time:
        type: string
      order_efficient_time:
        type: string
      order_info:
        type: string
      order_status:
        type: string
      order_trade_info:
        type: object
      out_order_no:
        type: string
      pay_order_no:
        type: string
      split_info:
        type: object
      term_no:
        type: string
      total_amount:
        type: number
      trans_merchant_no:
        type: string
      trans_term_no:
        type: string
    type: object
info:
  contact: {}
  description: 采购订单项目
  title: 谛宝多多平台
  version: "1.0"
paths:
  /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 日文 默认中文
        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 日文 默认中文
        in: header
        name: language
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: ""
      summary: 拉卡拉退款
      tags:
      - 拉卡拉退款
  /api/v1/pay/wx_notice:
    post:
      consumes:
      - application/json
      description: 拉卡拉统一支付微信回调
      parameters:
      - description: 参数
        in: body
        name: body
        required: true
        schema:
          $ref: '#/definitions/models.WxNoticeInput'
      - description: 语言类型 zh-CN简体中文 en-US英文 ja 日文 默认中文
        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"