- Site
- Session
- User
- Callback
- Workflow
- File
- Share
- VAS
- Group
- WebDAV
List payments
GET
/user/payments
Auth: JWT RequiredPro
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
page_size
number
required
>= 10
Example:
50
order_direction
enum<string>
optional
Allowed values:
ascdesc
Default:
asc
Example:
asc
next_page_token
string
optional
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 '/user/payments?page_size=50&order_direction=asc&next_page_token='
Responses
🟢200Success
application/json
Body
data
object | null
optional
pagination
object
required
payments
array[object (Payment) {13}]
required
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": {
"pagination": {
"page": 0,
"page_size": 10,
"is_cursor": true
},
"payments": [
{
"id": "3YwCL",
"trade_no": "20250323225706001174243874",
"name": "Points",
"status": "created",
"qyt": 1000,
"price_unit": 1,
"price_id": "CNY",
"price_mark": "¥",
"price_one_unit": 100,
"created_at": "2025-03-23T22:57:07+08:00",
"updated_at": "2025-03-23T22:57:07+08:00",
"product_type": 4
},
{
"id": "op5Fn",
"trade_no": "20250311111124004538711012",
"name": "Points",
"status": "fulfilled",
"qyt": 100,
"price_unit": 1,
"price_id": "CNY",
"price_mark": "¥",
"price_one_unit": 100,
"created_at": "2025-03-11T11:11:25+08:00",
"updated_at": "2025-03-11T11:14:05+08:00",
"product_type": 4
},
{
"id": "12pHb",
"trade_no": "20241206103237001943356169",
"name": "Basic Storage",
"status": "created",
"qyt": 1,
"price_unit": 500,
"price_id": "CNY",
"price_mark": "¥",
"price_one_unit": 100,
"created_at": "2024-12-06T10:32:39+08:00",
"updated_at": "2024-12-06T10:32:39+08:00",
"product_type": 3
}
]
},
"msg": ""
}
Modified at 2025-06-13 05:28:11