**Version: 202201**

# Refund List Count

**GET** `/openapi/2022-01/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**

- `order_ids` string

  Order ids, comma-separated, a maximum of 10 ids are supported,for example, '183211-00000005,183211-00000006'.
- `refund_record_ids` string

  Refund record id, comma-separated, A maximum of 20 ids are supported, for example: '396114279473883074,400561078532063170'.
- `refund_status` string

  Refund record status, comma-separated, status support: `pending`, `finished`, `failed`
- `created_at_start` string

  Filter records created at or after date, for example: `2016-01-18T23:41:00Z`
- `created_at_end` string

  Filter records created at or before date, for example: `2016-01-18T23:41:00Z`
- `updated_at_start` string

  Filter records last updated at or after date, for example: `2016-01-18T23:41:00Z`
- `updated_at_end` string

  Filter records last updated at or before date, for example: `2016-01-18T23:41:00Z`

## Responses

**200 | 422**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `count` integer

  **Default value:** `0`

  **Example:** `15`

```json
{
  "count": 15
}
```

```json
{
    "count": 15
}
```

422

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "created_at_min time format error"
  ]
}
```

```json
{
  "errors": [
    "created_at_min time format error",
    "created_at_max time format error",
    "UpdatedAtMin time format error",
    "updated_at_end time format error"

  ]
}
```
