SparkPay OpenAPI Docs
English
  • English
  • 简体中文
English
  • English
  • 简体中文
  1. API List
  • Product Introduction
  • Quick Guide
    • Integration Preparation
    • Interface Signature Description
  • Must-Read for Integration
    • Interface Rules
    • Asynchronous Notification
    • Interface Error Codes
    • Network and Currency
  • Integration Scenarios
    • Payment
    • Close Order
  • API List
    • Payment Order Creation
      POST
    • Payment Order Query
      GET
    • Payment Order Closure
      POST
    • Payment Order Creation(Pro Edition)
      POST
    • Payment Order Query(Pro Edition)
      GET
  • Frequently Asked Questions
    • Notification Related Issues
    • Redirect Failure Issues
    • Interface Error Issues
    • Test Token Acquisition/Test Network Connection
  • Integration Example
    • Interface Signature Example - PHP
    • Interface Signature Example - Postman
  • Version Notes
    • Version Notes
  1. API List

Payment Order Query

正式环境
https://api.sparkpay.top
正式环境
https://api.sparkpay.top
GET
https://api.sparkpay.top
/v4/pay/orders/{merchant_no}/{request_no}

Request

Path 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 --request GET 'https://api.sparkpay.top/v4/pay/orders//' \
--header 'User-Agent;' \
--header 'Sparkpay-App-Id;' \
--header 'Sparkpay-Signature;' \
--header 'Sparkpay-Timestamp;' \
--header 'Sparkpay-Nonce;'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "message": "string",
    "data": {
        "payment_order_no": "string",
        "order_time": 0,
        "pay_time": 0,
        "completed_time": 0,
        "closed_time": 0,
        "pay_status": "string",
        "real_pay_amount": "string",
        "total_amount": "string",
        "currency": "string",
        "merchant_customer_no": "string",
        "merchant_order_no": "string",
        "merchant_application_user_id": "string",
        "request_no": "string",
        "merchant_order_time": 0,
        "merchant_order_timeout": 0,
        "merchant_order_desc": "string",
        "goods_info": "string",
        "business_info": "string",
        "divide_detail": {
            "seller_amount": "string",
            "seller_addr": "string",
            "merchant_amount": "string",
            "other_details": [
                {
                    "receiver_addr": "string",
                    "amount": "string"
                }
            ]
        },
        "notify_url": "string",
        "redirect_url": "string",
        "extension": "string",
        "app_id": "string",
        "receive_network": "string",
        "pay_network_info": {
            "payer_addr": "string",
            "merchant_ca_addr": "string",
            "merchant_recv_account": "string",
            "tx_hash": "string",
            "pay_network": 0
        }
    }
}
Modified at 2025-07-04 10:29:32
Previous
Payment Order Creation
Next
Payment Order Closure
Built with