Auto-Renewal Task Page
Query auto-renewal task execution records with pagination, ordered by task ID descending. Only the current standalone site, the caller and the time range are used for filtering.
Interface Address:
text
/papi/wallet/auto-renew/task/pageRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10~32 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNo | integer | No | Page number, starting from 1. Defaults to 1 |
| pageSize | integer | No | Page size. Defaults to 10, max 1000 |
| beginTime | long | No | Query start time, Unix timestamp in milliseconds. Defaults to 30 days before endTime |
| endTime | long | No | Query end time, Unix timestamp in milliseconds. Defaults to current time |
Request Example:
json
{
"pageNo": 1,
"pageSize": 10,
"beginTime": 1793491200000,
"endTime": 1793577600000
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Return data |
| ├─ list | array[object] | Data list |
| ├─├─ taskNo | string | Auto-renewal task number |
| ├─├─ policyId | string | Associated policy ID |
| ├─├─ resourceType | integer | Resource type: 1 cloud phone, 4 proxy IP, 6 cloud disk |
| ├─├─ resourceUid | string | Resource identifier |
| ├─├─ cycleExpireTime | string | Resource expiry time of the renewed cycle |
| ├─├─ currency | string | Currency code |
| ├─├─ currencySymbol | string | Currency symbol, e.g. $ for USD |
| ├─├─ amount | string | Renewal amount, in cents |
| ├─├─ orderNo | string | Associated order number |
| ├─├─ status | string | Task status: PAID paid but fulfillment pending, SUCCESS completed; other statuses include CREATED, RETRY, CANCELLED, FAILED, MANUAL_REVIEW, PARTIAL_REFUNDED, FULL_REFUNDED |
| ├─├─ retryCount | integer | Task retry count |
| ├─├─ errorCode | string | Error code on failure |
| ├─├─ errorMessage | string | Error message on failure |
| ├─├─ completedTime | string | Task completion time |
| ├─ total | integer | Total count |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"list": [
{
"taskNo": "",
"policyId": "",
"resourceType": 1,
"resourceUid": "",
"cycleExpireTime": "",
"currency": "USD",
"currencySymbol": "$",
"amount": "1000",
"orderNo": "",
"status": "SUCCESS",
"retryCount": 0,
"errorCode": null,
"errorMessage": null,
"completedTime": ""
}
],
"total": 0
},
"msg": ""
}Notes:
- This API only uses
pageNo,pageSize,beginTimeandendTime; do not rely ontype,bizType,currencyand similar fields for filtering. - The time range must not be reversed or exceed 90 days.
