Linksfield Developer
OverviewCube APIsOld version
OverviewCube APIsOld version
  1. eSIM QR Mall APIs
  • CSSS APIs
    • Overview
    • Internationalization
    • Status code
    • Sign code Example
    • SIM
      • Get all SIM cards info
      • Get real-time info about one SIM card
      • Get the SIM Cards in use
    • Usage
      • Example Query the traffic usage of a single SIM card
      • Batch querying SIM card usage
      • Example Query the daily usage
      • Batch querying the usage in a specified month
    • Plan
      • Get data plan
      • Order data plan
      • Bulk order package
      • Renew your data plan
      • Query the package order information
      • To enable the order
      • Cancel an unenabled package order
      • End package orders early
      • [不推荐]停机/暂停流量套餐订单
      • [不推荐]复机/重新启动流量套餐订单
      • 【不推荐】分页批量(查询)同步设备可订购套餐
    • SMS
      • Send SMS
    • Customized
      • Order OTA Plan
      • Query the remaing data by MNO side
  • Notification
    • Notification Overview
    • Notification status code
    • 流量使用量API预警
      POST
    • 短信下行回调
      POST
    • 短信上行回调
      POST
    • 短信上行回调(区分文本二进制)
      POST
    • Plan Order Status Change notification (IMSI)
      POST
  • Mall APIs
    • Mall全局说明
    • Mall业务流程
    • Mall签名代码示例
    • APP调用Stripe的SDK示例说明
    • Vshop
      • 卡片登录验证
      • 获取可购套餐商品列表
      • 创建用户订单
      • 查询自动续费记录
      • 关闭自动续费
      • 查询正在使用、未启用订单
      • 获取生效中的自动续费
      • 关闭自动续费
      • 用户下单(第三方支付)
    • Payment
      • 获取stripe单次支付权限
      • 获取Stripe订阅支付权限
      • 创建Stripe订阅/自动续费
      • 支付结果查询
      • 支付结果确认
    • Notification
      • 消息推送
  • eSIM QR Mall APIs
    • Introduction
    • Pre - order
      POST
    • v1.1/payment/webhook
      POST
    • User login
      POST
    • My eSIM Detail
      POST
    • Pre - order v1.2
      POST
  1. eSIM QR Mall APIs

Pre - order v1.2

Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
POST
/v1.2/package/preOrderPackage

Request

Header Params

Body Params application/json

Example
{
  "currency": "USD",
  "currencyId": 2,
  "deviceType": "10",
  "discountFlag": 0,
  "id": 1000000,
  "money": 5,
  "packageCode": "LP20220325000000",
  "packageNum": 1,
  "partnerCode": "1000000005",
  "periodNum": 1
  "receive_qr_email":"test@test.com"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/v1.2/package/preOrderPackage' \
--header 'Accept-Language;' \
--header 'x-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "currency": "USD",
  "currencyId": 2,
  "deviceType": "10",
  "discountFlag": 0,
  "id": 1000000,
  "money": 5,
  "packageCode": "LP20220325000000",
  "packageNum": 1,
  "partnerCode": "1000000005",
  "periodNum": 1
  "receive_qr_email":"test@test.com"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "data": {
        "amount": 1,
        "id": 1055293,
        "orderNo": "ESIM_L202212050000000",
        "packageName": "C_T_马来西亚泰国500M不限速月套餐(esim)",
        "orderTime": "2022-12-05T03:14:50.958+0000",
        "periodNum": 1,
        "currency": "USD",
        "clientId": "ASNnc_k89vx4JfTiDnIsNE97X009900990j4BsjIsGuwACOK9S2QK7fMDZNu6rA3i9iwq"
    },
    "message": "SUCCESS"
}
Modified at 2023-05-18 06:25:35
Previous
My eSIM Detail
Built with