# `Stripe.Services.TestHelpers.Issuing.AuthorizationService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/test_helpers/issuing/authorization_service.ex#L2)

Authorization API operations.

# `capture`

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

Capture a test-mode authorization

Capture a test-mode authorization.

# `create`

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

Create a test-mode authorization

Create a test-mode authorization.

# `expire`

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

Expire a test-mode authorization

Expire a test-mode Authorization.

# `finalize_amount`

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

Finalize a test-mode authorization's amount

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

# `increment`

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

Increment a test-mode authorization

Increment a test-mode Authorization.

# `respond`

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

Respond to fraud challenge

Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.

# `reverse`

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

Reverse a test-mode authorization

Reverse a test-mode Authorization.

---

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