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

Card API operations.

# `deliver_card`

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

Deliver a testmode card

Updates the shipping status of the specified Issuing `Card` object to `delivered`.

# `fail_card`

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

Fail a testmode card

Updates the shipping status of the specified Issuing `Card` object to `failure`.

# `return_card`

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

Return a testmode card

Updates the shipping status of the specified Issuing `Card` object to `returned`.

# `ship_card`

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

Ship a testmode card

Updates the shipping status of the specified Issuing `Card` object to `shipped`.

# `submit_card`

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

Submit a testmode card

Updates the shipping status of the specified Issuing `Card` object to `submitted`. This method requires Stripe Version ‘2024-09-30.acacia’ or later.

---

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