# prov.authorize.chargebacks.respond

prov.authorize.chargebacks.respond in Python SDK. Merge and send the response staged on Stripe now (one submission only).

## Signature

```python
prov.authorize.chargebacks.respond(chargeback_id: str) -> Any
```

## Parameters

- `chargeback_id` (str)

## Returns

`Any`

## HTTP operation

[`POST /v1/authorize/chargebacks/{id}/respond`](https://provenanceauth.com/docs/api/chargebacks.md#post-v1-authorize-chargebacks-id-respond): Send a chargeback response now

## Errors

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

## Example

**Node**

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

**Python**

```python
import os
import httpx

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