# 查询云esim卡片可购买套餐

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/cloudesim/pkg/list:
    post:
      summary: 查询云esim卡片可购买套餐
      deprecated: false
      description: 查询云esim卡片可购买套餐
      tags:
        - API接口/CloudESIM
        - 国内
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              title: ''
              type: object
              properties:
                appkey:
                  type: string
                  default: '{{APPKEY}}'
                  description: >-
                    appkey平台用以确定客户端应用的身份。应用键对应一个密钥 secret。要基于服务平台开发应用，必须事先通过申请获取
                    appkey/secret 后，才能进行应用的开发。
                  x-apifox-mock: '{{APPKEY}}'
                timestamp:
                  type: integer
                  description: 当前时间戳，10位数字
                  x-apifox-mock: '{{TIMESTAMP}}'
                nonce:
                  type: integer
                  minimum: 10000
                  maximum: 99999
                  description: |
                    5位随机正整数
                sign:
                  type: string
                  description: 签名串，请求参数的签名，服务平台通过它验证请求数据的合法性。
                  x-apifox-mock: '{{SIGN}}'
                eid:
                  type: string
                  description: eid卡号
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
            example: |-
              {
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 49890,
                  "sign": "{{SIGN}}",
                  "eid": '111111111111111111111111111'
              }
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: 200：表示成功其他失败
                    title: 状态码
                  message:
                    type: string
                    description: 成功或失败原因
                    title: 原因
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            price:
                              type: integer
                              title: 套餐价格
                              description: 套餐结算价，单位分。结算币种是美元。
                            flowSizeBytes:
                              type: integer
                              title: 流量大小
                              description: 单位Bytes
                            packageCode:
                              type: string
                              title: 套餐编码
                              description: 套餐编码
                            productCode:
                              type: string
                              title: 产品编码
                              description: 产品编码
                            packageName:
                              type: string
                              title: 套餐名称
                              description: 套餐名称
                            packageType:
                              type: integer
                              title: ' 套餐类型'
                              description: 2 限量流量包
                            periodSize:
                              type: integer
                              title: 有效期大小
                            periodType:
                              type: integer
                              title: 有效期类型
                              description: 2天
                            zone:
                              type: object
                              properties:
                                img:
                                  type: string
                                  title: 区域图标
                                  description: 区域图标
                                name:
                                  type: string
                                  title: 区域名称
                                  description: 区域名称
                                countries:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      img:
                                        type: string
                                        title: 国家图标
                                        description: 国家图标
                                      name:
                                        type: string
                                        title: 国家名称
                                        description: 国家名称
                                      operators:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            name:
                                              type: string
                                              title: 运营商名称
                                              description: 运营商名称
                                            networkType:
                                              type: string
                                              title: 网络制式
                                              description: 网络制式
                                          x-apifox-orders:
                                            - name
                                            - networkType
                                          required:
                                            - name
                                            - networkType
                                        title: 支持的运营商
                                        description: 支持的运营商
                                    x-apifox-orders:
                                      - img
                                      - name
                                      - operators
                                    required:
                                      - name
                                      - operators
                                  title: 区域中包含的国家列表
                                  description: 区域中包含的国家列表
                              x-apifox-orders:
                                - img
                                - name
                                - countries
                              required:
                                - name
                                - countries
                          x-apifox-orders:
                            - price
                            - flowSizeBytes
                            - packageCode
                            - productCode
                            - packageName
                            - packageType
                            - periodSize
                            - periodType
                            - zone
                          required:
                            - price
                            - flowSizeBytes
                            - packageCode
                            - productCode
                            - packageName
                            - packageType
                            - periodSize
                            - periodType
                            - zone
                    x-apifox-orders:
                      - list
                    description: |
                      返回数据
                    title: ''
                    required:
                      - list
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/CloudESIM
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-359350544-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
