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

Body Params application/json

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 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/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

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