# 卡片转移套餐

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/card/transferPkg:
    post:
      summary: 卡片转移套餐
      deprecated: false
      description: 卡片转移套餐
      tags:
        - API接口/卡业务接口
        - 通用
      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}}'
                oldIccid:
                  type: string
                  description: 旧 iccid
                newIccid:
                  type: string
                  description: 新 iccid
                memo:
                  type: string
                  description: 备注
                orderId:
                  type: integer
                  description: 订单号。如10006889。如果 orderId 和 orderNumber 同时存在则优先取 orderId
                orderNumber:
                  type: string
                  description: 订单编码。如df2b29c3-e20a-448c-9358-e945f3d60c3d
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - oldIccid
                - orderId
                - orderNumber
                - newIccid
                - memo
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - orderId
                - oldIccid
                - newIccid
                - orderNumber
            example:
              appkey: '{{APPKEY}}'
              timestamp: '{{TIMESTAMP}}'
              nonce: 95977
              sign: '{{SIGN}}'
              oldIccid: '8910300000029554754'
              orderId: 10007043
              orderNumber: df2b29c3-e20a-448c-9358-e945f3d60c3d
              newIccid: '8910300000029437304'
              memo: memo
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: 200：表示成功，其他失败。具体原因 message 中会说明，如参数错误等
                  message:
                    type: string
                    description: 成功或失败原因
                  data:
                    type: object
                    properties:
                      newPkgCode:
                        type: string
                        description: 新套餐编码
                      newOrderId:
                        type: integer
                        description: 新订单号。如10006889
                    x-apifox-orders:
                      - newPkgCode
                      - newOrderId
                    required:
                      - newPkgCode
                      - newOrderId
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/卡业务接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-337444569-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
