# 订单卡密列表

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/open/order/kam/list:
    post:
      summary: 订单卡密列表
      deprecated: false
      description: ''
      tags:
        - 订单
      parameters:
        - name: appid
          in: query
          description: ''
          required: true
          example: '{{appid}}'
          schema:
            type: string
        - name: timestamp
          in: query
          description: 当前时间戳（单位秒，5分钟内有效）
          required: false
          example: '{{timestamp}}'
          schema:
            type: integer
            default: '{{timestamp}}'
        - name: seller_id
          in: query
          description: 商家ID（仅商务对接传入，自研/第三方ERP对接忽略即可）
          example: '{{seller_id}}'
          schema:
            type: integer
        - name: sign
          in: query
          description: 签名MD5值（参考签名说明）
          required: true
          example: '{{sign}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                order_no:
                  type: string
                  title: 闲鱼订单号
                  pattern: /^\d{19,}$/
                  examples:
                    - '2226688164543566229'
              required:
                - order_no
              x-apifox-orders:
                - order_no
            example:
              order_no: 2226688164543566300
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            card_no:
                              type: string
                              title: 卡密账号
                              examples:
                                - '219530767978567'
                            card_pwd:
                              type: string
                              title: 卡密密码
                              examples:
                                - FDd65TyEbLBrUOwX
                            cost:
                              type: integer
                              title: 成本单价（分）
                              format: int32
                              examples:
                                - 100
                            sold_type:
                              type: integer
                              format: int32
                              enum:
                                - 11
                                - 12
                                - 21
                                - 22
                              x-apifox:
                                enumDescriptions:
                                  '11': 自动发货
                                  '12': 手动发货
                                  '21': 手动提卡
                                  '22': 手动标识已售
                              title: 售出类型
                              description: |-
                                枚举值：
                                11 : 自动发货
                                12 : 手动发货
                                21 : 手动提卡
                                22 : 手动标识已售
                          x-apifox-orders:
                            - card_no
                            - card_pwd
                            - cost
                            - sold_type
                          required:
                            - card_no
                            - card_pwd
                            - cost
                            - sold_type
                    x-apifox-orders:
                      - list
                    required:
                      - list
                  code:
                    type: integer
                    additionalProperties: false
                    format: int32
                    default: 0
                  msg:
                    type: string
                    additionalProperties: false
                    default: OK
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - msg
                  - data
              examples:
                '1':
                  summary: 成功示例
                  value:
                    code: 0
                    msg: OK
                    data:
                      list:
                        - card_no: rsrewe2
                          card_pwd: fuigfyhduigyfuid\ds
                          cost: 300
                          sold_type: 11
                        - card_no: ugeyuf
                          card_pwd: hfgh32fg878468hfghfjkld
                          cost: 300
                          sold_type: 11
                '2':
                  summary: 异常示例
                  value:
                    code: 6
                    msg: nisi dolore voluptate in ut
          headers: {}
          x-apifox-name: 成功
        x-200:失败:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                    examples:
                      - Internal Server Error
                    additionalProperties: false
                  code:
                    type: integer
                    format: int32
                    examples:
                      - 500
                    additionalProperties: false
                required:
                  - code
                  - msg
                x-apifox-orders:
                  - code
                  - msg
          headers: {}
          x-apifox-name: 失败
      security: []
      x-apifox-folder: 订单
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2973339/apis/api-97142794-run
components:
  schemas: {}
  securitySchemes:
    apiKey:
      type: apikey
      description: Enter JWT Bearer token **_only_**
      name: Authorization
      in: header
servers:
  - url: https://open.goofish.pro
    description: 新版正式环境
security: []

```
