# prov.authorize.chargebacks.list

prov.authorize.chargebacks.list in Node SDK. Newest first.

## Signature

```ts
prov.authorize.chargebacks.list(params?: ListChargebacksParams): Promise<ListResponse<Chargeback>>
```

## Parameters

- `params` (ListChargebacksParams, optional)

## Returns

`Promise<ListResponse<Chargeback>>`

## HTTP operation

[`GET /v1/authorize/chargebacks`](https://provenanceauth.com/docs/api/chargebacks.md#get-v1-authorize-chargebacks): List chargebacks

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/chargebacks?state=staged`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/chargebacks?state=staged", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```
