# 微信小程序调起支付数据

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /【接口根地址(支付FM用户中心查看）】/wxminjsapi:
    get:
      summary: 微信小程序调起支付数据
      deprecated: false
      description: 获得 prepayid等数据，直接小程序调起支付
      tags:
        - 支付FM
      parameters:
        - name: openid
          in: query
          description: 微信用户openid
          required: false
          example: oFyk-16rQLFkjFqU90pFZBB4Wu9I
          schema:
            type: string
        - name: orderId
          in: query
          description: 支付FM平台订单号
          required: false
          example: '574623147236524032'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  msg:
                    type: string
                  code:
                    type: integer
                  timestamp:
                    type: integer
                  data:
                    type: object
                    properties:
                      paysign:
                        type: string
                      timestamp:
                        type: string
                      appid:
                        type: string
                      prepayId:
                        type: string
                      nonceStr:
                        type: string
                      package:
                        type: string
                    required:
                      - paysign
                      - timestamp
                      - appid
                      - prepayId
                      - nonceStr
                      - package
                    x-apifox-orders:
                      - paysign
                      - timestamp
                      - appid
                      - prepayId
                      - nonceStr
                      - package
                    description: 小程序调起支付数据
                required:
                  - success
                  - msg
                  - code
                  - timestamp
                  - data
                x-apifox-orders:
                  - success
                  - msg
                  - code
                  - timestamp
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 支付FM
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/6722236/apis/api-364000847-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
