- Site
- Session
- User
- Callback
- Workflow
- File
- Share
- VAS
- Group
- WebDAV
Get payment status
GET
/vas/payment/{id}/{trade_no}
Auth: JWT OptionalPro
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
id
string
required
Example:
1XbTb
trade_no
string
required
Example:
20250612141601003370839825
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 '/vas/payment/1XbTb/20250612141601003370839825'
Responses
🟢200Success
application/json
Body
data
object
optional
code
integer
required
0
- Success.Default:
0
Example:
0
msg
string
optional
error
string | null
optional
correlation_id
string <uuid> | null
optional
Example:
b4351ecc-ee1a-4455-bc94-2c3dbcc58538
Example
{
"code": 0,
"data": {
"id": "1XbTb",
"trade_no": "20250612141601003370839825",
"name": "123",
"status": "created",
"qyt": 4,
"price_unit": 100,
"price_id": "CNY",
"price_mark": "¥",
"price_one_unit": 100,
"created_at": "2025-06-12T14:16:03+08:00",
"updated_at": "2025-06-12T14:16:03+08:00",
"product_type": 3
},
"msg": ""
}
Modified at 2025-06-12 06:20:37