Create a Batch Direct Debit Collection
Create a batch of multiple direct debit collections. "Direct Debit Payment" in the API path refers to a direct debit collection transaction where funds are collected from the debtor account.
When you create a batch direct debit payment in test mode, it will automatically succeed after a short while with the status COMPLETED. Every direct debit payment within the batch will subsequently succeed with the status SUCCEEDED.
You can simulate various failure scenarios in test mode by setting the customerReference field of a direct debit payment within the batch to the following values:
FAIL: The affected direct debit payment will fail with the statusFAILED. This does not affect the batch direct debit payment and other direct debit payments within it.FAIL-BATCH: The batch direct debit payment will fail with the statusFAILED, and every direct debit payment within it will fail with the statusFAILED.
Test mode
With a test API key, some values make this endpoint succeed, fail or wait. See the test mode values for this endpoint.
authorizationAuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
A unique value, eg. a UUID.
application/jsonThree-letter ISO 4217 currency code in full uppercase.
1 <= lengthThe date the collections should be executed.
dateA list of direct debits to perform as part of this batch. The payments array must be homogeneous: do not mix directDebitAuthorizationId and directDebitAuthorizationInformation in the same request. Use directDebitAuthorizationId if the Direct Debit Authorization (DDA) was created via Acme's Direct Debit Authorization API, and directDebitAuthorizationInformation if you are using an existing DDA not created with Acme (e.g., registered through paper-based Giro or a bank portal).
Type of the collections: GIRO or FAST.
1 <= lengthOK
*/*Time at which the object was created. In ISO 8601 format.
Currency of the direct debits within this batch. Three-letter ISO 4217 currency code in full uppercase.
Unique identifier for the object.
File metadata, for file-based submissions.
The date the direct debits should take place.
The collections in this batch. Present in the create response, not when listing.
Status of this Batch Direct Debit Payment:
PROCESSING: This batch is being processed and has not yet been submitted to the bank. All direct debit payments within the batch will have a status ofPROCESSING.SUBMITTED: This batch has been submitted to the bank. All direct debit payments within it will be updated to a status ofSUBMITTED.COMPLETED: The bank has accepted this batch for further processing. This status doesn't affect the direct debit payments within the batch. Use the Get a Direct Debit Collection endpoint, or subscribe todirect-debit-payments.succeededanddirect-debit-payments.failedwebhooks to check the status of each direct debit payment.FAILED: The bank has rejected this batch, and all direct debit payments within it will be updated to a status ofFAILED.
Type of the direct debits within this batch: GIRO or FAST.
Time at which the object was last updated. In ISO 8601 format.
curl -X POST 'https://api.tryacme.com/v1/direct-debit-payment-batches' \
-H 'Content-Type: application/json' \
-d '{
"currency": "string",
"paymentDate": "2019-08-24",
"type": "string"
}'A GIRO batch where every collection references a Direct Debit Authorization created through Acme (directDebitAuthorizationId). Everything starts in PROCESSING while Acme builds the bank file.
{
"id": "bddp_0J7Q8A2M8V5X1",
"type": "GIRO",
"paymentDate": "2026-09-10",
"currency": "SGD",
"payments": [
{
"id": "dpymt_0J7Q8C7T3W9R2",
"amount": 4200,
"currency": "SGD",
"customerReference": "SUB-2026-09-001",
"receiver": {
"bankAccountNumber": "0052312891"
},
"status": "PROCESSING",
"createdAt": "2026-09-09T05:02:03.417284Z",
"updatedAt": "2026-09-09T05:02:03.417284Z",
"directDebitAuthorizationId": "dda_0J7Q6A3M8V5X1"
},
{
"id": "dpymt_0J7Q8F1K6D8N5",
"amount": 9900,
"currency": "SGD",
"customerReference": "SUB-2026-09-002",
"receiver": {
"bankAccountNumber": "0052312891"
},
"status": "PROCESSING",
"createdAt": "2026-09-09T05:02:03.463910Z",
"updatedAt": "2026-09-09T05:02:03.463910Z",
"directDebitAuthorizationId": "dda_0J7Q6B4N9W6Y2"
}
],
"status": "PROCESSING",
"createdAt": "2026-09-09T05:02:03.401556Z",
"updatedAt": "2026-09-09T05:02:03.512090Z"
}