---
title: "Fund a batch group via direct debit"
method: POST
path: "/v1/profiles/{profileId}/batch-groups/{batchGroupId}/payment-initiations"
tags: ["batch-group"]
---

# Fund a batch group via direct debit

`POST /v1/profiles/{profileId}/batch-groups/{batchGroupId}/payment-initiations`

Funds all transfers in a batch group via direct debit. The batch group must be in the `COMPLETED` state.

To use this funding method, you need to link an external bank account first. See [direct debit account creation](/api-reference/direct-debit-account/directdebitaccountcreate) for more information.

{% admonition type="warning" %}
This endpoint is SCA protected when it applies. If your profile is registered within the UK and/or EEA, SCA most likely applies to you. For more information, please read [implementing SCA](/guides/developer/auth-and-security/sca-and-2fa).
{% /admonition %}

## Path parameters

- `profileId` integer, required
- `batchGroupId` string, uuid, required

## Headers

- `X-External-Correlation-Id` string, uuid

## Request body

- object
  - `type` 'DIRECT_DEBIT', required — The method of payment to use.
  - `accountId` integer, required — Direct debit account ID. See [direct debit account creation](/api-reference/direct-debit-account/directdebitaccountcreate).
  - `reference` string — Optional payment initiation reference. Maximum 10 characters. If not provided, a reference will be generated automatically.

## Response `200`

Payment initiation created successfully. You need to save payment initiation ID for tracking its status later.

- PaymentInitiation — Payment initiation for funding a batch group via direct debit.
  - `id` integer — Payment initiation ID.
  - `batchGroupId` string, uuid — Batch group ID.
  - `reference` string — Payment reference that will be passed to the network. Can be used for reconciliation.
  - `userId` integer — The ID of the user who initiated this payment.
  - `profileId` integer — The ID of the profile this payment belongs to.
  - `type` 'DIRECT_DEBIT' — Payment type.
  - `status` 'NEW' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CHARGED_BACK' — Payment initiation status: - `NEW` — Payment initiation created - `PROCESSING` — Payment is being processed - `COMPLETED` — Payment completed successfully - `FAILED` — Payment failed - `CHARGED_BACK` — Payment was charged back
  - `accountId` integer — External account ID associated with the payment.
  - `transferId` integer, nullable — Transfer ID of the direct debit payment. Present only after the direct debit is initiated.
  - `createdTime` string, date-time — Date and time when the payment initiation was created.

## Other responses

- `429` — Rate limit exceeded. Retry after the number of seconds specified in the `Retry-After` header.

---

[API](https://skmtc.net/wise/apis/platform-api.md) · [All operations](https://skmtc.net/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wise/platform-api/revisions/4907a1d269ab/schema)
