- Product Introduction
- Quick Guide
- Must-Read for Integration
- Integration Scenarios
- API List
- Frequently Asked Questions
- Integration Example
- Version Notes
Payment Order Query(Pro Edition)
正式环境
正式环境
GET
https://api.sparkpay.top/v4/pro/pay/orders/{merchant_no}/{request_no}
openapi
Request
Path Params
merchant_no
string
required
request_no
string
required
Header Params
User-Agent
string
required
Sparkpay-App-Id
string
required
Sparkpay-Signature
string
required
Sparkpay-Timestamp
string
required
Sparkpay-Nonce
string
required
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 GET 'https://api.sparkpay.top/v4/pro/pay/orders//' \
--header 'User-Agent;' \
--header 'Sparkpay-App-Id;' \
--header 'Sparkpay-Signature;' \
--header 'Sparkpay-Timestamp;' \
--header 'Sparkpay-Nonce;'
Responses
🟢200成功
application/json
Body
code
number
required
message
string
required
data
object
required
payment_order_no
string
Payment platform system order number
order_time
number
Payment order creation time
pay_time
number
Payment time
completed_time
number
Order completion time
closed_time
number
Order closing time
pay_status
string
Order payment status
pricing_amount
string
Order amount
pricing_currency
string
Payment Currency Symbol
merchant_customer_no
string
Merchant Customer Number
merchant_order_no
string
Merchant original order number
merchant_application_user_id
string
Merchant application user ID
request_no
string
Merchant payment request number
merchant_order_time
number
Merchant platform order time
merchant_order_timeout
number
Merchant platform order payment timeout duration. Unit: Timestamp(s)
merchant_order_desc
string
Order description, which will be displayed on the checkout page when the user makes the payment.
goods_info
string
Product information
business_info
string
Industry-specific special attributes
divide_detail
object
Revenue-sharing information
notify_url
string
Asynchronous notification URL for payment results
redirect_url
string
required
extension
string
Used to expand request parameters
app_id
string
merchant app_id
available_payment_currency_networks
array [object {2}]
required
pay_network_info
object
Payment network information
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",
"pricing_amount": "string",
"pricing_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",
"available_payment_currency_networks": [
{
"currency": "string",
"networks": [
0
]
}
],
"pay_network_info": {
"payer_addr": "string",
"merchant_ca_addr": "string",
"merchant_recv_account": "string",
"tx_hash": "string",
"pay_network": 0,
"payment_divide_detail": {
"seller_amount": "string",
"seller_addr": "string",
"merchant_amount": "string",
"other_details": [
{
"receiver_addr": "string",
"amount": "string"
}
]
}
}
}
}
Modified at 2025-04-14 05:39:27