Linksfield Developer
OverviewCube APIsTopup APIs
Old version
OverviewCube APIsTopup APIs
Old version
  1. Order
  • Mall Global Specification
  • Mall Business Flow
  • Mall API Signature Code Examples
  • APP Integration with Stripe SDK — Example Notes
  • Vshop
    • Card Login Verification
      POST
    • Get Available Data Plan Product List
      POST
    • Create User Order
      POST
    • Query Active and Pending Orders
      POST
    • Get Active Auto-Renewal
      POST
    • Cancel Auto-Renewal
      POST
    • Create User Order (Third-Party Payment)
      POST
  • Payment
    • Get Stripe Single Payment Authorization
      POST
    • Get Stripe Subscription Payment Authorization
      POST
    • Create Stripe Subscription / Auto-Renewal
      POST
    • Query Payment Result
      POST
    • Confirm Payment Result
      POST
  • Notification
    • Recharge Success Message Push
      POST
  • Bundle-groups
    • Add SIM Cards to a Specified Group
      POST
    • Remove SIM Cards from a Specified Group
      DELETE
    • Query SIM Card Numbers in a Specified Group
      GET
    • Query All Groups and Basic Data Plan Information
      GET
    • Retrieve Asynchronous Operation Result
      GET
  • Order
    • Query Order Details
      GET
  1. Order

Query Order Details

Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
GET
/mall/order

Applicable Scenarios#

Used by B-side customers to actively query BBC order details after completing a C-side user recharge.
Supports querying order details by client-side order ID, transaction order ID, or ICCID.

Prerequisites#

1.
The request method must be GET.
2.
The request path is /mall/order.

Notes#

1.
If multiple query parameters are provided simultaneously, the system will use only the first non-empty valid value according to the following priority order:
purchase_order_id (client-side order ID) > order_id (transaction order ID) > sim_id (ICCID)
2.
When querying by sim_id (ICCID):
If the ICCID is associated with multiple orders, results are returned in descending order by order creation time.
Only orders created within the past year (365 days) are returned.

Business Rules#

1.
The caller must use a partnerCode belonging to their own enterprise, and may only query BBC orders under that enterprise.
2.
The caller must provide at least one valid query condition — any one of the following:
sim_id (ICCID)
order_id (transaction order ID)
purchase_order_id (client-side order ID)
3.
If querying by purchase_order_id and duplicate order numbers exist, only the most recent successfully paid order is returned.
4.
This is a synchronous interface — the query result is returned immediately upon request.

Request

Query Params

Header Params

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 'http://127.0.0.1/mall/order?sim_id=&order_id=&purchase_order_id=&version=&partnerCode=&sign=' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json'

Responses

🟢200
application/json
Bodyapplication/json

Example
{
    "data": {
        "sim_id": "89852202209089971478",
        "orders": [
            {
                "order_id": "CU-7ZOIHX0RB16U20250828111429591",
                "purchase_order_id": "4567",
                "bundle_name": "CLJF_ZRR_20250317_001",
                "cycles": "1",
                "total_amount": 1000,
                "payment_method": "stripe",
                "payee": "linksfield",
                "currency": "USD",
                "partner_name": "Excepteur deserunt eu labore",
                "paid_at": 1683178613876,
                "order_status": "active",
                "payment_status": "paid",
                "dispute_status": "none",
                "risk_status": "normal",
                "transaction_type": "one-time",
                "activated_at": 1683178613876
            }
        ]
    },
    "operateCode": "S",
    "message": "'order_id' and 'ICCID' was ignored because 'purchase_order_id' was provided."
}
Modified at 2026-06-25 04:02:45
Previous
Retrieve Asynchronous Operation Result
Built with