v5
latestOpenAPI 3.1.02026-07-262421791.5 MBFund a batch group via direct debit
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 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. {% /admonition %}
Path parameters
The ID of the profile that the batch group is associated with.
The batch group ID.
Headers
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Request body
Example request
{
"type": "DIRECT_DEBIT",
"accountId": 1,
"reference": "B1234567"
}Response
Payment initiation created successfully. You need to save payment initiation ID for tracking its status later.
Example response
{
"id": 12345,
"batchGroupId": "068e186d-9632-4937-b753-af3e53f4d0b0",
"reference": "B1234567",
"userId": 33333333,
"profileId": 44444444,
"type": "DIRECT_DEBIT",
"status": "NEW",
"accountId": 1,
"createdTime": "2022-01-01T19:51:41.423404Z"
}