# `Wise.Services.Batches`
[🔗](https://github.com/iamkanishka/wise/blob/v1.0.0/lib/wise/services/batches.ex#L1)

Wise Batch Group API — batch payments up to 1,000 transfers.

# `add_transfer`

```elixir
@spec add_transfer(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.batch_group_id(),
  map()
) ::
  {:ok, map()} | {:error, Wise.Error.t()}
```

# `cancel`

```elixir
@spec cancel(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.batch_group_id(),
  pos_integer()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `complete`

```elixir
@spec complete(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.batch_group_id(),
  pos_integer()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `create`

```elixir
@spec create(Wise.Config.t(), Wise.Types.profile_id(), map()) ::
  {:ok, map()} | {:error, Wise.Error.t()}
```

# `fund`

```elixir
@spec fund(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.batch_group_id()) ::
  {:ok, :ok} | {:error, Wise.Error.t()}
```

# `fund_via_direct_debit`

```elixir
@spec fund_via_direct_debit(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.batch_group_id(),
  String.t()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `get`

```elixir
@spec get(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.batch_group_id()) ::
  {:ok, map()} | {:error, Wise.Error.t()}
```

# `get_payment_initiation`

```elixir
@spec get_payment_initiation(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.batch_group_id(),
  String.t()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `send_settlement_journal`

```elixir
@spec send_settlement_journal(Wise.Config.t(), map()) ::
  {:ok, :ok} | {:error, Wise.Error.t()}
```

---

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