Linksfield Developer
OverviewCube APIsOld version
OverviewCube APIsOld version
  1. Vshop
  • 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
      • 卡片登录验证
        POST
      • 获取可购套餐商品列表
        POST
      • 创建用户订单
        POST
      • 查询自动续费记录
        POST
      • 关闭自动续费
        POST
      • 查询正在使用、未启用订单
        POST
      • 获取生效中的自动续费
        POST
      • 关闭自动续费
        POST
      • 用户下单(第三方支付)
        POST
    • Payment
      • 获取stripe单次支付权限
      • 获取Stripe订阅支付权限
      • 创建Stripe订阅/自动续费
      • 支付结果查询
      • 支付结果确认
    • Notification
      • 消息推送
  • eSIM QR Mall APIs
    • Introduction
    • Pre - order
    • v1.1/payment/webhook
    • User login
    • My eSIM Detail
    • Pre - order v1.2
  1. Vshop

用户下单(第三方支付)

Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
POST
/synPartner/SynOrderInfo

Request

Header Params
Content-Type
string 
optional
Default:
application/json
Body Params application/json
autoRenewal
string 
optional
自动续费标志:1-开(有自动续费功能);0-关(没有自动续费功能);默认为0就是没有自动续费功能 ,
deviceCode
string 
required
用户设备设备码(iccid/imei号)
languageCode
string 
optional
语言编码:0- 汉语(中文);1- 英语;2- 西班牙语;3- 法语4- 葡萄牙语;5- 印度语;6- 德语;7-日语;8- 韩语;9- 阿拉伯语;10-台湾繁中;11-港体繁中;12-俄语
mark
string 
optional
卡片归属标识:0-归属领科(当为此值时卡片需要通过领科企业卡片有效性的验证);1-不归属领科(当为此值时卡片不需要通过领科企业卡片有效性的验证);默认标识传0(归属领科),如果打开H5时携带此参数以实际为准。此字段不可传空字符串
orgOrderId
string 
optional
原始套餐订单id
partnerCode
string 
required
渠道编码,领科提供
packageCode
string 
required
原始套餐编码
orderPeriod
string 
required
订购周期
servicePlanCode
string 
required
套餐商品编号
servicePlanShowName
string 
required
套餐商品名称
payAccount
string 
optional
支付邮箱
payAmount
string 
required
实际支付的金额
payCurrency
string 
required
支付货币代码,国际代码三位大写字母
orderNo
string 
required
调用方自行生成,用来标识单独的一个订单编号
payId
string 
required
用户订单ID,调用方自行生成
transactionId
string 
required
支付方的支付流水号
payResultDate
string 
required
支付结果返回时间
payRst
string 
optional
支付状态:SUCCESS
payStatus
string 
optional
成功支付的状态:1-已支付;2-已退款。
payType
string 
required
支付方式,2-paypal支付,0-第三方自行支付;3-Stripe支付
payUnit
string 
optional
单价:套餐支付金额/卡片数
requestOrderId
string 
optional
外部渠道客户订单号
sign
string 
required
签名
terminal
string 
optional
终端设备标识:0-移动终端;1-pc
tradeTime
string 
required
访问时间戳
tradeType
string 
required
接口名称
version
string 
required
版本号,当前3.0
Example
{
    "autoRenewal":"0",
    "deviceCode":"89852420180910340793",
    "languageCode":"",
    "mark":"0",
    "orderNo":"NO2023060915590562022",
    "orderPeriod":"1",
    "orgOrderId":"",
    "packageCode":"DP20190726001274",
    "partnerCode":"P000270",
    "payAccount":"1",
    "payAmount":"12.36",
    "payCurrency":"GBP",
    "payId":"P000000002022",
    "payResultDate":"2022-06-07 15:10:35",
    "payRst":"SUCCESS",
    "payStatus":"1",
    "payType":"3",
    "payUnit":"12.36",
    "requestOrderId":"",
    "servicePlanCode":"SP202111041459",
    "servicePlanShowName":"biaoqianweikong",
    "settlePrice":"12.36",
    "sign":"3eb94e979cf82d2d58a7aa57dc357cb4",
    "terminal":"1",
    "tradeTime":"1654585746965",
    "tradeType":"SynOrderInfo",
    "transactionId":"ch_3L7wXlLnVNBddzsl1phHDiSi",
    "version":"3.0"
}

Request 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/synPartner/SynOrderInfo' \
--header 'Content-Type: application/json' \
--data-raw '{
    "autoRenewal":"0",
    "deviceCode":"89852420180910340793",
    "languageCode":"",
    "mark":"0",
    "orderNo":"NO2023060915590562022",
    "orderPeriod":"1",
    "orgOrderId":"",
    "packageCode":"DP20190726001274",
    "partnerCode":"P000270",
    "payAccount":"1",
    "payAmount":"12.36",
    "payCurrency":"GBP",
    "payId":"P000000002022",
    "payResultDate":"2022-06-07 15:10:35",
    "payRst":"SUCCESS",
    "payStatus":"1",
    "payType":"3",
    "payUnit":"12.36",
    "requestOrderId":"",
    "servicePlanCode":"SP202111041459",
    "servicePlanShowName":"biaoqianweikong",
    "settlePrice":"12.36",
    "sign":"3eb94e979cf82d2d58a7aa57dc357cb4",
    "terminal":"1",
    "tradeTime":"1654585746965",
    "tradeType":"SynOrderInfo",
    "transactionId":"ch_3L7wXlLnVNBddzsl1phHDiSi",
    "version":"3.0"
}'

Responses

🟠400失败
application/json
Body
object {0}
Example
{
    "operateCode": "F",
    "message": "fail",
    "data": {
        "message": "调用订购接口失败",
        "data": "QY-0010122021051219085311000"
    }
}
🟢200成功
Modified at 2022-10-04 23:23:51
Previous
关闭自动续费
Next
获取stripe单次支付权限
Built with