# `Stripe.Services.Treasury.DebitReversalService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/treasury/debit_reversal_service.ex#L2)

TreasuryReceivedDebitsResourceDebitReversal

You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.

# `create`

```elixir
@spec create(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Create a DebitReversal

Reverses a ReceivedDebit and creates a DebitReversal object.

# `list`

```elixir
@spec list(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

List all DebitReversals

Returns a list of DebitReversals.

# `retrieve`

```elixir
@spec retrieve(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Retrieve a DebitReversal

Retrieves a DebitReversal object.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
