Query
POST
https://pay.online.ai/order/query
Request
Body Params application/json
merNo
integer
required
merOrderNo
string
required
<= 32 characters
sign
string
required
operationType
string
required
version
string
required
tradeNo
string
optional
queryType
string
required
refundNo
string
optional
Example
{
"merNo": "111111",
"merOrderNo": "222222",
"version": "V3.0.0",
"sign": "9D6FDF4880B00B002B1F2AB61AE9A721",
"operationType": "query",
"queryType": "refund",
"tradeNo": "333333",
"refundNo": "444444"
}
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 'https://pay.online.ai/order/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"merNo": "111111",
"merOrderNo": "222222",
"version": "V3.0.0",
"sign": "9D6FDF4880B00B002B1F2AB61AE9A721",
"operationType": "query",
"queryType": "refund",
"tradeNo": "333333",
"refundNo": "444444"
}'
Responses
🟢200Success
application/json
Body
code
string
required
message
string
required
data
object
optional
state
enum<integer>
required
Allowed value:
4.Refund Processing
refundNo
string
required
merNo
string
required
merOrderNo
string
required
tradeNo
string
required
refundCurrency
string
required
Example
{
"code": "00000",
"message": "SUCCESS",
"data": {
"tradeNo": "333333",
"merOrderNo": "222222",
"merNo": 111111,
"state": "3"
}
}
Modified at 2023-04-28 03:32:02