Get refund records count
GET/openapi/2025-06/orders/refund_records/count
Returns the total number of refund records matching the same filters accepted by the list endpoint. Useful for paging UIs and dashboards.
Request
Query Parameters
- pending: refund in progress.
- finished: refund completed.
- failed: refund failed. Example: ?refund_statuses=pending&refund_statuses=finished
Filter by order IDs. Up to 10 IDs are supported. Example: ?order_ids=1001&order_ids=1002
Filter by refund record IDs. Up to 20 IDs are supported. Example: ?refund_order_ids=2001&refund_order_ids=2002
Filter by refund status.
Filter records created at or after this time (e.g., 2018-11-02T12:30:10Z)
Filter records created at or before this time (e.g., 2018-11-02T12:30:10Z)
Filter records last updated at or after this time (e.g., 2018-11-02T12:30:10Z)
Filter records last updated at or before this time (e.g., 2018-11-02T12:30:10Z)
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
Total count of refund order records matching the filter conditions
{
"code": "string",
"message": "string",
"data": {
"count": 0
}
}