Skip to Content
CollectionsDirect DebitBatch Collections

Get a Batch Direct Debit Collection

Retrieve a single batch direct debit collection.

GET
/v1/direct-debit-payment-batches/{id}

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Path Parameters

id*string

Response Body

OK

*/*
createdAt?string

Time at which the object was created. In ISO 8601 format.

currency?string

Currency of the direct debits within this batch. Three-letter ISO 4217 currency code in full uppercase.

id?string

Unique identifier for the object.

metadata?DirectDebitPaymentBatchMetadata

File metadata, for file-based submissions.

paymentDate?string

The date the direct debits should take place.

payments?array<DirectDebitPaymentBatchInlinedPayment>

The collections in this batch. Present in the create response, not when listing.

status?string

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 of PROCESSING.
  • SUBMITTED: This batch has been submitted to the bank. All direct debit payments within it will be updated to a status of SUBMITTED.
  • 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 to direct-debit-payments.succeeded and direct-debit-payments.failed webhooks 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 of FAILED.
type?string

Type of the direct debits within this batch: GIRO or FAST.

updatedAt?string

Time at which the object was last updated. In ISO 8601 format.

Example Request
curl -X GET 'https://api.tryacme.com/v1/direct-debit-payment-batches/string'
Example Response

The file has been sent to the bank and metadata.fileName names it. payments is not included when fetching a batch.

{
  "id": "bddp_0J7Q8A2M8V5X1",
  "type": "GIRO",
  "paymentDate": "2026-09-10",
  "currency": "SGD",
  "status": "SUBMITTED",
  "createdAt": "2026-09-09T05:02:03.401556Z",
  "updatedAt": "2026-09-09T05:05:47.220318Z",
  "metadata": {
    "fileName": "GP8120207003.xml"
  }
}