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

TreasuryReceivedCreditsResourceCreditReversal

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

# `create`

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

Create a CreditReversal

Reverses a ReceivedCredit and creates a CreditReversal object.

# `list`

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

List all CreditReversals

Returns a list of CreditReversals.

# `retrieve`

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

Retrieve a CreditReversal

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

---

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