# `Stripe.Services.Billing.CreditGrantService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/billing/credit_grant_service.ex#L2)

CreditGrant

A credit grant is an API resource that documents the allocation of some billing credits to a customer.

Related guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits)

# `create`

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

Create a credit grant

Creates a credit grant.

# `expire`

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

Expire a credit grant

Expires a credit grant.

# `list`

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

List credit grants

Retrieve a list of credit grants.

# `retrieve`

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

Retrieve a credit grant

Retrieves a credit grant.

# `update`

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

Update a credit grant

Updates a credit grant.

# `void_grant`

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

Void a credit grant

Voids a credit grant.

---

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